joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6e8
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x416c04
call fcn.00413fed
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, 0x104
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.0041225f
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x40b720
mov eax, dword [ebx]
jmp 0x40b722
mov eax, ebx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x20]
push esi
push eax
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
cmp eax, edi
je 0x40b7a0
cmp eax, esi
jae 0x40b7a0
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.0041225f
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
cmp eax, edi
je 0x40b77f
cmp eax, esi
jae 0x40b77f
push dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
call fcn.00404c84
lea ecx, [ebp - 0x30]
call fcn.00409d10
jmp 0x40b7ca
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x40b79b
push eax
push dword [ebp - 0x20]
push str.Unable_to_get_long_path_name_for___s_:_GetLongPathName_failed__error__d__n
call fcn.0041130e
add esp, 0xc
push dword [ebp - 0x20]
jmp 0x40b76d
cmp dword [ebx + 0x14], 0x10
jb 0x40b7aa
mov esi, dword [ebx]
jmp 0x40b7ac
mov esi, ebx
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
push 0x41a818
call fcn.0041130e
mov ecx, dword [ebp + 8]
add esp, 0xc
push ebx
call fcn.004080ea
lea ecx, [ebp - 0x20]
call fcn.00409d10
mov eax, dword [ebp + 8]
call fcn.0041408c
ret
Function at 0x40bafa
Capabilities:
Compare security identifiers

Disassembly:
push 0x34
mov eax, 0x416ca2
call fcn.00414056
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
push 8
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x40bb4c
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x40bbf7
lea eax, [ebp - 0x24]
push eax
push 8
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40bbf7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0x400
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0041225f
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov byte [ebp - 4], 1
jmp 0x40bb9d
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [ebp - 0x38]
cmp eax, 0x7a
jne 0x40bbe6
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00401fa0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.0041225f
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push ecx
sub eax, esi
push eax
push esi
push 2
push dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
call edi
test eax, eax
je 0x40bb77
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40bbff
lea ecx, [ebp - 0x38]
call fcn.00409d10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b269
xor al, al
call fcn.004140a0
ret
xor edi, edi
mov byte [ebp - 0x19], bl
cmp dword [esi], ebx
jbe 0x40bc28
lea ebx, [esi + 4]
push dword [ebp - 0x3c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40bc24
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x40bc0b
jmp 0x40bc28
mov byte [ebp - 0x19], 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
lea ecx, [ebp - 0x38]
call fcn.00409d10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b269
mov al, byte [ebp - 0x19]
jmp 0x40bbf9
Function at 0x40f43b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
imul edi, edi, 0x3e8
mov al, byte [0x4252d0]
test al, al
je 0x40f464
call fcn.0041225f
push edi
push dword [0x4252d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x424e14]
cmp ecx, eax
sbb esi, esi
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x1c]
shr ecx, 0x14
push ecx
shr eax, 0x14
push eax
push str.Memory_status:_total___u_available___u_limit___u_n
push 4
call fcn.00411620
add esp, 0x14
neg esi
je 0x40f4b9
push str.Low_memory_condition___skipping_refresh_operation_n
push 3
call fcn.00411620
pop ecx
pop ecx
jmp 0x40f456
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413fde
leave
ret

Function at 0x40f5dc
Capabilities:
Get memory capacity

Disassembly:
cmp dword [0x425220], 0
jne 0x40f5f8
cmp dword [0x425218], 0
jne 0x40f5f3
jmp fcn.0040f43b
jmp fcn.0040f371
jmp fcn.0040f4c7

Function at 0x40fdb2
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x1bc
mov eax, 0x417336
call fcn.00414056
mov eax, dword [ebp + 8]
push 0x5c
push eax
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040a42d
push 0x41cb30
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041225f
add esp, 0x18
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00403933
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40fe08
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1c0]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x1c4], eax
cmp eax, 0xffffffff
je 0x40fed6
cmp byte [ebp + 0xc], bl
je 0x40feaf
test byte [ebp - 0x1c0], 0x10
je 0x40feaf
push 2
mov edi, 0x41cb34
lea esi, [ebp - 0x194]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40feaf
push 3
mov edi, 0x41cb38
lea esi, [ebp - 0x194]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40feaf
push 0x5c
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x80]
push eax
call fcn.0040a42d
lea ecx, [ebp - 0x194]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.0041225f
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
push eax
call fcn.0040fdb2
add esp, 0x20
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403933
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00403933
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c4]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x40fe25
push dword [ebp - 0x1c4]
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403933
call fcn.004140a0
ret
Function at 0x41225f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x41226e
pop dword [ebp - 0x24]
mov eax, 0x41226e
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf58d2461
add dword [ebp - 0x34], 0x58c520ea
mov dword [ebp - 0x30], 0x30805945
sub dword [ebp - 0x30], 0xfe4d0d00
mov dword [ebp - 0x2c], 0x6a6f8cb2
add dword [ebp - 0x2c], 0xe1dcb77c
mov dword [ebp - 0x28], 0xcc7f758
add dword [ebp - 0x28], 0xf33808a8
lea eax, [ebp - 0x34]
push eax
mov eax, 0x41797815
sub eax, 0x4137f731
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x6c5d8c7e
add dword [ebp - 0x34], 0x814dcd8
mov dword [ebp - 0x30], 0x3f90117f
add dword [ebp - 0x30], 0x1dc4ff6
mov dword [ebp - 0x2c], 0x601d126a
add dword [ebp - 0x2c], 0x3525a02
mov dword [ebp - 0x28], 0x7b63dd17
sub dword [ebp - 0x28], 0x7b63dd17
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x5e653502
sub eax, 0x5e23b42a
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3928f
push 0
call eax
mov ecx, 0x4aba
xor ebx, ebx
add ebx, eax
mov edi, 0x429600
add edi, dword [ebp - 0x24]
mov edx, 0xa242655d
sub dword [ebp - 0x10], eax
mov esi, dword [edi]
add dword [ebp - 8], edi
sub esi, edx
xor dword [ebp - 0x1c], edx
mov dword [ebx], esi
xor dword [ebp - 0xc], 0x2c10e23e
add ebx, 4
add edi, 4
loop 0x41237b
add eax, 0x701d9ec3
add eax, 0x8fe37ef8
mov ebx, eax
add eax, 5
mov ecx, 0x9d0d723a
add ecx, 0x63328dc6
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x412d04
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x424eb0]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
je 0x412d38
push eax
push str.Unable_to_initialize_socket_library__error__d_n
call fcn.004115c7
pop ecx
pop ecx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00413fde
add esp, 0x194
ret

Function at 0x412f61
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0x28
mov eax, 0x417882
call fcn.00414056
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [ebp - 0x34], esi
mov dword [esi], vtable.Socket.0
call fcn.0041225f
and dword [ebp - 4], 0
push 6
push 1
push 2
mov byte [esi + 0x14], 0
call dword [sym.imp.ws2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x412fcf
and dword [ebp - 0x20], 0
push 0xf
pop eax
push eax
push str.socket___failed
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x30], 0
call fcn.00404698
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
push 0x421b08
lea eax, [ebp - 0x30]
push eax
call sub.msvcr100.dll__CxxThrowException
mov dword [esi + 8], accept
mov eax, esi
call fcn.004140a0
ret

Function at 0x413a0e
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x41399d
push 0
push 0
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
pop esi
test eax, eax
jne 0x413a54
call dword [sym.imp.msvcr100.dll__errno]
push dword [eax]
call dword [sym.imp.msvcr100.dll_strerror]
push eax
push str.Unable_to_start_thread:__s_n
call fcn.0041130e
add esp, 0xc
xor al, al
pop ecx
ret
mov al, 1
pop ecx
ret

Function at 0x413fde
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424eb0]
jne 0x413fe8
repz ret
jmp fcn.00414667

Function at 0x430a342d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x430a343c
pop dword [ebp - 0x4c]
mov eax, 0xc4540dc7
sub eax, 0x8149d98b
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3819d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x663c2855
add ecx, 0x99c421b5
mov edx, eax
mov esi, 0x430ade00
add esi, dword [ebp - 0x4c]
mov ebx, 0xe74709b5
add ebx, 0xbde27532
xor dword [ebp - 4], 0xa9395288
mov edi, dword [esi]
add dword [ebp - 0x14], eax
xor edi, ebx
xor dword [ebp - 0x10], 0x4d3f0eaf
mov dword [edx], edi
xor dword [ebp - 0x44], 0x57a954dd
add edx, 0xda283770
sub edx, 0xda28376c
add esi, 0xec5c291
sub esi, 0xec5c28d
loop 0x430a3490
add eax, 0xebe5ac87
add eax, 0x141b6e74
xor ebx, ebx
add ebx, eax
add eax, 0x3c7133a8
sub eax, 0x3c7133a3
mov ecx, 0x98bbbdba
add ecx, 0xaa4e4246
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9
Function at 0x40605e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406082
xor eax, eax
test eax, eax
je 0x406094
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406094
xor ecx, ecx
jmp 0x406097
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x40613d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42be14], 0
push esi
jne 0x406174
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40614e
mov dword [ecx*4 + 0x42be10], eax
inc ecx
cmp ecx, 0x100
jl 0x406149
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4061a5
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42be10]
xor eax, esi
inc ecx
dec edx
jne 0x406187
pop edi
not eax
pop esi
ret 0xc

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x4085a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4085b5
pop dword [ebp - 0x3c]
mov eax, 0x9d9acfa3
add eax, 0x62a5b612
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8d030184
sub dword [ebp - 0x4c], 0x3eb0bc39
mov dword [ebp - 0x48], 0x1c114fd8
sub dword [ebp - 0x48], 0xe9de0393
mov dword [ebp - 0x44], 0xa6bc0081
add dword [ebp - 0x44], 0xa59043ad
mov dword [ebp - 0x40], 0x5e029928
add dword [ebp - 0x40], 0xa1fd66d8
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xf4052127
add eax, 0xc3d0f4d
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x49e87a43
add dword [ebp - 0x4c], 0x2a89ef13
mov dword [ebp - 0x48], 0x7df2c0e2
sub dword [ebp - 0x48], 0x3c865f6d
mov dword [ebp - 0x44], 0xbd552a17
add dword [ebp - 0x44], 0xa61a4255
mov dword [ebp - 0x40], 0xae9b6353
sub dword [ebp - 0x40], 0xae9b6353
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c6a0
push 0
call eax
mov ecx, 0x8fc74083
add ecx, 0x7039024a
xor ebx, ebx
add ebx, eax
mov esi, 0x3e529f20
add esi, 0xc1f0a4e0
add esi, dword [ebp - 0x3c]
mov edx, 0x103a7a3a
sub dword [ebp - 4], 0x36b30e93
mov edi, dword [esi]
add dword [ebp - 0x30], 0x2865c462
add edi, edx
xor dword [ebp - 0x10], 0xc5c539c1
mov dword [ebx], edi
sub dword [ebp - 4], 0x87e47965
add ebx, 4
add esi, 0xfeb07c11
add esi, 0x14f83f3
loop 0x4086ce
add eax, 0x6b3a847b
sub eax, 0x6b398674
xor ebx, ebx
add ebx, eax
add eax, 0x9be363d1
sub eax, 0x9be363cc
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401d3e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x401de0
push 9
push str.ERROR_
push dword [0x413462]
call fcn.004024cf
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [ebp + 8]
call fcn.004027e2
cmp dword [0x412cde], 0
je 0x401db9
push 0xa
push str._IN_LINE
push dword [0x413462]
call fcn.00402507
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x412cde]
call fcn.004027e2
push 3
push 0x412090
push dword [0x413462]
call fcn.00402507
push 0xffff
push dword [ebp + 0xc]
push dword [0x413462]
call fcn.00402507
jmp 0x401df3
push 0xffff
push dword [ebp + 0xc]
push dword [0x413462]
call fcn.004024cf
push 0x15
push str.ERROR
push dword [0x413462]
push 0
call sub.USER32.dll_MessageBoxA
cmp eax, 2
jne 0x401e16
mov esi, 0x412cf0
jmp fcn.0040ee5c
mov eax, dword [ebp + 8]
leave
ret 8

Function at 0x401e1d
Capabilities:
Write file on windows

Disassembly:
push eax
push ebx
push edi
pushfd
mov ebx, dword [0x415472]
cmp ebx, 0x200
jae 0x401e6d
mov edi, dword [0x413462]
mov dword [ebx*4 + 0x413472], edi
add ebx, 1
mov dword [0x415472], ebx
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
mov eax, 0xffff
sub eax, ecx
test eax, 1
je 0x401e5f
add eax, 1
add eax, dword [0x413462]
cmp eax, dword [0x415476]
jl 0x401ec0
popfd
push 0x37
push str.PASPLUS_RUNTIME_ERROR:_STRING_MEMORY_OVERFLOW_IN_LINE
push dword [0x413462]
call fcn.004024cf
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x412cde]
call fcn.004027e2
push 0x10
push str.ERROR
push dword [0x413462]
push 0
call sub.USER32.dll_MessageBoxA
mov esi, 0x412cf0
jmp fcn.0040ee5c
mov dword [0x413462], eax
popfd
pop edi
pop ebx
pop eax
ret

Function at 0x402972
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov dword [ebp - 4], ebx
jne 0x40298b
lea ebx, [0x412ff8]
mov dword [ebp - 4], ebx
mov eax, 0
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40299f
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
invalid
push es
add byte [eax], al
invalid

Function at 0x403455
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
invalid
add dword [eax], eax
invalid

Function at 0x403721
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov eax, 0
mov dword [ebp - 4], eax
invalid

Function at 0x404b01
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.USER32.dll_GetDlgItem
mov dword [esi], eax
push 0
add bh, bh
call sub.USER32.dll_ShowWindow
add cl, cl
ret 8
Function at 0x405973
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov dword [esi], eax
fild dword [esi]
fld qword [0x410410]
fdivp st(1)
fld qword [0x410418]
fmulp st(1)
fld1
fld qword [0x410430]
fdivp st(1)
fmulp st(1)
fld qword [0x410438]
fld1

Function at 0x40671b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push 0x810
push 0x40
call sub.KERNEL32.dll_GlobalAlloc

Function at 0x40e7fe
Capabilities:
Write file on windows

Disassembly:
mov edi, 0x412cf0
mov ecx, 0x415490
sub ecx, edi
sub ecx, 4
shr ecx, 2
sub eax, eax
rep stosd dword es:[edi], eax
push 0x20000
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x412710], eax
invalid
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444030]
jne 0x401116
repz ret
jmp fcn.00401b11

Function at 0x408edc
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.004047d5
and dword [ebp - 4], 0
cmp dword [0x44678c], 0
mov ebx, eax
jne 0x408f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40903e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40903e
push eax
call fcn.00404763
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44678c], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x446790], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446794], eax
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x44679c], eax
test eax, eax
je 0x408f8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x446798], eax
mov eax, dword [0x446798]
cmp eax, ebx
je 0x408fe5
cmp dword [0x44679c], ebx
je 0x408fe5
push eax
call fcn.004047de
push dword [0x44679c]
mov esi, eax
call fcn.004047de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fe5
test edi, edi
je 0x408fe5
call esi
test eax, eax
je 0x408fdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fdc
test byte [ebp - 0xc], 1
jne 0x408fe5
or dword [ebp + 0x10], 0x200000
jmp 0x40901e
mov eax, dword [0x446790]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40901e
mov eax, dword [0x446794]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44678c]
call fcn.004047de
pop ecx
test eax, eax
je 0x40903e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409040
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af90
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x444030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2aff09c]
push ebx
mov ebx, dword [0x2afeee8]
push esi
mov esi, dword [0x444f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40afd1
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2aff09c]
mov dword [0x4468f4], esi
cmp eax, 0x114e
jne 0x40affb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.durinarusunavabaxomoyowev
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2aff09c]
cmp eax, 0x2f
jne 0x40b01d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call fcn.0040af00
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1002aaee
pop dword [ebp - 0x48]
mov eax, 0x1002aaee
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x7007c462
sub dword [ebp - 0x58], 0x21b57f17
mov dword [ebp - 0x54], 0xc7334e9f
sub dword [ebp - 0x54], 0x9500025a
mov dword [ebp - 0x50], 0xe5b13d8e
sub dword [ebp - 0x50], 0x9964f960
mov dword [ebp - 0x4c], 0xc8e35498
sub dword [ebp - 0x4c], 0xc8e35498
lea eax, [ebp - 0x58]
push eax
mov eax, 0x70648eb3
sub eax, 0x6061ce7b
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x9b3079fd
add dword [ebp - 0x58], 0xd941ef59
mov dword [ebp - 0x54], 0xd6bbe244
add dword [ebp - 0x54], 0x6ab07f31
mov dword [ebp - 0x50], 0xa84b78a8
sub dword [ebp - 0x50], 0x44dc0c3c
mov dword [ebp - 0x4c], 0x4f51061d
sub dword [ebp - 0x4c], 0x4f51061d
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x20673b63
sub eax, 0x10647b3b
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b294
push 0
call eax
mov ecx, 0x5ac6
xor esi, esi
add esi, eax
mov edi, 0x74e22c77
sub edi, 0x64de9677
add edi, dword [ebp - 0x48]
mov ebx, 0xa26178d5
add dword [ebp - 0x2c], edi
mov edx, dword [edi]
xor dword [ebp - 0x44], eax
xor edx, ebx
sub dword [ebp - 0x44], 0xfae422c1
mov dword [esi], edx
sub dword [ebp - 4], edi
add esi, 0x1c617a13
sub esi, 0x1c617a0f
add edi, 0xa9bc1b84
sub edi, 0xa9bc1b80
loop 0x1002ac01
add eax, 0x47e2bdaa
add eax, 0xb81ea041
mov ebx, eax
add eax, 0xa1fcda9d
sub eax, 0xa1fcda98
mov ecx, 0xc8ec8d3d
sub ecx, 0xb8ec8d3d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret