joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x419610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x419632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419628
mov eax, 1
add ebx, ebx
jne 0x41964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419640
jne 0x41965c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419640
xor ecx, ecx
sub eax, 3
jb 0x419670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4196e2
mov ebp, eax
add ebx, ebx
jne 0x41967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4196ac
inc ecx
add ebx, ebx
jne 0x419698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41968d
jne 0x4196a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41968d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4196cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4196bd
jmp 0x41962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4196cc
add edi, ecx
jmp 0x41962e
pop esi
mov edi, esi
mov ecx, 0x5ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4196ea
cmp byte [edi], 0
jne 0x4196ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4196ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41975e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1924c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41971c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19250]
or eax, eax
je 0x419758
mov dword [ebx], eax
add ebx, 4
jmp 0x419739
call dword [esi + 0x19254]
popal
jmp 0x40e274
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010a0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x48d4c4]
push esi
push 0x41b8a8
push eax
call fcn.0040f7ae
mov ecx, dword [0x48d4c4]
push ecx
call fcn.0040f648
add esp, 0x10
pop esi
ret

Function at 0x401140
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0x41b8fc
push 0x4201a0
call fcn.0040f560
push 0x4201a0
call fcn.004010a0
push 0x41b8e4
push 0x4201a0
call fcn.0040f560
push 0x4201a0
call fcn.004010a0
mov eax, dword [0x41b0b8]
add esp, 0x1c
test eax, eax
je 0x4011cc
push esi
mov esi, 0x41b0b8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40119e
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
push ecx
push edx
push 0x41b8bc
jmp 0x4011aa
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
push eax
push ecx
push 0x41b8ac
push 0x4201a0
call fcn.0040f560
push 0x4201a0
call fcn.004010a0
mov eax, dword [esi + 0x1c]
add esi, 0x1c
add esp, 0x14
test eax, eax
jne 0x401189
pop esi
push 1
call fcn.0040f817
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x402560
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x41bbb8
push 0x41bbb0
mov dword [0x48d560], eax
call fcn.0040fa1a
add esp, 8
mov dword [0x48d4c4], eax
test eax, eax
jne 0x402599
push 0x41bb94
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00405470
mov esi, eax
add esp, 4
test esi, esi
jne 0x4025ce
push 0x41bb74
call fcn.004010a0
mov edx, dword [0x48d4c4]
push edx
call fcn.0040f90a
add esp, 8
mov eax, 1
pop esi
ret 0x10
push 0x41bb68
push 0
push esi
call fcn.00405850
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00401790
push esi
call fcn.00405420
mov edx, dword [0x48d4c4]
push edx
call fcn.0040f90a
add esp, 0x1c
xor eax, eax
pop esi
ret 0x10

Function at 0x4029e0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x524]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ebp, 1
push eax
push ebp
push 0
push 0x41bbd8
push closesocket
mov byte [ebx], 0
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x524]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402a77
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x402a79
xor ebp, ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x402ac0
mov edx, dword [esp + 0x520]
push edx
call fcn.0040ffe3
add esp, 4
test eax, eax
je 0x402ac0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov ebp, 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0
je 0x402ad7
mov eax, ebx
cmp byte [eax], 0x5c
jne 0x402acf
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402ac7
mov ecx, dword [esp + 0x520]
push ebx
push ecx
lea edx, [esp + 0x124]
push 0x41bbbc
push edx
call fcn.0040f560
add esp, 0x10
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret
xor ebp, ebp
jmp 0x402a88
Function at 0x403300
Capabilities:
Get session user name

Disassembly:
push ecx
mov eax, dword [0x421cf4]
test eax, eax
je 0x40330f
call fcn.00403720
mov eax, dword [0x421cc4]
push esi
test eax, eax
push edi
jne 0x403368
lea eax, [esp + 8]
mov byte [0x421b40], 0
push eax
push 0x4218b4
mov dword [esp + 0x10], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, 0x4218b4
or ecx, 0xffffffff
xor eax, eax
mov dword [0x421cc4], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x421bc0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x421938]
push eax
call fcn.00403440
add esp, 4
test eax, eax
jne 0x40338d
push 0x41bd50
call fcn.00402c30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x421b3c]
push ecx
call fcn.0040d250
push 0
push 1
push 0x4212ac
push 0
push 0x41bd48
call fcn.0040e660
add esp, 0x18
test eax, eax
jne 0x4033c8
push 0x41bd24
call fcn.00402c30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
push 0x42193c
mov dword [0x421cc0], 1
call fcn.0040d010
add esp, 4
test eax, eax
jne 0x40342e
mov edi, 0x4212ac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x42193c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42193c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x40342e
mov al, byte [ecx + 0x42193c]
cmp al, 0x2f
je 0x403424
cmp al, 0x5c
jne 0x40342b
mov byte [ecx + 0x42193c], 0
dec ecx
jns 0x403416
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x403440
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.004034a0
add esp, 4
test eax, eax
jne 0x403454
pop esi
ret
push 0
push esi
push 0
push 0
push 0xc8
push 0x12c
push 0x32
push 0x32
push closesocket
push 0x41bd48
push 0x41bd48
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x421b3c], eax
jne 0x40348b
pop esi
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret

Function at 0x403770
Capabilities:
Print debug messages

Disassembly:
push esi
or edx, 0xffffffff
push edi
mov edi, 0x421b40
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x41bc00], edx
mov eax, ecx
mov esi, edi
mov edi, 0x421c40
mov dword [0x421cec], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x421cc0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x41bbfc]
pop edi
test eax, eax
mov dword [0x4214b0], ecx
mov byte [0x421b40], 0
mov dword [0x41bbfc], edx
pop esi
je 0x4037d2
call fcn.0040efe0
mov dword [0x421cc0], 0
jmp 0x40d2d0
mov eax, dword [0x48c390]
test eax, eax
je 0x40d301
call fcn.0040d310
test eax, eax
je 0x40d2e7
call fcn.0040d590
mov dword [0x48c390], 0
call sub.WSOCK32.dll_WSACleanup
push 0x41cf14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret
Function at 0x40c100
Capabilities:
Terminate process

Disassembly:
push esi
push 1
push 0xc
call fcn.00410081
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c12c
push 0x41cea8
push 0x41d1d0
call fcn.0040f7ae
add esp, 8
push 1
call fcn.0040f817
mov eax, dword [esp + 8]
test eax, eax
mov dword [esi + 4], eax
je 0x40c162
push eax
push 0x3c
call fcn.00410081
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x40c162
push 0x41ce80
push 0x41d1d0
call fcn.0040f7ae
add esp, 8
push 1
call fcn.0040f817
mov eax, esi
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40d120
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x510
lea eax, [esp]
push ebx
push esi
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40d21f
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x40d21f
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
push 0x8000
push ecx
push eax
call dword [edx + 0x2c]
test eax, eax
jne 0x40d21f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d1cf
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x118]
push edx
push 0x400
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [esp + 0x51c]
push ebx
push 0x104
call esi
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
call fcn.0040f540
add esp, 4
mov eax, 1
pop esi
pop ebx
add esp, 0x510
ret
cmp eax, 2
jne 0x40d215
push edi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x520]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.0040f540
add esp, 4
mov eax, 1
pop esi
pop ebx
add esp, 0x510
ret
mov eax, dword [esp + 0x51c]
mov byte [eax], 0
pop esi
xor eax, eax
pop ebx
add esp, 0x510
ret

Function at 0x40d250
Capabilities:
Initialize winsock library
Print debug messages

Disassembly:
mov ecx, dword [0x48c390]
xor eax, eax
cmp ecx, eax
je 0x40d26c
mov eax, dword [esp + 4]
push eax
call fcn.0040d230
add esp, 4
xor eax, eax
ret
mov ecx, dword [esp + 4]
push 0x48b9a8
push 2
mov dword [0x48c390], 1
mov dword [0x48bf40], 0xffffffff
mov dword [0x48bf44], eax
mov dword [0x48bf48], eax
mov dword [0x48bf50], eax
mov dword [0x48bf54], eax
mov dword [0x48bf58], eax
mov dword [0x48bf5c], eax
mov dword [0x48bf88], ecx
call sub.WSOCK32.dll_WSAStartup
push 0x41cee0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
ret
Function at 0x40d3f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create raw socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Resolve dns
Set socket configuration

Disassembly:
mov eax, dword [0x48bf44]
push esi
test eax, eax
push edi
je 0x40d403
mov eax, dword [0x48bf40]
pop edi
pop esi
ret
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, 0x48bf90
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [0x48bb38], ecx
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [0x48bf40], eax
jne 0x40d451
call sub.WSOCK32.dll_WSAGetLastError
pop edi
or eax, 0xffffffff
pop esi
ret
mov dx, word [0x48bb38]
mov word [0x48b178], 2
push edx
call sub.WSOCK32.dll_htons
push 0x48bf90
mov word [0x48b17a], ax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x40d4ac
push 0x48bf90
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x40d57d
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
mov edi, 0x48b17c
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40d4b1
mov dword [0x48b17c], eax
mov eax, dword [0x48bf40]
push 0x10
push 0x48b178
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
mov eax, dword [0x48bf40]
je 0x40d577
test eax, eax
je 0x40d577
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push ecx
push 0x48b188
push eax
call sub.WSOCK32.dll_getsockname
mov eax, dword [0x48bf40]
lea edx, [esp + 0xc]
push edx
push 0x48bf58
push 0x1002
mov esi, 4
push 0xffff
push eax
mov dword [0x48bf44], 1
mov dword [esp + 0x20], esi
call sub.WSOCK32.dll_getsockopt
mov edx, dword [0x48bf40]
lea ecx, [esp + 0xc]
push ecx
push 0x48bf5c
push 0x1001
push 0xffff
push edx
mov dword [esp + 0x20], esi
call sub.WSOCK32.dll_getsockopt
mov ecx, dword [0x48bf58]
mov eax, 0x400
test ecx, ecx
jg 0x40d55b
mov dword [0x48bf58], eax
mov ecx, dword [0x48bf5c]
test ecx, ecx
jg 0x40d56a
mov dword [0x48bf5c], eax
call fcn.0040d340
mov eax, dword [0x48bf40]
pop edi
pop esi
ret
push eax
call sub.WSOCK32.dll_closesocket
pop edi
or eax, 0xffffffff
pop esi
ret
Function at 0x40de20
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x48bf40]
sub esp, 0x400
cmp eax, 0xffffffff
push ebx
push ebp
push esi
push edi
jne 0x40de41
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
mov ebp, dword [esp + 0x414]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40de73
mov ebx, dword [esp + 0x418]
lea eax, [esp + 0x10]
push ebx
push ebp
push 0x41cfa0
push eax
call fcn.0040f560
add esp, 0x10
jmp 0x40de9d
mov ebx, dword [esp + 0x418]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push 0x41cedc
push ecx
call fcn.0040fa1a
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [0x48bf70], eax
jne 0x40dec7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
mov eax, dword [0x48bf5c]
mov dword [0x48bf50], esi
push eax
mov dword [0x48bf48], eax
call fcn.0040d630
mov dword [0x48bf54], eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [0x48bf80], esi
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0040d630
mov edx, eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [0x48bf74], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0040d630
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [0x48bf78], edx
push 2
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x48bf70]
mov ecx, dword [esp + 0x430]
push edx
mov dword [0x48bf7c], ecx
call fcn.0041076f
mov eax, dword [0x48bf70]
push eax
call fcn.00410c51
mov ecx, dword [0x48bf70]
push 0
push 0
push ecx
mov dword [0x48bf84], eax
call fcn.0041076f
mov edx, dword [0x48bf78]
mov eax, dword [0x48bf84]
mov ecx, dword [0x48bf48]
push edx
mov edx, dword [0x48bf7c]
push eax
mov eax, dword [0x48bf54]
push ecx
push edx
push 0x41cf84
push eax
call fcn.0040f560
mov edi, dword [0x48bf54]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
push eax
push eax
not ecx
push 0x40dc60
mov dword [0x48bf80], ecx
mov dword [0x48bf44], 9
call fcn.00411024
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret
Function at 0x40e1e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x48bf40]
sub esp, 0x400
cmp eax, 0xffffffff
push esi
jne 0x40e1fb
xor eax, eax
pop esi
add esp, 0x400
ret
mov eax, dword [esp + 0x40c]
mov esi, dword [esp + 0x408]
push eax
push esi
lea ecx, [esp + 0xc]
push 0x41cfa0
push ecx
call fcn.0040f560
lea edx, [esp + 0x14]
push 0x41ced8
push edx
call fcn.0040fa1a
add esp, 0x18
mov dword [0x48bf70], eax
test eax, eax
jne 0x40e23d
pop esi
add esp, 0x400
ret
mov eax, dword [0x48bf58]
push edi
push eax
mov dword [0x48bf50], 0
mov dword [0x48bf48], eax
call fcn.0040d630
mov dword [0x48bf54], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [0x48bf80], 0
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0040d630
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [0x48bf74], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x41c]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0040d630
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov dword [0x48bf78], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x418]
and ecx, 3
cmp eax, 0xffffffff
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x48bf78]
mov edx, dword [0x48bf48]
push ecx
mov dword [0x48bf7c], eax
push edx
je 0x40e316
push eax
mov eax, dword [0x48bf54]
push 0x41cfc4
push eax
call fcn.0040f560
add esp, 0x14
jmp 0x40e329
mov eax, dword [0x48bf54]
push 0x41cfa8
push eax
call fcn.0040f560
add esp, 0x10
mov edi, dword [0x48bf54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push eax
push eax
not ecx
push 0x40e010
mov dword [0x48bf80], ecx
mov dword [0x48bf44], 0xa
call fcn.00411024
add esp, 0xc
mov eax, 1
pop edi
pop esi
add esp, 0x400
ret

Function at 0x40e3c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x354
lea eax, [esp + 0x154]
push esi
mov esi, dword [esp + 0x360]
push esi
push 0x41d000
push eax
call fcn.0040f560
add esp, 0xc
lea ecx, [esp + 0x158]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40e44c
mov edx, dword [esp + 0x35c]
lea eax, [esp + 0x58]
push edx
push 0x41cfdc
push eax
call fcn.0040f560
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push 0
push 8
push 0
push 0
lea ecx, [esp + 0x74]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add esp, 0x354
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x354
ret
Function at 0x40e920
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x540
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
push ebx
push ebp
push esi
push edi
mov edi, 0x48c39c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d048
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40ea9b
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x150]
push edx
push 0x48c39c
push 0x41cfa0
push eax
call fcn.0040f560
add esp, 0x10
mov esi, 0x41bc14
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40e9f4
test cl, cl
je 0x40e9f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40e9f4
add eax, 2
add esi, 2
test cl, cl
jne 0x40e9d0
xor eax, eax
jmp 0x40e9f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ea84
mov esi, 0x41d044
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ea2e
test cl, cl
je 0x40ea2a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ea2e
add eax, 2
add esi, 2
test cl, cl
jne 0x40ea0a
xor eax, eax
jmp 0x40ea33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ea84
mov eax, dword [esp + 0x10]
and eax, 0x10
cmp al, 0x10
jne 0x40ea84
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x48c79c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040e580
test eax, eax
je 0x40ea84
call fcn.0040e610
push 0x48c79c
call fcn.0040eab0
add esp, 4
lea eax, [esp + 0x10]
push eax
push ebp
call ebx
test eax, eax
jne 0x40e9a8
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x540
ret