joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405313
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [str.ARM.TMP]
mov dword [ebp - 0x31c], eax
mov ecx, dword [0x40d220]
mov dword [ebp - 0x318], ecx
mov dl, byte [0x40d224]
mov byte [ebp - 0x314], dl
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x310]
push ecx
call fcn.00408000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405376
mov edx, dword [ebp - 4]
mov byte [edx + 1], 0
jmp 0x40538a
push 0x40e1d4
lea eax, [ebp - 0x310]
push eax
call fcn.00407f10
add esp, 8
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x420]
push edx
call fcn.00408000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40540f
mov eax, dword [ebp - 4]
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00407f10
add esp, 8
push 0x2e
lea edx, [ebp - 0x108]
push edx
call fcn.00408000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4053fc
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00407e50
add esp, 8
mov dword [ebp - 4], eax
push str..TMP
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407f10
add esp, 8
jmp 0x405423
push 0x40e1d8
lea edx, [ebp - 0x108]
push edx
call fcn.00407f10
add esp, 8
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x40546e
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x310]
push eax
call fcn.0040549e
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0040549e
add esp, 8
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x310]
push ecx
call fcn.0040549e
add esp, 8
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0040549e
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x40549e
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.00407f10
add esp, 8
push 0
lea edx, [ebp - 0x248]
push edx
call fcn.00407e50
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407f10
add esp, 8
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x405503
jmp 0x405555
mov ecx, 1
test ecx, ecx
je 0x405548
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00407f10
add esp, 8
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405546
jmp 0x405548
jmp 0x405503
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x405559
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push str.ArmAccess
mov eax, dword [0x40dfb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x40558c
mov eax, 1
jmp 0x405628
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push 0x40d23c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str..mailslotclient_
lea edx, [ebp - 0x100]
push edx
call fcn.00407f10
add esp, 8
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00407f20
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x40e0bc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x40e0bc]
push edx
mov eax, dword [0x40e0b8]
push eax
call dword [ebp - 0x208]
add esp, 0x10
mov dword [ebp - 0x204], eax
mov ecx, dword [0x40e0bc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
mov esp, ebp
pop ebp
ret

Function at 0x406139
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 0xc], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40616e
mov dword [0x40e0c4], 1
xor al, al
jmp 0x40622b
mov eax, dword [ebp - 8]
and eax, 0x80000000
test eax, eax
je 0x40618a
mov ecx, dword [ebp - 8]
and ecx, 0x7fffffff
mov dword [ebp - 8], ecx
mov byte [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x406221
cmp dword [ebp + 0xc], 0
je 0x40620f
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4061c4
mov dword [0x40e0c4], 1
xor al, al
jmp 0x40622b
cmp dword [ebp + 0x14], 0
je 0x4061de
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040438b
add esp, 0xc
mov eax, dword [ebp - 0xc]
and eax, 0xff
test eax, eax
jne 0x40620d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00404549
add esp, 0xc
and eax, 0xff
test eax, eax
jne 0x40620d
xor al, al
jmp 0x40622b
jmp 0x406221
push 1
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40622f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [0x40dfa8], 1
lea eax, [ebp - 4]
push eax
push 0
push 0x40dd80
push 0x405005
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov cl, byte [0x40dfa8]
cmp ecx, 1
jne 0x40626d
push 0
push 0x7d
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x406254
mov esp, ebp
pop ebp
ret
Function at 0x406492
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x10000
call fcn.00407645
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 1
mov ecx, dword [ebp - 8]
and ecx, 0xff
test ecx, ecx
je 0x40652b
mov dword [ebp - 4], 0x10000
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406139
add esp, 0x10
and eax, 0xff
test eax, eax
je 0x40651b
cmp dword [ebp - 4], 0
jne 0x4064ef
jmp 0x40652b
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x406519
mov dword [0x40e0c4], 2
mov byte [ebp - 8], 0
jmp 0x406529
mov dword [0x40e0c4], 0
mov byte [ebp - 8], 0
jmp 0x4064b2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040763a
add esp, 4
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x406544
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
jne 0x40658d
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x108]
push edx
call fcn.00408000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40658d
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
test ecx, ecx
je 0x4065ac
lea edx, [ebp - 0x108]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp + 8]
push eax
push 0
push 0x40d388
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4065e3
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
jne 0x4065e3
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00406544
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4069d1
Capabilities:
Create mailslot
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x40dfa4]
push eax
push str._08X
lea ecx, [ebp - 0x200]
push ecx
call fcn.00408027
add esp, 0xc
lea edx, [ebp - 0x200]
push edx
push str.ArmServerInfo
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str..mailslot_server_
lea eax, [ebp - 0x100]
push eax
call fcn.00407f10
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00407f20
add esp, 8
push 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov dword [0x40e0b8], eax
mov esp, ebp
pop ebp
ret

Function at 0x406a60
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push edi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov cl, byte [0x40e1e4]
mov byte [ebp - 0x148], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x147]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
je 0x406ac6
cmp dword [ebp - 0x38], 0
jne 0x406ac6
lea eax, [ebp - 0x148]
push eax
call fcn.00406b1e
add esp, 4
and eax, 0xff
test eax, eax
je 0x406ac6
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x38], ecx
push 0x40dd80
lea edx, [ebp - 0x44]
push edx
push 0
push 0
push 4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406b17
mov dword [0x40e0c4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_code__u_
push 0x40e0c8
call fcn.00408027
add esp, 0xc
xor al, al
jmp 0x406b19
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4072ed
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], str.Bitmap_Window
mov al, byte [ebp + 0x14]
mov byte [0x40e204], al
mov ecx, dword [ebp + 8]
mov dword [0x40e1f4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x40e1f0], edx
xor eax, eax
mov al, byte [0x40e205]
test eax, eax
jne 0x407393
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0x407439
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov cl, byte [0x40e204]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 0x7f02
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov byte [0x40e205], 1
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x40e1f4]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x40e1f0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0
push 0
mov ecx, dword [0x40e1f0]
push ecx
mov edx, dword [0x40e1f4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x80000000
push str.Loading...
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xff
neg eax
sbb eax, eax
and eax, 8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x40e1f8], eax
push 5
mov ecx, dword [0x40e1f8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x40e1f8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
cmp dword [0x40e1f8], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x409702
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d548
cmp edx, dword [eax]
je 0x409724
add eax, 8
inc ecx
cmp eax, 0x40d5d8
jl 0x409715
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d548]
jne 0x409852
mov eax, dword [0x40e210]
cmp eax, 1
je 0x40982c
test eax, eax
jne 0x409755
cmp dword [0x40d4a4], 1
je 0x40982c
cmp edx, 0xfc
je 0x409852
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40978c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407f10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408250
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4097cf
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408250
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c534
push edi
call fcn.0040aa20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407f10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407f20
lea eax, [ebp - 0xa0]
push 0x40c514
push eax
call fcn.00407f20
push dword [esi + 0x40d54c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407f20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a997
add esp, 0x2c
pop edi
jmp 0x409852
lea eax, [ebp + 8]
lea esi, [esi + 0x40d54c]
push 0
push eax
push dword [esi]
call fcn.00408250
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402e0e
Capabilities:
Check for vm using instruction vpcext

Disassembly:
xor ah, byte [esi - 0x1ecc7de4]
push ecx
insd dword es:[edi], dx
inc ebx
push ecx
push ds
mov bh, 0x20
jns 0x402e93
pushal
dec edi
xor dh, dl
std
jmp 0x402e57
jecxz 0x402e07
out 0x13, al
add eax, 0x1d5358e2
das
xor dword [ecx - 0x34], ecx
xor byte [eax + edi*4 - 0x42], bl
cwd
lodsd eax, dword [esi]
push 0xffffffffffffff98
lodsd eax, dword [esi]
pop fs
call 0x2d105643
push edi
add ch, cl
mov esp, 0x86d26bd4
mov ah, 0xb1
sbb al, 0x5d
sbb edx, dword [ecx + 0x4ce98116]
cdq
pop edx
fst qword [edi + 0x1f523d]
mov dh, 0xe6
mov bh, 0xad
lodsd eax, dword [esi]
test dl, cl
sbb al, 0xbf
mov al, 0x45
out dx, al
xor al, 0x72
dec eax
sbb dl, byte [ebx - 0x54f4ee42]
sahf
lds eax, [eax + esi*8 + 0x7f]
xor eax, 0xbb7b22bb
adc al, 0x20

Function at 0x403e8a
Capabilities:
Encode data using xor

Disassembly:
xor edx, eax
in eax, 0xc5
not byte [ebx]
xchg esi, eax
insd dword es:[edi], dx
sub al, 0xe4
adc eax, 0xb597f907
sbb edi, dword [edi]
sub al, 5
sbb ebp, dword [ebp - 0x12fbf109]
aam 0x6c
pop edx
jae 0x403e71
stc
and edx, dword [ecx + 0x1156fb1e]
sub byte [edx], ah
add al, 6
or bh, byte [ebx - 0x42ad29c4]
invalid
invalid
Function at 0x427b6a
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 + 0x45b840]
je 0x427b85
inc edi
cmp edi, 0x17
jb 0x427b76
cmp edi, 0x17
jae 0x427d05
push ebp
push 3
call fcn.004338f2
cmp eax, 1
pop ecx
je 0x427cd1
push 3
call fcn.004338f2
test eax, eax
pop ecx
jne 0x427bb9
cmp dword [0x45b604], 1
je 0x427cd1
cmp ebx, 0xfc
je 0x427d04
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45f020
push ebp
call fcn.00421557
add esp, 0xc
test eax, eax
je 0x427bef
push esi
push esi
push esi
push esi
push esi
call fcn.00421041
add esp, 0x14
push 0x104
mov esi, 0x45f039
push esi
push 0
mov byte [0x45f13d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x427c33
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00421557
add esp, 0xc
test eax, eax
je 0x427c33
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00421041
add esp, 0x14
push esi
call fcn.00426640
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x427c78
push esi
call fcn.00426640
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45f334
push 0x44914c
sub ecx, eax
push ecx
push eax
call fcn.0043383f
add esp, 0x14
test eax, eax
je 0x427c78
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00421041
add esp, 0x14
jmp 0x427c7a
xor esi, esi
push 0x449148
push ebx
push ebp
call fcn.004223b1
add esp, 0xc
test eax, eax
je 0x427c9a
push esi
push esi
push esi
push esi
push esi
call fcn.00421041
add esp, 0x14
push dword [edi*8 + 0x45b844]
push ebx
push ebp
call fcn.004223b1
add esp, 0xc
test eax, eax
je 0x427cbc
push esi
push esi
push esi
push esi
push esi
call fcn.00421041
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00433682
add esp, 0xc
jmp 0x427d04
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x427d04
cmp ebp, 0xffffffff
je 0x427d04
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45b844]
push dword [esi]
call fcn.00426640
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 0x433682
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042872e
xor ebx, ebx
cmp dword [0x45fb28], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x433758
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x433838
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x433838
push eax
call fcn.004286c0
mov dword [esp], 0x449484
push edi
mov dword [0x45fb28], eax
call esi
push eax
call fcn.004286c0
mov dword [esp], 0x449470
push edi
mov dword [0x45fb2c], eax
call esi
push eax
call fcn.004286c0
mov dword [0x45fb30], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004268d1
test eax, eax
pop ecx
pop ecx
je 0x433726
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421041
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x433758
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004286c0
cmp eax, ebx
pop ecx
mov dword [0x45fb38], eax
je 0x433758
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004286c0
pop ecx
mov dword [0x45fb34], eax
mov eax, dword [0x45fb34]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4337dd
cmp dword [0x45fb38], ecx
je 0x4337dd
push eax
call fcn.00428737
push dword [0x45fb38]
mov esi, eax
call fcn.00428737
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4337dd
cmp edi, ebx
je 0x4337dd
call esi
cmp eax, ebx
je 0x4337aa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4337aa
test byte [ebp - 0x18], 1
jne 0x4337dd
lea eax, [ebp - 0x10]
push eax
call fcn.00426908
test eax, eax
pop ecx
je 0x4337c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421041
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4337d4
or dword [ebp + 0x10], 0x200000
jmp 0x433818
or dword [ebp + 0x10], 0x40000
jmp 0x433818
mov eax, dword [0x45fb2c]
cmp eax, dword [ebp - 8]
je 0x433818
push eax
call fcn.00428737
cmp eax, ebx
pop ecx
je 0x433818
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x433818
mov eax, dword [0x45fb30]
cmp eax, dword [ebp - 8]
je 0x433818
push eax
call fcn.00428737
cmp eax, ebx
pop ecx
je 0x433818
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45fb28]
call fcn.00428737
cmp eax, ebx
pop ecx
je 0x433838
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43383a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x45b6a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x290], eax
push dword [ebp + 8]
mov esi, 0x140
push 0x44d280
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0042193a
add esp, 0x14
push dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
push esi
push eax
lea eax, [ebp - 0x14c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x43f79d
lea eax, [ebp - 0x28c]
push eax
call fcn.00421369
pop ecx
jmp 0x43f7a3
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00420fcd
leave
ret 0xc

Function at 0x43f85a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov eax, esi
call fcn.0043f9bc
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [esi + 8]
push 0x44d158
push 0x44d164
call edi
push dword [ebp + 8]
mov dword [esi + 8], eax
push dword [esi + 0xc]
push 0x44d16c
push 0x44d180
call edi
push dword [ebp + 8]
mov ebx, 0x44d188
push dword [esi + 0x14]
mov edi, 0x44d194
push dword [esi + 0x10]
mov dword [esi + 0xc], eax
call fcn.0043f730
push dword [ebp + 8]
mov ebx, 0x44d19c
push dword [esi + 0x1c]
mov edi, 0x44d1ac
push dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0043f730
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
push 0x44d1b4
push 0x44d1c8
mov dword [esi + 0x1c], edx
call edi
push dword [ebp + 8]
mov dword [esi + 0x20], eax
push dword [esi + 0x24]
push 0x44d1d0
push 0x44d1e4
call edi
mov dword [esi + 0x24], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x43fb57
Capabilities:
Create process on windows

Disassembly:
push 5
push 0x44b236
push 0x44b237
push dword [esp + 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
inc eax
ret 4
Function at 0x100b939a
Capabilities:
Reference the vmware io port

Disassembly:
mov ecx, 0xf516f3f1
push ebp
adc byte fs:[esi - 0x69], ah
mov al, byte [0xd9d6647d]
aas
pop ss
cmp dl, byte [0x40086984]
or ebx, ebx
push ds
mov bl, 0x2b
outsd dx, dword [esi]
pop esi
aaa
push ds
imul ebp, dword [reloc.MSVCRT.dll___dllonexit], 0x1fda99c6
pop ebx
push ecx
mov al, byte [0x4ddd59c2]
push 0x100239e4
call fcn.100c45de
xor byte [ebx], dh
sub al, byte [ebp + 0x3a]
and ebp, ebp
lea esp, [ebx]
and dh, byte [edi + 0x422bb3ef]
cmpsd dword [esi], dword es:[edi]
and eax, 0x4c3926c4
sub edx, dword [esi + reloc.MSVCRT.dll___dllonexit]
or byte [ebx + 0x33823f3a], ch
aad 0xa3
cmp al, 0xb1
mul dword [edx + 0x18]
jp 0x100b9320
or dword [edx], edi
jle 0x100b93fc
std
int3
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
jmp 0x100b93ab
jmp 0x100b9352
sbb dword [esi - 0x2b49a4c4], ebp
aas
push es
js 0x100b9485
clc
jmp 0x100d9ad9
daa
loop 0x100b94a5
insb byte es:[edi], dx
jg 0x100b94ec
test eax, 0x3b0e329d
enter 0x457a, 0xffffffffffffffc6
inc eax
salc
mov cl, 0x40
ja 0x100b9517
dec esp
fucompi st(1)
sar edi, cl
invalid
pushfd
lea esp, [esp + 8]
jmp 0x1012ef7c
or cl, ch
rcr dword [edx + 7], 1
add bl, al
push 0x9884e2c5
call fcn.100c682b
in al, dx
pushfd
jmp 0x100b94a1
add al, 0xd4
jnp 0x100b9542
int 0x5c
xchg ebp, eax
dec ecx
inc ebx
invalid
add byte [ebx - 0x47ff039b], al
push 0x33564d58
fstp xword [ecx + 0xa]
add dword [edi], eax
cmp dl, byte [0xf40d8b84]
daa
or al, 0x10
call fcn.100d9b0d
push 0x98868721
call fcn.100c682b
pop ds
xchg cx, ax
adc byte [edx + 0x2388f4ed], ah
je 0x1012ef92
inc ebp
inc ebp
xchg ecx, eax
pop ss
xchg edx, esp
adc dword [edi], edx
or ah, byte [ebp - 0x5e99a635]
sub cl, byte [ebx + 0x21]
test al, 0xe9
ror bh, 1
in al, dx
and al, 0x35
stosb byte es:[edi], al
push 0x3a7006c
cmp edx, dword [eax - 0x3b]
push es
mov eax, dword [reloc.MSVCRT.dll___dllonexit]
mov dword [reloc.MSVCRT.dll___dllonexit], eax
les esp, [esi + edx*4 + 0x3d42d12a]
stosb byte es:[edi], al
push ds
int1
add cl, dl
enter 0xffffffffffffc34e, 0xffffffffffffffb4
xchg ecx, eax
and eax, 0x9bd073cc
push esp
fst dword [edx + reloc.MSVCRT.dll___dllonexit]
push es
pop esp
int1
mov byte [edi - 0x48bd85be], bl
test byte [ebx - 0x12dd31d9], dl
add dword [esi + 0x2d], 0x821ca7bf
mov dh, 0xe9
pop esi
xchg ebp, eax
lea esp, [esp + 0x18]
xor edx, 0x36834f82
sub esp, 0x19
mov word [esp + 7], dx
lea esp, [esp + 1]
jmp 0x1012f029
mov edx, dword [edx + 0x88]
call 0x1012f035
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
add al, byte [eax]
add byte [edx], dl
lea ebx, [edi + ebp*2]
imul edi, dword [ebp + 0xb], 0xffffffdc
ret