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

Disassembly:
cmp edi, ebp
sbb dword [ebx - 0x4bff027d], 0xb26357e7
sub byte [esi + 0x653249a4], ah
popal
mov dh, 0x2b
invalid
pop ecx
and byte [ecx - 0x19], dl
lodsb al, byte [esi]
xor eax, dword [esi - 0x5871ac5d]
jle 0x4482af
push 0xe9b5bb7f
hlt
push es
jp 0x4483a7
adc dh, byte [ebx - 1]
xchg esi, eax
push 0xffffffffffffffb5
test al, 0xa4
stosb byte es:[edi], al
jo 0x44831b
dec edx
xor al, 0x7b
adc byte [ecx + 0x75], dl
xor eax, 0xe282fd9c
aad 0x81
fmul st(5)
xchg edi, eax
xor eax, 0x1fddd91c
mov al, 0x24
retf 0xf53c
sbb bl, al
dec edi
push 0x41685954
mov dh, 0x9a
lcall 0x84fa, 0x96c0e997
rcr dword [ecx + 0x703a1480], cl
salc
arpl word [ebx + ebx*2 + 0x24], cx
jp 0x448419
push ebx
xor byte [edx], dl
adc ecx, ebx
xlatb
imul edi, esp, 0x212509e0
sahf
ja 0x4483c5
add byte [ebp + 0x4c06512d], 0x93
push ecx
push es
dec esp
xchg ebx, eax
loop 0x4483d7
nop
adc edx, dword [eax + esi + 0xe]
aad 0x24
mov dword [ecx - 0x6cdb58d6], eax
and al, 0x93
push eax
or edi, dword [esi - 0x47]
salc
or eax, 0x40dc778b
sub eax, 0xf1142333
and edx, dword [ecx + esi*8]
jne 0x448409
mov edx, 0x88c41f79
int 0xa7
mov ah, 0xaa
sbb esp, dword [eax]
ret
add eax, 0x273d3ee8
aaa
xchg edx, eax
nop
jnp 0x448422
bound ebx, qword [edi - 0x58cfa9b2]
add ch, al
lcall 0x89b0, 0x7a97467b
lds edi, [esi]
out 0x21, al
test dword [edx - 0x3c], edi
shl ebp, cl
dec edx
pop ebx
mov edx, 0xaa69b473
jge 0x448464
cld
ja 0x44849b
jne 0x448482
out 0x74, eax
xchg edx, eax
jp 0x4483f6
xchg edx, eax
shr dword ss:[ecx + 0x2ba52592], 0x50
cdq
add ecx, dword [edx]
cmp ah, byte [edi + 0x3e0da2c5]
xor cl, byte [ecx + 0x6e857e10]
in eax, dx
push eax
xchg ebp, eax
or al, 0xd
pop ss
loopne 0x448419
add al, 0xf9
mov dl, 0x2e
ret 0xef8b
lahf
pop esi
popfd
ret 0x22b3
pop esi
aaa
ffree st(4)
das
test byte [esi - 0x4b34522c], ah
sub al, 0xd3
mov byte [edi - 0x7ccf1152], al
pop ebx
mov edi, 0x2abb2d6a
pop esi
into
cmc
sub ah, byte [edi - 0x46051ba2]
cdq
clc
inc edi
xchg esi, eax
fdivr dword [esi - 0x7916dae0]
inc eax

Function at 0x449a08
Capabilities:
Encode data using xor

Disassembly:
ljmp 0x1796:0x2432627a
jp 0x449990
xchg dword [edx - 0x55], eax
invalid
pop esp
pushal
cmpsb byte [esi], byte es:[edi]
or ebp, dword [ecx - 0x56edbfcc]
adc ch, byte [ecx - 0x521cc9ac]
adc ch, byte [ecx - 0x521cc9ac]
mov bl, 0xa3
sub eax, 0x3118e4d2
jne 0x449a01
std
push 0x5d8bf8fe
mov edx, 0x6ca6a1b5
add al, 0x5b
mov eax, dword [0x5b046ca6]
in eax, dx
not byte [edx - 4]
das
pop edi
xchg dword [ebp - 0x60eb960d], edx
das
pop ebx
mul ch
mov edi, 0x7f0603a8
out dx, eax
push cs
cmp eax, 0x763d713f
push ebp
xor dword [esi - 0x14], esp
jp 0x449a20
pushal
inc edx
xor dl, bh
in eax, dx
mov bl, 0x41
mov byte [0x8d332411], al
int3
Function at 0x44c300
Capabilities:
Authenticate hmac

Disassembly:
jne 0x44c36b
pop esi
enter 0x3729, 0x5c
dec ebp
or eax, 0x5f28fba7
aam 0x97
mov eax, dword [0x52ccaf3]
invalid
das
les esp, [ecx]
test dword [edx + 0x1e], esi
mov ecx, 0x6c0c5fd8
das
jg 0x44c3b3
pop ss
sbb al, 0xf0
das
inc ebx
sar byte [ebp - 0x2c87edd], 1
mov gs, word [edi]
and byte [edx + 0x68], cl
sub edi, eax
inc ecx
test eax, 0x81d27c5
or eax, 0xc7262d7
ret 0x7588
sbb esi, ebp
mov al, byte [0x797bed41]
mov cl, bl
inc edx
pop edx

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x11c867cd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x55186a7e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402739
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402774
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402770
lea ebx, [ebx]
cmp esi, eax
jae 0x402774
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402760
cmp esi, eax
jb 0x40277a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403960
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
test eax, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, ecx
mov dword [esp + 8], 0
je 0x4039a8
mov edx, dword [esi + 0xe4]
lea ecx, [esi + 0xe8]
push ecx
push 0
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 0xf8]
mov eax, edi
shl eax, 4
sub eax, edi
push eax
push ecx
call ebp
test eax, eax
jne 0x403a71
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xe4]
lea edi, [esi + 0xe8]
push edi
push 0
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0xf8]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
push ecx
push edx
call ebp
test eax, eax
jne 0x403a11
mov ecx, dword [esi + 0xe4]
push eax
lea eax, [esp + 0xc]
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [esp + 8]
push 0x64
mov byte [edx + ebx], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp eax, 0x102
jne 0x403a59
mov eax, dword [esi + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov edx, dword [esi + 0xe4]
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 8]
mov byte [eax + ebx], 0
cmp dword [esp + 8], 0
je 0x403a66
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
mov ecx, dword [esi + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
pop edi
mov eax, 0xfffffffe
pop ebp
pop ecx
ret 8
mov edx, dword [esi + 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
pop edi
or eax, 0xffffffff
pop ebp
pop ecx
ret 8
Function at 0x407e40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43ae58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x44b5d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00406c60
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407e94
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.004080b0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00406c60
cmp dword [esp + 0x24], 8
jb 0x407eda
mov eax, dword [esp + 0x10]
push eax
call fcn.00409549
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40909b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x44b5d0]
mov dword [ebp - 4], eax
mov eax, dword [0x44f7ec]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4090ca
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x409257
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x409257
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x409102
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x40911a
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x40913b
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x409158
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00408ffe
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40917b
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40918f
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00408ffe
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4091c4
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4091d6
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.00408f2f
test eax, eax
pop esi
jne 0x409217
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.00408f2f
test eax, eax
jne 0x409245
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00408f2f
test eax, eax
jne 0x409257
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00408f2f
test eax, eax
je 0x409257
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.00423ed2
leave
ret
Function at 0x40eada
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 0x40eb1d
call fcn.00411278
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [0x44cb7c]
test eax, eax
je 0x40eb1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40eb38
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040e694
test ebx, ebx
mov esi, eax
je 0x40eb36
test edi, edi
je 0x40eb36
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40f901
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x439b3c
call fcn.004253c1
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.00411278
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40f94c
call fcn.00411278
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [0x44cb7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40f95d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40f96a
or eax, 0xffffffff
jmp 0x40fac6
mov ecx, esi
call fcn.0040f448
mov dword [ebp - 0x14], eax
call fcn.0040c14b
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40f9e8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40f9e8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40f9e8
push 0
push dword [ebp - 0x14]
call dword [0x44cb98]
mov dword [ebp - 0x2c], 1
call fcn.0040ad0c
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40f9e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40f9e8
mov ecx, ebx
call fcn.00410124
test eax, eax
je 0x40f9e8
push 0
mov ecx, ebx
call fcn.0041013f
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040dab0
push dword [ebp - 0x14]
call fcn.0040c0a3
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f709
xor edi, edi
cmp eax, edi
je 0x40fa45
test byte [esi + 0x3c], 0x10
je 0x40fa2f
push 4
pop edi
mov ecx, esi
call fcn.00410035
test ax, 0x100
je 0x40fa25
push 5
pop edi
push edi
mov ecx, esi
call fcn.0040bc39
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40fa45
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041030e
or dword [ebp - 4], 0xffffffff
jmp 0x40fa70
cmp dword [ebp - 0x28], edi
je 0x40fa7e
push 1
mov ecx, ebx
call fcn.0041013f
cmp dword [ebp - 0x2c], edi
je 0x40fa8e
push 1
push dword [ebp - 0x14]
call dword [0x44cb98]
cmp dword [ebp - 0x14], edi
je 0x40faa7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40faa7
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.0040f482
cmp dword [esi + 0x58], edi
je 0x40fac3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00425466
ret
Function at 0x411cf2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44b5d0]
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 0x411d2f
push 0x43dd08
push 4
push eax
call fcn.00425577
push eax
call fcn.00402290
add esp, 0x10
jmp 0x411d41
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x411dac
push edi
call fcn.00425659
mov edi, dword [eax]
call fcn.00425659
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.004255ff
add esp, 0x18
mov ebx, eax
call fcn.00425659
cmp dword [eax], 0
je 0x411d8c
call fcn.00425659
push dword [eax]
call fcn.00409871
pop ecx
jmp 0x411d93
call fcn.00425659
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x411dac
cmp ebx, esi
jae 0x411dac
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x411dae
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00423ed2
leave
ret

Function at 0x4134a6
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 0x4134ec
call fcn.00411278
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [0x44cb7c]
test eax, eax
je 0x4134ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41352f
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 0x413518
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 0x413518
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41352c
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 0x415044
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 0x415072
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415090
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414fae
jmp 0x415090
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415090
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00414fae
test edi, edi
mov eax, edi
jne 0x41507a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44e7f0]
test ecx, ecx
je 0x415153
jmp 0x415043
ret 8

Function at 0x423ed2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b5d0]
jne 0x423edc
repz ret
jmp fcn.0042a4ff
Function at 0x4281a7
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 + 0x44b760]
je 0x4281c2
inc edi
cmp edi, 0x17
jb 0x4281b3
cmp edi, 0x17
jae 0x428342
push ebp
push 3
call fcn.00431003
cmp eax, 1
pop ecx
je 0x42830e
push 3
call fcn.00431003
test eax, eax
pop ecx
jne 0x4281f6
cmp dword [0x44b5a0], 1
je 0x42830e
cmp ebx, 0xfc
je 0x428341
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44eb48
push ebp
call fcn.004242e1
add esp, 0xc
test eax, eax
je 0x42822c
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3df
add esp, 0x14
push 0x104
mov esi, 0x44eb61
push esi
push 0
mov byte [0x44ec65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x428270
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004242e1
add esp, 0xc
test eax, eax
je 0x428270
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042a3df
add esp, 0x14
push esi
call fcn.0042d760
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4282b5
push esi
call fcn.0042d760
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44ee5c
push 0x43ff54
sub ecx, eax
push ecx
push eax
call fcn.00430f50
add esp, 0x14
test eax, eax
je 0x4282b5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3df
add esp, 0x14
jmp 0x4282b7
xor esi, esi
push 0x43ff50
push ebx
push ebp
call fcn.00430edf
add esp, 0xc
test eax, eax
je 0x4282d7
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3df
add esp, 0x14
push dword [edi*8 + 0x44b764]
push ebx
push ebp
call fcn.00430edf
add esp, 0xc
test eax, eax
je 0x4282f9
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3df
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00430d22
add esp, 0xc
jmp 0x428341
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x428341
cmp ebp, 0xffffffff
je 0x428341
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44b764]
push dword [esi]
call fcn.0042d760
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 0x430d22
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00428d6b
xor ebx, ebx
cmp dword [0x44f640], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x430df8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x430ed8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x430ed8
push eax
call fcn.00428cfd
mov dword [esp], 0x44020c
push edi
mov dword [0x44f640], eax
call esi
push eax
call fcn.00428cfd
mov dword [esp], 0x4401f8
push edi
mov dword [0x44f644], eax
call esi
push eax
call fcn.00428cfd
mov dword [0x44f648], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00427125
test eax, eax
pop ecx
pop ecx
je 0x430dc6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a3df
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x430df8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00428cfd
cmp eax, ebx
pop ecx
mov dword [0x44f650], eax
je 0x430df8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428cfd
pop ecx
mov dword [0x44f64c], eax
mov eax, dword [0x44f64c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x430e7d
cmp dword [0x44f650], ecx
je 0x430e7d
push eax
call fcn.00428d74
push dword [0x44f650]
mov esi, eax
call fcn.00428d74
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x430e7d
cmp edi, ebx
je 0x430e7d
call esi
cmp eax, ebx
je 0x430e4a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430e4a
test byte [ebp - 0x18], 1
jne 0x430e7d
lea eax, [ebp - 0x10]
push eax
call fcn.0042715c
test eax, eax
pop ecx
je 0x430e65
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a3df
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x430e74
or dword [ebp + 0x10], 0x200000
jmp 0x430eb8
or dword [ebp + 0x10], 0x40000
jmp 0x430eb8
mov eax, dword [0x44f644]
cmp eax, dword [ebp - 8]
je 0x430eb8
push eax
call fcn.00428d74
cmp eax, ebx
pop ecx
je 0x430eb8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x430eb8
mov eax, dword [0x44f648]
cmp eax, dword [ebp - 8]
je 0x430eb8
push eax
call fcn.00428d74
cmp eax, ebx
pop ecx
je 0x430eb8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f640]
call fcn.00428d74
cmp eax, ebx
pop ecx
je 0x430ed8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x430eda
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438f5c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44b5d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00438ef1
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.004256a0
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 0x438fab
cmp dword [ebp - 0x1c], 5
jb 0x438fc3
jmp 0x438fbf
cmp dword [ebp - 0x10], 1
jne 0x438fc3
cmp dword [ebp - 0x1c], 4
ja 0x438fbf
jne 0x438fc3
cmp dword [ebp - 0x18], 0
jbe 0x438fc3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x441b34
call fcn.00438de2
test eax, eax
jge 0x438fe4
mov byte [0x44f7e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00423ed2
add ebp, 0x78
leave
ret
Function at 0x10001000
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push edi
call fcn.100011a0
push eax
lea eax, [esp + 8]
push str._sBIOSInfo.ini
push eax
call fcn.1000cd6c
mov ecx, 0x20
xor eax, eax
mov edi, 0x10033d60
mov edx, dword [esp + 0x118]
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x80
push 0x10033d60
push 0x10034078
push edx
push str.File_Information
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 0x10033d60
pop edi
add esp, 0x104
ret

Function at 0x10001210
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
push esi
push 1
call fcn.100012e0
push esi
push 2
call fcn.100012e0
push esi
push 5
call fcn.100012e0
call fcn.100011a0
push eax
lea eax, [esp + 0x20]
push str._sBIOSInfo.ini
push eax
call fcn.1000cd6c
add esp, 0x24
lea ecx, [esp + 4]
push ecx
push 0
push str.Blocks
push str.File_Information
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop esi
add esp, 0x104
ret