joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x413132
lea esp, [esp]
test cl, 3
je 0x413132
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x447e98]
add ecx, 1
sub esi, 1
jne 0x413110
cmp esi, 0x20
push ebx
push edi
jb 0x41331c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x448298]
xor edx, dword [ebx*4 + 0x448698]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x447e98]
add ecx, 4
xor edx, dword [eax*4 + 0x448a98]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x448298]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x448698]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x447e98]
add ecx, 4
xor eax, dword [edx*4 + 0x448a98]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x448298]
xor edx, dword [ebx*4 + 0x448698]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x447e98]
xor edx, dword [eax*4 + 0x448a98]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x448298]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x448698]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x447e98]
xor eax, dword [edx*4 + 0x448a98]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x448298]
xor edx, dword [ebx*4 + 0x448698]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x447e98]
xor edx, dword [eax*4 + 0x448a98]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x448298]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x448698]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x447e98]
and edx, 0xff
xor eax, dword [edx*4 + 0x448a98]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x448298]
xor edx, dword [ebx*4 + 0x448698]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x447e98]
add ecx, 4
xor edx, dword [eax*4 + 0x448a98]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x448298]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x448698]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x447e98]
and edx, 0xff
xor eax, dword [edx*4 + 0x448a98]
sub edi, 1
jne 0x413142
cmp esi, 4
jb 0x413369
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x448298]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x448698]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x447e98]
and eax, 0xff
xor edi, dword [eax*4 + 0x448a98]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x413326
test esi, esi
pop edi
pop ebx
je 0x41338d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x447e98]
add ecx, 1
sub esi, 1
jne 0x413370
not eax
pop esi
ret
Function at 0x413dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x413e50
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.0042d970
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x413e1f
sub eax, ebp
jmp 0x413e21
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x413e10
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x413e40
sub eax, ebp
jmp 0x413e42
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x413e31
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x413f82
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, ecx
mov dword [esp + 0x10], edx
jbe 0x413e78
mov ebx, ecx
test ebx, ebx
je 0x413ecc
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x413e9a
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00417d00
jmp 0x413eb3
cmp eax, 2
jne 0x413eba
mov ecx, dword [edi]
test ecx, ecx
mov eax, dword [edi + 0x30]
jne 0x413eac
xor eax, eax
jmp 0x413eb7
mov edx, ebx
call fcn.00413100
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.0042d970
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x413ef6
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x413f0a
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x413dd0
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x413f82
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x413f51
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x413f31
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00428ee0
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x413f82
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x413f6b
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.00428ee0
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4193dd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x451c14]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41941a
push 0x440940
push 4
push eax
call fcn.0042771d
push eax
call fcn.00401de0
add esp, 0x10
jmp 0x41942c
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419497
push edi
call fcn.00428e96
mov edi, dword [eax]
call fcn.00428e96
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004276fe
add esp, 0x18
mov ebx, eax
call fcn.00428e96
cmp dword [eax], 0
je 0x419477
call fcn.00428e96
push dword [eax]
call fcn.0041934d
pop ecx
jmp 0x41947e
call fcn.00428e96
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x419497
cmp ebx, esi
jae 0x419497
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x419499
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042683e
leave
ret
Function at 0x41bfcf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x43db80
call fcn.00428ab0
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00422cf9
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41c01a
call fcn.00422cf9
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41c02b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41c038
or eax, 0xffffffff
jmp 0x41c194
mov ecx, esi
call fcn.0041baff
mov dword [ebp - 0x14], eax
call fcn.0041eea6
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41c0b6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41c0b6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41c0b6
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00418a19
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41c0b6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41c0b6
mov ecx, ebx
call fcn.00422370
test eax, eax
je 0x41c0b6
push 0
mov ecx, ebx
call fcn.0042238b
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004207f5
push dword [ebp - 0x14]
call fcn.0041edfe
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041bdd7
xor edi, edi
cmp eax, edi
je 0x41c113
test byte [esi + 0x3c], 0x10
je 0x41c0fd
push 4
pop edi
mov ecx, esi
call fcn.0042226b
test ax, 0x100
je 0x41c0f3
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041e994
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41c113
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004223f2
or dword [ebp - 4], 0xffffffff
jmp 0x41c13e
cmp dword [ebp - 0x28], edi
je 0x41c14c
push 1
mov ecx, ebx
call fcn.0042238b
cmp dword [ebp - 0x2c], edi
je 0x41c15c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41c175
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41c175
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041bb39
cmp dword [esi + 0x58], edi
je 0x41c191
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00428b1c
ret
Function at 0x42190f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x421952
call fcn.00422cf9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421952
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42196d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004214c9
test ebx, ebx
mov esi, eax
je 0x42196b
test edi, edi
je 0x42196b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42383b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x423869
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x423887
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004237a5
jmp 0x423887
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423887
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004237a5
test edi, edi
mov eax, edi
jne 0x423871
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x45ef78]
test ecx, ecx
je 0x42394a
jmp 0x42383a
ret 8

Function at 0x42683e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451c14]
jne 0x426848
repz ret
jmp fcn.0042cb8b
Function at 0x427ef5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x427f32
cmp dword [ebp + 0x14], edi
je 0x427f32
cmp ecx, edi
jne 0x427f39
call fcn.00428e96
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00426f8f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x427f4d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x427f6e
cmp ebx, 0xffffffff
je 0x427f5d
push ebx
push edi
push ecx
call fcn.00428ee0
add esp, 0xc
cmp esi, edi
je 0x427f1a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x427f1a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x427f8a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x427f91
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x428082
test word [esi + 0xc], 0x10c
je 0x427fe5
mov eax, dword [esi + 4]
test eax, eax
je 0x427fe5
jl 0x4280e3
cmp ebx, eax
mov edi, ebx
jb 0x427fb6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x42808a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004268d0
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x42807a
cmp ebx, dword [ebp - 0xc]
jb 0x428052
cmp dword [ebp - 0xc], 0
je 0x42800f
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x428004
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x42800b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x42801a
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x42801a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4280b6
push eax
push dword [ebp - 8]
push esi
call fcn.00431092
pop ecx
push eax
call fcn.00430df9
add esp, 0xc
test eax, eax
je 0x4280f5
cmp eax, 0xffffffff
je 0x4280e3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x42807a
push esi
call fcn.0043190b
cmp eax, 0xffffffff
pop ecx
je 0x4280e7
cmp dword [ebp - 4], 0
je 0x4280b6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x427f99
mov eax, dword [ebp + 0x14]
jmp 0x427f34
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4280a1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00428ee0
add esp, 0xc
call fcn.00428e96
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x427f2a
cmp dword [ebp + 0xc], 0xffffffff
je 0x4280cc
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00428ee0
add esp, 0xc
call fcn.00428e96
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x427f2a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x427f34
or dword [esi + 0xc], 0x10
jmp 0x4280e7
Function at 0x42b9af
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x451da0]
je 0x42b9ca
inc edi
cmp edi, 0x17
jb 0x42b9bb
cmp edi, 0x17
jae 0x42bb4a
push ebp
push 3
call fcn.00435f97
cmp eax, 1
pop ecx
je 0x42bb16
push 3
call fcn.00435f97
test eax, eax
pop ecx
jne 0x42b9fe
cmp dword [0x451bf0], 1
je 0x42bb16
cmp ebx, 0xfc
je 0x42bb49
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45f038
push ebp
call fcn.0042f648
add esp, 0xc
test eax, eax
je 0x42ba34
push esi
push esi
push esi
push esi
push esi
call fcn.00426e93
add esp, 0x14
push 0x104
mov esi, 0x45f051
push esi
push 0
mov byte [0x45f155], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42ba78
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042f648
add esp, 0xc
test eax, eax
je 0x42ba78
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00426e93
add esp, 0x14
push esi
call fcn.0042f6b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42babd
push esi
call fcn.0042f6b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45f34c
push 0x442d3c
sub ecx, eax
push ecx
push eax
call fcn.00435ee4
add esp, 0x14
test eax, eax
je 0x42babd
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00426e93
add esp, 0x14
jmp 0x42babf
xor esi, esi
push 0x442d38
push ebx
push ebp
call fcn.00435e73
add esp, 0xc
test eax, eax
je 0x42badf
push esi
push esi
push esi
push esi
push esi
call fcn.00426e93
add esp, 0x14
push dword [edi*8 + 0x451da4]
push ebx
push ebp
call fcn.00435e73
add esp, 0xc
test eax, eax
je 0x42bb01
push esi
push esi
push esi
push esi
push esi
call fcn.00426e93
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00435cb6
add esp, 0xc
jmp 0x42bb49
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42bb49
cmp ebp, 0xffffffff
je 0x42bb49
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x451da4]
push dword [esi]
call fcn.0042f6b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x435cb6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042c560
xor ebx, ebx
cmp dword [0x45fb30], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x435d8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x435e6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x435e6c
push eax
call fcn.0042c4f2
mov dword [esp], 0x442fb0
push edi
mov dword [0x45fb30], eax
call esi
push eax
call fcn.0042c4f2
mov dword [esp], 0x442f9c
push edi
mov dword [0x45fb34], eax
call esi
push eax
call fcn.0042c4f2
mov dword [0x45fb38], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00428be8
test eax, eax
pop ecx
pop ecx
je 0x435d5a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00426e93
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x435d8c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042c4f2
cmp eax, ebx
pop ecx
mov dword [0x45fb40], eax
je 0x435d8c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042c4f2
pop ecx
mov dword [0x45fb3c], eax
mov eax, dword [0x45fb3c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x435e11
cmp dword [0x45fb40], ecx
je 0x435e11
push eax
call fcn.0042c569
push dword [0x45fb40]
mov esi, eax
call fcn.0042c569
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x435e11
cmp edi, ebx
je 0x435e11
call esi
cmp eax, ebx
je 0x435dde
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x435dde
test byte [ebp - 0x18], 1
jne 0x435e11
lea eax, [ebp - 0x10]
push eax
call fcn.00428c1f
test eax, eax
pop ecx
je 0x435df9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00426e93
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x435e08
or dword [ebp + 0x10], 0x200000
jmp 0x435e4c
or dword [ebp + 0x10], 0x40000
jmp 0x435e4c
mov eax, dword [0x45fb34]
cmp eax, dword [ebp - 8]
je 0x435e4c
push eax
call fcn.0042c569
cmp eax, ebx
pop ecx
je 0x435e4c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x435e4c
mov eax, dword [0x45fb38]
cmp eax, dword [ebp - 8]
je 0x435e4c
push eax
call fcn.0042c569
cmp eax, ebx
pop ecx
je 0x435e4c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45fb30]
call fcn.0042c569
cmp eax, ebx
pop ecx
je 0x435e6c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x435e6e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d65c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x451c14]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043d5f1
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00428ee0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43d6ab
cmp dword [ebp - 0x1c], 5
jb 0x43d6c3
jmp 0x43d6bf
cmp dword [ebp - 0x10], 1
jne 0x43d6c3
cmp dword [ebp - 0x1c], 4
ja 0x43d6bf
jne 0x43d6c3
cmp dword [ebp - 0x18], 0
jbe 0x43d6c3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4441a4
call fcn.0043d4c5
test eax, eax
jge 0x43d6e4
mov byte [0x46374c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042683e
add ebp, 0x78
leave
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e01c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x43e028
push 0x43e024
push 0x43e020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x43e028]
push dword [0x43e024]
push dword [0x43e020]
mov dword [0x43e014], esp
call fcn.004176d4
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov dword [0x4213e8], 0
push str.IJL15.DLL
call sub.KERNEL32.dll_GetFileAttributesA
mov edi, eax
cmp edi, 0xffffffff
je 0x4013a2
push str.libfreetype_6.dll
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4013a2
push str.eaconvert.dll
call sub.KERNEL32.dll_LoadLibraryA
mov dword [0x4213e8], eax
cmp eax, 0
je 0x4013a2
call fcn.0040129c
cmp eax, 0
jne 0x4013a2
call fcn.004013bd
cmp dword [0x4213e8], 0
je 0x4013b2
mov ebx, 1
jmp 0x4013b7
mov ebx, 0
mov eax, ebx
pop edi
pop ebx
leave
ret