joyce8/EMBER2024-capa huggingface dataset:
Function at 0x613058
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
or al, 0xf1
wait
pop ds
loopne 0x6130b4
and dword [edx], 0xd8d1681
in eax, 0x16
mov al, 0x74
sub al, 0x97
iretd
mov eax, 0x9b07aabc
shl dword [edi + edx*8], 1
push ebx
add dword [eax], ebx
call 0x416573ca
push esi
and al, 0xa0
and byte [ecx + 0x6d434906], bl
push 0xa9c065ae
in al, dx
lds edi, [ebx - 0x2517d2e]
rol dword [0xfc8bfa71], 0xe7
sub eax, dword [ecx + 0x3b]
out dx, al
fldenv [esi + 0x7796a2ac]
jne 0x61314d
pop edi
mov byte [0x97952711], al
or dword [eax - 0x46], 0xffffff84
cmc
test ch, dh
inc ecx
fld dword [ebp - 0x7d422854]
salc
pop esi
adc dword [esi + 0x46], edx
daa
xor byte [esi], ch
xor eax, edi
mov edi, 0xe0c96717
adc ah, byte [ecx - 0x22a87e44]
dec edx
inc ecx
mov dh, pe_nt_image_headers32
mul cl
mov ebx, 0xf0e4529
pushfd
outsb dx, byte [esi]
pop ss
stc
salc
das
inc edi
daa
jae 0x6130f6
cmp eax, 0x77c1654f
popal
stosb byte es:[edi], al
xchg ecx, eax
lodsb al, byte [esi]
dec edi
xchg edi, eax
pushfd
mov edi, fs
ret 0x1f53
loope 0x613193
not byte es:[ecx - 0x4a754db2]
int3
xchg ecx, eax
add al, 0x58
cmc
lodsd eax, dword [esi]
or eax, 0xc8315a65
fistp dword [eax + 0x143578e2]
sub eax, 0x600ea8db
je 0x6131fc
jg 0x613213
sar byte [ebx - 0xc], 1
lds eax, [ecx - 0x193ea6c5]
stc
lcall 0x91d4, 0xd97dddac
push es
adc bh, 0x65
xor al, 0xb7
les esi, [edx]
adc edx, dword [esi - 0x6f21a25b]
xlatb
xlatb
mov esp, 0x50f8c652
daa
add dword [edi], esp
mov ss, word [ebp - 0x68]
shr ch, 0x48
mov cx, 0xa7d2
fldcw word [ecx + 0x1b8047f5]
cmp al, 0x33
mov bh, 0x23
xlatb
inc ebp
test eax, 0x326e595d
xor byte [edx - 0xce2e013], 0xee
xor dword [eax - 0x7b], 0x78
or bl, byte [esi - 0x3a]
invalid
popfd
mov ebp, 0x8cfa674e
sal ecx, 1
movsd dword es:[edi], dword [esi]
not byte [esi + 0x77]
cli
sbb dword ds:[ecx + 1], 0x2f1020b6
jns 0x61327a
push edi
dec ebx
or al, 0xf4
sub al, 0xac
mul dword [ecx - 0x737a4eae]
retf
mov esi, 0xd6c3cdd7
mov cl, 0x4d
sar dword [edi], 0x81
push es
xor al, bl
aaa
inc edi
sal dword [edi], 1
inc edx
dec edx
add edx, dword [esi - 0x1d]
xchg edi, eax
xchg ebx, eax
call 0x38a2a90f
mov al, 0xf6
invalid

Function at 0x641d2f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
inc ecx
inc esi
in eax, 0xfa
mov bh, 0x8f
out dx, al
xchg ebp, eax
xor eax, 0xe2f8ef66
xchg ecx, eax
mov al, 2
add eax, 0x65a09661
sbb eax, 0x2f38429c
cmp byte [ecx + 0x65], dh
invalid
and byte [edx], 0xff
lea ecx, [edi + 0x23]
push cs
push ds
cdq
mov al, byte [0x24338338]
mov esp, dword [edx]
and dh, byte [esi + 0x46f9de56]
and dword [esi], eax
movsd dword es:[edi], dword [esi]
dec ecx
xchg ecx, eax
enter 0xffffffffffffa62a, 0xffffffffffffffc1
sub byte [esi - 0x6931287a], dl
pminsw mm4, mm7
jne 0x641cb3
xor ebp, dword [ebx + 2]
jbe 0x641cfd
in eax, dx
invalid
ja 0x641cf7
scasb al, byte es:[edi]
adc ah, 0xec
pop edx
cmp dl, byte [edx - 0x54]
wait
test cl, 0x9a
int3
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x408937
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub eax, ebx
call fcn.00408959
xor dword [esi], edx
sub eax, 0x555571ff
inc esi
sub ebx, 1
and eax, eax
cmp esi, edi
jne fcn.00408937
ret
Function at 0x402400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
in eax, dx
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00402093
push eax
push esi
push dword [ebp + 8]
call fcn.00402048
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00402093
push eax
push esi
push dword [ebp + 8]
call fcn.00402048
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f

Function at 0x4024e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x1c], 0x2b
call fcn.00402093
push eax
push esi
push dword [ebp + 8]
call fcn.00402048
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00402083
enter 0x3f89, 0x58
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
invalid
inc ebp

Function at 0x402590
Capabilities:
Inspect section memory permissions

Disassembly:
add bh, bh
jne 0x4025a0
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40287c
test bh, dl
add al, byte [eax]
add bh, bh
mov ch, 0x4c
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00401ff4
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4025f3
Function at 0x4025d0
Capabilities:
Inspect section memory permissions

Disassembly:
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
ror dword [ebx + 0x408b1448], 0xc
ror dword [ebx + 0x408b1448], 0xc
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00401ff4
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x4025c0
call fcn.00402083
fcomp dword [eax - 0x2e]
cmp al, 0x8b
jle 0x40263b
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x402872
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x402628
cmp dword [eax + 0xc], ebx
je 0x4026cb
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00402083
insb byte es:[edi], dx
ljmp 0x750c
jmp [edx + ebp*8 - 5]
call fcn.00402083
cmp al, 0xc5
bnd call 0xe0ae63
add byte [eax], al
cmp eax, ebx
je 0x402737
add eax, esi

Function at 0x4028b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00402093
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402048
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
inc dword [eax]
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00402093
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402048
invalid
invalid
Function at 0x402980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00402093
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402048
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
inc dword [eax]
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00402093
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402048
invalid
invalid
Function at 0x40aaf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREWebToGo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ab59
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Trace
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x40ab59
cmp dword [esp + 8], 0
je 0x40ab59
mov eax, 1
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x410138
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x45b680]
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 0x410175
push 0x449ba8
push 4
push eax
call fcn.004300fb
push eax
call fcn.00402200
add esp, 0x10
jmp 0x410187
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4101f2
push edi
call fcn.004301b8
mov edi, dword [eax]
call fcn.004301b8
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.0042d246
add esp, 0x18
mov ebx, eax
call fcn.004301b8
cmp dword [eax], 0
je 0x4101d2
call fcn.004301b8
push dword [eax]
call fcn.004100cf
pop ecx
jmp 0x4101d9
call fcn.004301b8
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4101f2
cmp ebx, esi
jae 0x4101f2
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4101f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bc82
leave
ret
Function at 0x410f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x410fd6
call fcn.0041c7ca
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410fd6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x411019
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x411002
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x411002
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x411016
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41a903
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 0x41a946
call fcn.0041c7ca
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a946
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a961
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041a4bd
test ebx, ebx
mov esi, eax
je 0x41a95f
test edi, edi
je 0x41a95f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41e304
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 0x41e332
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41e350
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041e26e
jmp 0x41e350
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41e350
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041e26e
test edi, edi
mov eax, edi
jne 0x41e33a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x45ea30]
test ecx, ecx
je 0x41e413
jmp 0x41e303
ret 8

Function at 0x42bc82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b680]
jne 0x42bc8c
repz ret
jmp fcn.00432d58
Function at 0x431b7d
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 + 0x45b810]
je 0x431b98
inc edi
cmp edi, 0x17
jb 0x431b89
cmp edi, 0x17
jae 0x431d18
push ebp
push 3
call fcn.0043f278
cmp eax, 1
pop ecx
je 0x431ce4
push 3
call fcn.0043f278
test eax, eax
pop ecx
jne 0x431bcc
cmp dword [0x45b654], 1
je 0x431ce4
cmp ebx, 0xfc
je 0x431d17
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45eb38
push ebp
call fcn.00435a41
add esp, 0xc
test eax, eax
je 0x431c02
push esi
push esi
push esi
push esi
push esi
call fcn.004346cd
add esp, 0x14
push 0x104
mov esi, 0x45eb51
push esi
push 0
mov byte [0x45ec55], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x431c46
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00435a41
add esp, 0xc
test eax, eax
je 0x431c46
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004346cd
add esp, 0x14
push esi
call fcn.0043b670
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x431c8b
push esi
call fcn.0043b670
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45ee4c
push 0x44d1cc
sub ecx, eax
push ecx
push eax
call fcn.0043f1c5
add esp, 0x14
test eax, eax
je 0x431c8b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004346cd
add esp, 0x14
jmp 0x431c8d
xor esi, esi
push 0x44d1c8
push ebx
push ebp
call fcn.0043f154
add esp, 0xc
test eax, eax
je 0x431cad
push esi
push esi
push esi
push esi
push esi
call fcn.004346cd
add esp, 0x14
push dword [edi*8 + 0x45b814]
push ebx
push ebp
call fcn.0043f154
add esp, 0xc
test eax, eax
je 0x431ccf
push esi
push esi
push esi
push esi
push esi
call fcn.004346cd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043ef97
add esp, 0xc
jmp 0x431d17
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x431d17
cmp ebp, 0xffffffff
je 0x431d17
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45b814]
push dword [esi]
call fcn.0043b670
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 0x43ef97
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043272d
xor ebx, ebx
cmp dword [0x45f648], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43f06d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43f14d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43f14d
push eax
call fcn.004326bf
mov dword [esp], 0x44d4e8
push edi
mov dword [0x45f648], eax
call esi
push eax
call fcn.004326bf
mov dword [esp], 0x44d4d4
push edi
mov dword [0x45f64c], eax
call esi
push eax
call fcn.004326bf
mov dword [0x45f650], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042fe88
test eax, eax
pop ecx
pop ecx
je 0x43f03b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004346cd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43f06d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004326bf
cmp eax, ebx
pop ecx
mov dword [0x45f658], eax
je 0x43f06d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004326bf
pop ecx
mov dword [0x45f654], eax
mov eax, dword [0x45f654]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43f0f2
cmp dword [0x45f658], ecx
je 0x43f0f2
push eax
call fcn.00432736
push dword [0x45f658]
mov esi, eax
call fcn.00432736
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43f0f2
cmp edi, ebx
je 0x43f0f2
call esi
cmp eax, ebx
je 0x43f0bf
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f0bf
test byte [ebp - 0x18], 1
jne 0x43f0f2
lea eax, [ebp - 0x10]
push eax
call fcn.0042febf
test eax, eax
pop ecx
je 0x43f0da
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004346cd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43f0e9
or dword [ebp + 0x10], 0x200000
jmp 0x43f12d
or dword [ebp + 0x10], 0x40000
jmp 0x43f12d
mov eax, dword [0x45f64c]
cmp eax, dword [ebp - 8]
je 0x43f12d
push eax
call fcn.00432736
cmp eax, ebx
pop ecx
je 0x43f12d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43f12d
mov eax, dword [0x45f650]
cmp eax, dword [ebp - 8]
je 0x43f12d
push eax
call fcn.00432736
cmp eax, ebx
pop ecx
je 0x43f12d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f648]
call fcn.00432736
cmp eax, ebx
pop ecx
je 0x43f14d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f14f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x445110
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45b680]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004450a5
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.0042f600
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 0x44515f
cmp dword [ebp - 0x1c], 5
jb 0x445177
jmp 0x445173
cmp dword [ebp - 0x10], 1
jne 0x445177
cmp dword [ebp - 0x1c], 4
ja 0x445173
jne 0x445177
cmp dword [ebp - 0x18], 0
jbe 0x445177
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44ee28
call fcn.00444f79
test eax, eax
jge 0x445198
mov byte [0x45f804], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042bc82
add ebp, 0x78
leave
ret
Function at 0x1003af20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1020a4d8
push 0x1018d616
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10223008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x200
push 0
lea eax, [ebp - 0x220]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 4], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
push 0x48
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1003afa0
push 0x1e7
jmp 0x1003b0d2
cmp dword [esi + 0x40], 0
je 0x1003afad
push 0x57
jmp 0x1003b0d2
mov eax, dword [esi]
test eax, eax
je 0x1003b0d0
cmp eax, 0xffffffff
je 0x1003b0d0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
movq qword [ebp - 0x230], xmm0
push 0
push 0
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1003b0d4
push 0
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x220]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003b0d4
cmp dword [ebp - 0x20], 0x200
jne 0x1003b0d4
mov eax, 0xaa55
cmp word [ebp - 0x22], ax
jne 0x1003b076
mov al, byte [ebp - 0x220]
cmp al, 0xeb
jne 0x1003b045
cmp byte [ebp - 0x21e], 0x90
je 0x1003b049
cmp al, 0xe9
jne 0x1003b076
movzx ecx, word [ebp - 0x215]
movzx eax, word [ebp - 0x20f]
shl eax, 5
dec eax
add eax, ecx
cdq
idiv ecx
mov edx, eax
movzx ecx, word [ebp - 0x20a]
test ecx, ecx
cmove ecx, dword [ebp - 0x1fc]
test ecx, ecx
jne 0x1003b07a
push 0xd
jmp 0x1003b0d2
movzx eax, byte [ebp - 0x210]
imul eax, ecx
movzx ecx, word [ebp - 0x212]
add eax, edx
add ecx, eax
movzx eax, word [ebp - 0x215]
imul eax, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x34]
cmp eax, 0xff5
jae 0x1003b0b6
mov dword [esi + 0x40], 3
jmp 0x1003b0c3
cmp eax, 0xfff5
sbb eax, eax
add eax, 5
mov dword [esi + 0x40], eax
mov ebx, 1
mov dword [ebp - 0x224], ebx
jmp 0x1003b0d4
push 6
call edi
mov dword [ebp - 4], 0xfffffffe
call fcn.1003b10a
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1018d5a4
mov esp, ebp
pop ebp
ret