joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xeacb20f3
mov byte [ebp - 0x38], 0xb2
mov byte [ebp - 0x37], 0xd9
mov byte [ebp - 0x36], 0xf9
mov byte [ebp - 0x35], 0x68
mov byte [ebp - 0x34], 0x40
mov byte [ebp - 0x33], 0xa
mov byte [ebp - 0x32], 0x36
mov byte [ebp - 0x31], 0xd0
mov byte [ebp - 0x30], 0xd9
mov byte [ebp - 0x2f], 0xb
mov byte [ebp - 0x2e], 0x1d
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0xd1
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x35
mov byte [ebp - 0x29], 7
mov byte [ebp - 0x28], 0x1f
mov byte [ebp - 0x27], 0x5b
mov byte [ebp - 0x26], 0xc5
mov byte [ebp - 0x25], 0x1a
mov byte [ebp - 0x24], 0x81
mov byte [ebp - 0x23], 0x2e
xor eax, eax
mov word [ebp - 0x22], ax
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00401b20
add esp, 0xc
mov ecx, 7
mov esi, eax
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406765
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403ce9
test al, 0x10
jne 0x403ce9
mov eax, 1
ret
xor eax, eax
ret

Function at 0x404d80
Capabilities:
Get file size

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [esp + 0xc], xmm0
sub eax, 0
je 0x404da7
sub eax, 1
jne 0x404e4d
mov eax, 0x80000000
jmp 0x404dac
mov eax, 0xc0000000
push esi
mov esi, dword [esp + 0x2c]
push edi
push 0
push 0x80
push 3
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
jne 0x404de2
push esi
push str.ERROR:_Opening_file__S_n
call fcn.00404f10
add esp, 8
jmp 0x404e2d
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x404e21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_GetFileSizeEx_failed___ld__n
call fcn.00404f10
push esi
push str.ERROR:_Invalid_file_size__S_n
call fcn.00404f10
push edi
call fcn.00403c00
add esp, 0x14
mov dword [esp + 0x18], 0xffffffff
jmp 0x404e2d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x2c]
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
cmp dword [eax + 4], 0xffffffff
je 0x404e54
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
push 1
call fcn.0040bd58
push esi
push str.ERROR:_Couldnt_open_file:__S_n
call fcn.00404f10
add esp, 8
push 1
call fcn.0040bd58
int3
Function at 0x406fbf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406ffe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406ffe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406ffe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406ffe
cmp dword [ecx + 0x74], 0xe
jbe 0x406ffe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d99a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b9b4
push 0x41b9ac
push str.FlsAlloc
push 0x1f
call fcn.0040d878
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d9ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x419130]
call esi
jmp 0x40d9d4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40da18
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b9c4
push 0x41b9bc
push str.FlsGetValue
push 0x21
call fcn.0040d878
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40da4f
push dword [ebp + 8]
mov ecx, esi
call dword [0x419130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40da57
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b9cc
push 0x41b9c4
push str.FlsSetValue
push 0x22
call fcn.0040d878
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40da91
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x419130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f89c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40f8e7
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040fa37
test al, al
jne 0x40f8e1
sub edx, 2
cmp edx, edi
jne 0x40f8c7
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40f909
lea eax, [edi + 2]
cmp edx, eax
je 0x40f909
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040f7e8
add esp, 0x10
jmp 0x40fa03
push esi
lea ecx, [ebp - 0x255]
call fcn.0040fa37
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f94c
push dword [ebp - 0x25c]
jmp 0x40f8f9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40f989
cmp word [ebp - 0x226], 0
je 0x40f9aa
cmp word [ebp - 0x226], ax
jne 0x40f989
cmp word [ebp - 0x224], 0
je 0x40f9aa
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040f7e8
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40f9f6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40f963
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40f9de
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40fa03
push 0x40f618
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00414bf0
add esp, 0x10
jmp 0x40f9d3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406765
leave
ret

Function at 0x41053f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x410550
pop esi
ret
push ebx
push edi
push esi
call fcn.00410508
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040e149
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x410578
push ebx
push esi
push edi
call fcn.004078f0
add esp, 0xc
push 0
call fcn.0040d725
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x410948
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041058d
Function at 0x418020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41804d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41804d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000c004
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1000dec0
call fcn.1000c190
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1000f98c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1000bda7
cmp eax, esi
jne 0x1000bd9a
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1000bdaa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000bd81
xor esi, esi
inc esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000bdbd
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x1000bdec
mov eax, dword [0x1000f988]
test eax, eax
jne 0x1000bde6
mov dword [0x1000f988], esi
push 0x100012ac
push 0x100012a0
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x1000bdec
jmp 0x1000bf14
mov dword [0x1000f644], esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000be10
push 0x1000129c
push 0x1000128c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x1000f988], 2
test ebx, ebx
jne 0x1000be1c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1000f998], 0
je 0x1000be40
push 0x1000f998
call fcn.1000c500
pop ecx
test eax, eax
je 0x1000be40
push 0
push 2
push 0
call dword [0x1000f998]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1000be9c
test al, al
je 0x1000be5a
cmp dword [ebp - 0x1c], 0
jne 0x1000be9c
mov al, byte [esi]
test al, al
je 0x1000be6a
cmp al, 0x20
ja 0x1000be6a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1000be5a
test byte [ebp - 0x3c], 1
je 0x1000be76
movzx eax, word [ebp - 0x38]
jmp 0x1000be79
push 0xa
pop eax
push eax
push esi
push 0
push 0x10000000
call main
mov dword [0x1000f640], eax
cmp dword [0x1000f634], 0
jne 0x1000bef0
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x1000beab
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x1000bebe
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1000be47
cmp dword [0x1000f644], 0
jne 0x1000beff
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1000f640]
jmp 0x1000bf20
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.1000c1d5
ret
call 0x10134000
jmp 0x1000bd47

Function at 0x1000c020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f15c]
jne 0x1000c02a
repz ret
jmp fcn.1000c685
Function at 0xddf473
Capabilities:
Parse pe header

Disassembly:
jmp 0xddf4b6
popfd
jmp 0xddf4fb
mov ebp, edx
std
xchg word [esp + 1], bp
adc bp, si
mov ebp, dword [esp + 0x10]
lea esp, [esp + 0x14]
jmp 0xddf4a0
lea esp, [esp + 4]
call 0xddf4de

Function at 0xddf4dc
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 1], edx
inc ebp
lea esp, [esp + 0xa]
mov ebp, esi
bts ebp, eax
lea esp, [esp + 3]
call fcn.00ddf473
jmp 0xddf489

Function at 0xddf504
Capabilities:
Parse pe header

Disassembly:
call fcn.00dd9d10
push eax
jmp 0xdd9d0b
movzx ebx, word [eax + 0x3c]
jmp 0xddf646
jmp 0xddf5cc
cmp word [eax], 0x5a4d
jmp 0xddf618
lea esp, [esp]
mov dword [esp + 0x20], ebx
call fcn.00ddf577
loop 0xddf64b
pop ss
loop 0xddf5ea
movsb byte es:[edi], byte [esi]
daa
mov bh, 0xd2
and esi, eax
rcr byte [eax - 0x32], cl
test eax, 0xb53cba58
cmp al, 0xb5
and eax, 0x2e1abf4c
cmpsb byte [esi], byte es:[edi]
xor al, 0x53
scasb al, byte es:[edi]
jp 0xddf653
fisttp dword [ebx + 0x2e]
fnsave dword [edx + esi*4]
cmp al, 0xd2
mov ch, 0x44
stosb byte es:[edi], al
test byte [ecx], cl
cdq
clc
or ebp, ebx
stosb byte es:[edi], al
cmp byte [edi - 0x56], bl
inc ecx
inc esp
iretd
je 0xddf2ae
sub eax, 0x10000
jmp 0xddf5b2
add ebx, eax
cmp word [ebx], 0x4550
push eax
inc ebp
je 0xddaac2
jne 0xddf61e
fisttp dword [edx + eax*8 - 0x5b]
push esp
std
dec edi
invalid

Function at 0xddf53e
Capabilities:
Parse pe header

Disassembly:
call fcn.00ddf0a2
not bp
add esp, 1
call fcn.00ddf4dc
mov eax, dword fs:[0x30]
jmp 0xddf59e
mov eax, dword [eax + 8]
jmp 0xddf5a8
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xddf588
push eax
jmp 0xddf09d

Function at 0xddf577
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
pushal
mov word [esp + 0x1d], si
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0xddf549
lea esp, [esp]
mov dword [esp + 0x20], esp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0xddf55f

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4035b0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040e8a0
mov eax, dword [0x2ba0c04]
mov ecx, dword [0x2ba0b78]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x4036bb
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2ba0c04], 0x959
jne 0x4036a1
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402d88
push 0x402db4
call esi
push 0
push 0x402dec
push 0x402e00
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004033f0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4035f4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x40612b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446aac]
jne 0x406135
repz ret
jmp fcn.0040afac

Function at 0x40bf0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408908
and dword [ebp - 4], 0
cmp dword [0x44a0b0], 0
mov ebx, eax
jne 0x40bfbc
push 0x401c2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c06d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c20
push edi
call esi
test eax, eax
je 0x40c06d
push eax
call fcn.00408896
mov dword [esp], 0x401c10
push edi
mov dword [0x44a0b0], eax
call esi
push eax
call fcn.00408896
mov dword [esp], 0x401bfc
push edi
mov dword [0x44a0b4], eax
call esi
push eax
call fcn.00408896
mov dword [esp], 0x401be0
push edi
mov dword [0x44a0b8], eax
call esi
push eax
call fcn.00408896
pop ecx
mov dword [0x44a0c0], eax
test eax, eax
je 0x40bfbc
push 0x401bc8
push edi
call esi
push eax
call fcn.00408896
pop ecx
mov dword [0x44a0bc], eax
mov eax, dword [0x44a0bc]
cmp eax, ebx
je 0x40c014
cmp dword [0x44a0c0], ebx
je 0x40c014
push eax
call fcn.00408911
push dword [0x44a0c0]
mov esi, eax
call fcn.00408911
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c014
test edi, edi
je 0x40c014
call esi
test eax, eax
je 0x40c00b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c00b
test byte [ebp - 0xc], 1
jne 0x40c014
or dword [ebp + 0x10], 0x200000
jmp 0x40c04d
mov eax, dword [0x44a0b4]
cmp eax, ebx
je 0x40c04d
push eax
call fcn.00408911
pop ecx
test eax, eax
je 0x40c04d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c04d
mov eax, dword [0x44a0b8]
cmp eax, ebx
je 0x40c04d
push eax
call fcn.00408911
pop ecx
test eax, eax
je 0x40c04d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44a0b0]
call fcn.00408911
pop ecx
test eax, eax
je 0x40c06d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c06f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4030a0
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2ba25fc], 3
jne 0x4030c6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x4032f0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x2ba25fc]
mov ecx, dword [0x2ba2570]
sub esp, 0xc0c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403404
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2ba25fc], 0x959
jne 0x4033ea
push 0
call edi
push 0
lea eax, [esp + 0x41c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402d08
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402d18
push 0x402d20
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00403110
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403330
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0c
ret
Function at 0x409930
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444b70]
jne 0x40993a
repz ret
jmp fcn.0040b95c

Function at 0x40a303
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405e53
and dword [ebp - 4], 0
cmp dword [0x44b7cc], 0
mov ebx, eax
jne 0x40a3b4
push 0x402bfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a465
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bf0
push edi
call esi
test eax, eax
je 0x40a465
push eax
call fcn.00405de1
mov dword [esp], 0x402be0
push edi
mov dword [0x44b7cc], eax
call esi
push eax
call fcn.00405de1
mov dword [esp], 0x402bcc
push edi
mov dword [0x44b7d0], eax
call esi
push eax
call fcn.00405de1
mov dword [esp], 0x402bb0
push edi
mov dword [0x44b7d4], eax
call esi
push eax
call fcn.00405de1
pop ecx
mov dword [0x44b7dc], eax
test eax, eax
je 0x40a3b4
push 0x402b98
push edi
call esi
push eax
call fcn.00405de1
pop ecx
mov dword [0x44b7d8], eax
mov eax, dword [0x44b7d8]
cmp eax, ebx
je 0x40a40c
cmp dword [0x44b7dc], ebx
je 0x40a40c
push eax
call fcn.00405e5c
push dword [0x44b7dc]
mov esi, eax
call fcn.00405e5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a40c
test edi, edi
je 0x40a40c
call esi
test eax, eax
je 0x40a403
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a403
test byte [ebp - 0xc], 1
jne 0x40a40c
or dword [ebp + 0x10], 0x200000
jmp 0x40a445
mov eax, dword [0x44b7d0]
cmp eax, ebx
je 0x40a445
push eax
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a445
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a445
mov eax, dword [0x44b7d4]
cmp eax, ebx
je 0x40a445
push eax
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a445
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b7cc]
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a465
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a467
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402cf8
xor eax, eax
push ebp
push 0x402cf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402d34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402cf8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x4035c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403625
cmp word [0x40a218], 0xd7b2
jne 0x4035ed
cmp dword [0x40a220], 0
jbe 0x4035ed
mov eax, 0x40a214
call dword [fcn.0040a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40364c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403641
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret