joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420140
Capabilities:
Delete directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push 0x512648
call ebx
sub esp, 0x18
lea ecx, [ebp - 0x20c]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
jmp 0x4201a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4201a0
sub ecx, esi
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004235b0
call fcn.0041fe90
mov esi, dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
add esp, 0x18
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call edi
push 0x512648
call ebx
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4201d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
Function at 0x421f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x421f99
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x421f99
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x421f8a
cmp esi, edx
jae 0x421f99
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x421f78
cmp esi, edx
jae 0x421f99
cmp word [esi], 0
je 0x421f99
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x422320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x42245f
cmp byte [edi + 0x3d], 0
je 0x42245f
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x422374
xor al, al
jmp 0x422461
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004079d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx]
lea ebx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x42239a
mov ebx, eax
lea esi, [ebp - 0x28]
jb 0x4223a1
mov esi, eax
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push esi
lea eax, [edi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4223d1
sub eax, 1
je 0x4223d5
mov ecx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x42242d
xor bl, bl
jmp 0x42242f
mov byte [edi + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4223e5
mov edx, eax
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x42240f
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4223f6
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.004da26c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x4223cd
cmp byte [edi + 0x3d], 0
je 0x42242d
test esi, esi
jne 0x422390
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004234e0
jmp 0x422387
mov bl, 1
cmp ecx, 0x10
jb 0x42245b
lea edx, [ecx + 1]
mov ecx, eax
cmp edx, 0x1000
jb 0x422451
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x42247d
push edx
push eax
call fcn.0048bf7f
add esp, 8
mov al, bl
jmp 0x422461
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
call fcn.004bce09
int3
Function at 0x42a4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b396
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x42a55c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x42a55c
call fcn.00429890
mov edi, eax
jmp 0x42a67b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42a57f
call fcn.00429890
jmp 0x42a66e
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42a59d
call fcn.00429890
jmp 0x42a66e
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x42a5be
mov edi, 0x8007000e
jmp 0x42a670
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x42a6b4
jb 0x42a5dc
cmp eax, 0xffffffff
ja 0x42a6b4
cmp eax, 0x400
jbe 0x42a5f1
push eax
lea ecx, [ebp - 0x418]
call fcn.00429710
jmp 0x42a617
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x42a617
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42a62e
mov edi, 0x8007000e
jmp 0x42a670
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42a64e
call fcn.00429890
jmp 0x42a66e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042a310
mov edi, eax
test esi, esi
je 0x42a67b
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42a694
lea ecx, [ebp - 0x418]
call fcn.00429b20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0041b1a0
int3
Function at 0x42cc80
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x54112c]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [0x5456c0]
mov ecx, eax
inc eax
mov dword [0x5456c0], eax
test ecx, ecx
je 0x42ccbc
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x194
ret
cmp byte [esp + 0x19c], 0
je 0x42ccf8
mov dword [fcn.004da637], 0x4da637
mov dword [fcn.004be0b8], 0x4be0b8
mov dword [fcn.004da7c2], 0x4da7c2
mov dword [0x541060], 0x4eec9d
mov dword [fcn.004be0ad], 0x4be0ad
push ebx
call fcn.0043b8d0
test eax, eax
je 0x42cd3a
mov ebx, dword [esp + 0x19c]
test bl, 2
je 0x42cd5d
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42cd3a
mov eax, dword [esp + 4]
cmp al, 2
jne 0x42cd55
shr eax, 8
cmp al, 2
jne 0x42cd55
call fcn.0043a3f0
test eax, eax
je 0x42cd5d
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x42cd3a
call fcn.00436440
test eax, eax
jne 0x42cd3a
call fcn.00437a80
mov eax, dword [0x5457d4]
test bl, 4
mov ecx, 1
mov dword [0x5456c4], ebx
cmovne eax, ecx
mov dword [0x5457d4], eax
call fcn.00446990
mov ecx, dword [esp + 0x194]
xor eax, eax
pop ebx
xor ecx, esp
call fcn.0048bf8d
add esp, 0x194
ret
Function at 0x4358d0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x54112c]
xor eax, esp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4359aa
lea eax, [esp + 4]
push eax
push edi
push 2
call fcn.004544c0
add esp, 0xc
test eax, eax
jne 0x4359aa
lea eax, [esp + 8]
push eax
push edi
push 0x17
call fcn.004544c0
add esp, 0xc
test eax, eax
jne 0x4359aa
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x435925
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.00454490
add esp, 0xc
test eax, eax
je 0x435959
sub eax, edi
push eax
push 0x2e
push edi
call fcn.00454490
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43595b
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [esi + edi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x435994
mov al, byte [edi]
push eax
call fcn.00446b90
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x435973
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
xor ecx, esp
call fcn.0048bf8d
add esp, 0x18
ret

Function at 0x437a80
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [0x541068]
cmp eax, 0xffffffff
jne 0x437ac2
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x437aa8
xor eax, eax
test eax, eax
mov dword [0x541068], eax
setg al
ret
push eax
push 0
mov dword [0x541068], 1
call fcn.00444ab0
mov eax, dword [0x541068]
add esp, 8
test eax, eax
setg al
ret

Function at 0x437ad0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2d0], 2
jne 0x437b25
mov eax, dword [0x541068]
cmp eax, 0xffffffff
jne 0x437b1f
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x437b05
xor eax, eax
test eax, eax
mov dword [0x541068], eax
setg al
ret
push eax
push 0
mov dword [0x541068], 1
call fcn.00444ab0
mov eax, dword [0x541068]
add esp, 8
test eax, eax
setg al
ret
mov al, 1
ret
Function at 0x443e30
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x1d0], 0
je 0x443e74
push esi
push 1
push edi
call fcn.00430650
push dword [edi + 0x15c]
mov eax, dword [edi + 0x1d0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00430650
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x443ead
push dword [edi + 0x158]
lea eax, [eax + eax*2]
push 1
add eax, 0x517c58
push 2
push eax
call fcn.004da26c
push dword [edi + 0x158]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004da26c
add esp, 0x20
xor eax, eax
pop edi
ret

Function at 0x444580
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, 0x1cc
mov ecx, dword [edi + 0x1ac]
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x1a8]
mov ebp, dword [eax + edi]
mov eax, 0x1dc
cmove esi, eax
mov eax, dword [edi + 0x2c8]
add esi, edi
mov ebx, dword [esi + 4]
sub ebx, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x444658
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x1bc]
cmp dword [eax + edi], 0x4441d0
jne 0x444658
cmp dword [esi], 0
je 0x4445e8
test ebx, ebx
je 0x444658
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004439f0
add esp, 0x14
cmp eax, 0xffffffff
je 0x444658
test al, 1
je 0x444658
mov ecx, dword [esi]
test ecx, ecx
jne 0x444638
mov eax, dword [edi]
mov eax, dword [eax + 0x4c8]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x541054]
mov ebx, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x444651
mov eax, dword [esi + 8]
push 0
push ebx
add eax, ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x444658
add dword [esi + 8], eax
jmp 0x444658
mov dword [esi + 4], 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4446c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x444692
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x52]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
ret
push esi
push edi
call fcn.0045bf50
push eax
push str.Send_failure:__s
push dword [edi]
call fcn.00443ec0
mov eax, dword [edi]
add esp, 0x14
mov ecx, dword [esp + 0x24]
pop edi
mov dword [eax + 0x8e4], esi
mov eax, 0x37
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
ret
Function at 0x455500
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x519e6c
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x45551a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x519e78
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x519e88
push esi
call fcn.004e60f0
add esp, 8
test eax, eax
je 0x455562
test ebp, ebp
je 0x455553
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x455588
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x455588
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x45563f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555a5
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x541054]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x455635
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x455635
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555d7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555f0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x455600
test ebp, ebp
je 0x45562c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x541058]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x541058]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x459190
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x54112c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004e71d8
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x4591f5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x4591f5
lea eax, [esp]
push eax
call dword [0x541060]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
xor ecx, esp
call fcn.0048bf8d
add esp, 0x108
ret
Function at 0x467310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x547480], eax
inc edx
cmp edx, 0x100
jb 0x467312
push esi
mov eax, 0x547484
mov esi, 0x1c0
mov edx, dword [eax - 4]
lea eax, [eax + 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x547480]
mov dword [eax + 0x3ec], edx
mov edx, dword [eax - 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x547480]
mov dword [eax + 0x3f0], edx
mov edx, dword [eax - 0xc]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x547480]
mov dword [eax + 0x3f4], edx
mov edx, dword [eax - 8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x547480]
mov dword [eax + 0x3f8], edx
sub esi, 1
jne 0x4673b7
mov dword [0x547468], 0x4688f0
mov dword [0x547460], 0x4688f0
mov dword [0x547464], 0x468990
call fcn.004686b0
pop esi
test eax, eax
jne 0x467449
mov dword [0x547460], 0x468990
ret

Function at 0x4676d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x46772e
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
jmp 0x4676f0
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4676ff
mov eax, esi
push 0
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x467735
test ecx, ecx
je 0x46772e
test esi, esi
jne 0x4676f0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]

Function at 0x4677d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x46782e
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
jmp 0x4677f0
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4677ff
mov eax, esi
push 0
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x467835
test ecx, ecx
je 0x46782e
test esi, esi
jne 0x4677f0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
Function at 0x468db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x468dcd
pop edi
xor eax, eax
pop esi
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [eax - 4]
push ebx
mov ebx, dword [ebp + 8]
add edx, ebx
mov dword [ebp + 0xc], edx
lea ecx, [ecx]
lea eax, [edi + ebx]
cmp eax, edx
jae 0x468df6
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x468df6
inc eax
cmp eax, edx
jb 0x468de7
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x468eec
cmp ecx, 2
jbe 0x468e49
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x468ed8
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 0x10]
add ecx, edi
cmp dword [ebp + 0x18], 0
je 0x468e73
add ebx, ecx
jmp 0x468e75
shr esi, cl
test esi, esi
je 0x468e0f
cmp esi, 4
ja 0x468e68
cmp esi, 3
je 0x468e68
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x468e0f
or esi, 8
shr esi, 1
inc edi
jmp 0x468de0
sub ebx, ecx
test esi, esi
je 0x468eab
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x468ea6
mov edx, 0x100
shl edx, cl
mov ecx, dword [ebp + 0x10]
dec edx
xor ebx, edx
add ecx, edi
cmp dword [ebp + 0x18], 0
je 0x468ea4
add ebx, ecx
jmp 0x468ea6
sub ebx, ecx
mov edx, dword [ebp + 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp + 8]
add edi, eax
jmp 0x468de0
mov ebx, dword [ebp + 8]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x468de0
shr esi, cl
mov eax, 2
cmp eax, ecx
mov eax, dword [ebp + 0x14]
pop ebx
sbb ecx, ecx
not ecx
and ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x479652
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edx
sbb esi, esi
not esi
and esi, eax
je 0x479681
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x47966c
jmp 0x479683
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
ret 8

Function at 0x4902bb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret
Function at 0x490655
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
je 0x49066a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x49067c
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00491112
push 0x53b354
lea eax, [ebp - 0x10]
push eax
call fcn.004b0404
int3

Function at 0x49d04e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x50e733
call fcn.0048d5b3
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], SysStringLen
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.0048eef2
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x541178], 0x80000000
je 0x49d0bf
push dword [0x546304]
call fcn.004906a2
pop ecx
test eax, eax
jne 0x49d0c4
call fcn.004979b3
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x49d0df
cmp eax, 2
je 0x49d0df
lock inc dword [eax + 4]
mov ecx, edi
call fcn.0049e55f
lea ecx, [edi + 0x3c]
call fcn.0048f9d5
cmp byte [ebp + 0xc], 0
je 0x49d120
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x49d11a
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x49d109
jmp 0x49d128
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.00497cd7
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x49d140
mov ecx, esi
call fcn.0049b577
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.0048d57c
ret 8

Function at 0x4a8994
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov dword [0x54636c], eax
cmp eax, 0xffffffff
je 0x4a89ae
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x4a89c0
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00491112
push 0x53b354
lea eax, [ebp - 0x10]
push eax
call fcn.004b0404
int3