joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007ef0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x44
lea eax, [esi + 0x40e0]
push 0
push eax
mov dword [esp + 0x24], esi
call fcn.10010030
push 0x1006c88c
call fcn.1000ccb5
add esp, 0x10
test eax, eax
je 0x10007f27
push eax
call fcn.1000cd11
add esp, 4
lea ecx, [esi + 0x407c]
mov byte [esi + 0x40dd], 0
mov byte [esi + 0x40da], 0
mov byte [esi + 0x29], 0
call fcn.10008e10
push dword [esp + 0x20]
lea eax, [esp + 0x17]
push eax
mov dword [esi + 0x40a4], 0
mov dword [esi + 0x416c], 0
push dword [esi + 0x4134]
push dword [esi + 0x4130]
call fcn.10001630
mov eax, dword [esi + 0x4130]
push dword [esp + 0x30]
mov dword [esi + 0x4134], eax
lea ebx, [esi + 0x413c]
lea eax, [esp + 0x27]
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], ebx
push dword [ebx]
call fcn.10001630
mov eax, dword [ebx]
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], eax
mov byte [esi + 0x40dc], 1
mov ebx, dword [ebp]
mov ecx, dword [ebp + 4]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esp, 0x20
xor edi, edi
add eax, edx
je 0x10008002
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
lea eax, [esi + ebx]
push eax
call fcn.1000b510
mov ebx, dword [ebp]
mov ecx, dword [ebp + 4]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
lea esi, [esi + 0x18]
cmp edi, ecx
jb 0x10007fd0
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 4]
sub ecx, dword [ebp]
mov eax, 0x2aaaaaab
imul ecx
push 0
push 0
sar edx, 2
push esi
mov eax, edx
push 0x10009fa0
shr eax, 0x1f
add eax, edx
push 0
push 0
mov dword [esi + 0x40fc], eax
call fcn.1000ea57
push 0x1006c88c
mov dword [esi + 0x416c], eax
call fcn.1000ccc6
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x10008056
push eax
call fcn.1000cd11
add esp, 4
add esp, 0xc
ret 4
Function at 0x10008060
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov ebp, ecx
push 0x44
lea eax, [ebp + 0x40e0]
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.10010030
push 0x1006c88c
call fcn.1000ccb5
add esp, 0x10
test eax, eax
je 0x10008096
push eax
call fcn.1000cd11
add esp, 4
lea ecx, [ebp + 0x407c]
mov byte [ebp + 0x40dd], 0
mov byte [ebp + 0x40da], 0
mov byte [ebp + 0x29], 0
call fcn.10008e10
push dword [esp + 0x1c]
lea ebx, [ebp + 0x4130]
lea eax, [esp + 0x13]
push eax
mov dword [ebp + 0x40a4], 0
mov dword [ebp + 0x416c], 0
push dword [ebx + 4]
mov dword [esp + 0x1c], ebx
push dword [ebx]
call fcn.10001630
mov eax, dword [ebx]
push dword [esp + 0x2c]
mov dword [ebx + 4], eax
lea eax, [esp + 0x23]
push eax
push dword [ebp + 0x4140]
push dword [ebp + 0x413c]
call fcn.10001630
mov eax, dword [ebp + 0x413c]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x4140], eax
mov byte [ebp + 0x40dc], 1
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esp, 0x20
xor edi, edi
add eax, edx
je 0x10008173
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
mov ecx, dword [esp + 0x14]
lea eax, [esi + ebx]
push eax
call fcn.1000b510
mov ebx, dword [ebp]
mov ecx, dword [ebp + 4]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
lea esi, [esi + 0x18]
cmp edi, eax
jb 0x10008140
mov ebp, dword [esp + 0x18]
pop esi
push 0
push 0
push ebp
push 0x10009fa0
push 0
push 0
call fcn.1000ea57
push 0x1006c88c
mov dword [ebp + 0x416c], eax
call fcn.1000ccc6
add esp, 0x1c
pop edi
pop ebp
pop ebx
test eax, eax
je 0x100081a9
push eax
call fcn.1000cd11
add esp, 4
add esp, 0xc
ret 4

Function at 0x10008480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10008493
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100084d4
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100084d0
jmp 0x100084c0
cmp esi, edx
jae 0x100084d4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x100084c0
cmp esi, edx
jb 0x100084d8
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret
Function at 0x1000c230
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x1004c0dc], eax
call esi
push 0
push 0
push 0
mov dword [0x1004c0e4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Kernel32.dll
mov dword [0x1004c0e0], eax
call ebp
push str.Shlwapi.dll
mov ebx, eax
call ebp
push str.Advapi32.dll
mov dword [esp + 0x14], eax
call ebp
push str.Ws2_32.dll
call ebp
push str.User32.dll
mov edi, eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1000c334
push str.DeleteFileW
push ebx
call esi
push 0x1003ece4
push ebx
mov dword [0x1006c8c0], eax
call esi
push str.FindNextFileW
push ebx
mov dword [0x1006c8b8], eax
call esi
push 0x1003ed08
push ebx
mov dword [0x1006c8c4], eax
call esi
push str.OpenProcess
push ebx
mov dword [0x1006c8c8], eax
call esi
push str.K32GetProcessImageFileNameW
push ebx
mov dword [0x1006c8cc], eax
call esi
push 0x1003ed40
push ebx
mov dword [0x1006c8d0], eax
call esi
push 0x1003ed4c
push ebx
mov dword [0x1006c8d4], eax
call esi
cmp dword [0x1006c8d0], 0
mov dword [0x1006c8d8], eax
jne 0x1000c334
push str.psapi.dll
call ebp
push str.GetProcessImageFileName
push eax
call esi
mov dword [0x1006c8d0], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000c349
push str.PathAppendW
push eax
call esi
mov dword [0x1006c8bc], eax
test edi, edi
je 0x1000c3b5
push str.socket
push edi
call esi
push str.WSACleanup
push edi
mov dword [0x1006c8dc], eax
call esi
push str.inet_addr
push edi
mov dword [0x1006c8e0], eax
call esi
push str.htons
push edi
mov dword [0x1006c8e4], eax
call esi
push str.connect
push edi
mov dword [0x1006c8e8], eax
call esi
push str.send
push edi
mov dword [0x1006c8ec], eax
call esi
push str.recv
push edi
mov dword [0x1006c8f0], eax
call esi
push str.closesocket
push edi
mov dword [0x1006c8f4], eax
call esi
mov dword [0x1006c8f8], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c3ca
push str.CharLowerBuffW
push eax
call esi
mov dword [0x1006c8fc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10022554
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1004c258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1001168e
mov dword [ebp - 0x14], eax
cmp dword [0x1006d8a4], edi
jne 0x10022645
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x100225d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10022725
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10022725
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10022725
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1006d8a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1006d8a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x1006d8ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1006d8b4], eax
test eax, eax
je 0x10022642
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1006d8b0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1002266a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002265d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1002267f
push 4
pop eax
jmp 0x10022727
cmp dword [ebp - 0x14], edi
je 0x1002267f
push dword [0x1006d8a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10022664
mov eax, dword [0x1006d8b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x100226dd
cmp dword [0x1006d8b4], esi
je 0x100226dd
push eax
call ebx
push dword [0x1006d8b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100226dd
test eax, eax
je 0x100226dd
call ecx
test eax, eax
je 0x100226d2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100226d2
test byte [ebp - 8], 1
jne 0x100226dd
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1002270d
mov eax, dword [0x1006d8a8]
cmp eax, esi
je 0x1002270a
push eax
call ebx
test eax, eax
je 0x1002270a
call eax
mov edi, eax
test edi, edi
je 0x1002270a
mov eax, dword [0x1006d8ac]
cmp eax, esi
je 0x1002270a
push eax
call ebx
test eax, eax
je 0x1002270a
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1006d8a4]
call ebx
test eax, eax
je 0x10022725
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10022727
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f4a5
leave
ret
Function at 0x10026da6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10013580
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10026dde
xor eax, eax
jmp 0x10026e0a
cmp esi, dword [ebp - 4]
je 0x10026e07
cmp dword [ebp + 0xc], 0
je 0x10026e07
push dword [edi + 0x9c]
call fcn.100269b4
push dword [edi + 0x9c]
mov esi, eax
call fcn.100224fb
pop ecx
pop ecx
cmp esi, eax
je 0x10026dda
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1003d000
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x1004c258]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov ebp, ecx
shl edi, 4
sub edi, dword [esp + 0x38]
mov eax, dword [ebp + 0x4178]
lea esi, [ebp + 0x4178]
shl edi, 2
or eax, dword [esi + 4]
jne 0x1003d084
cmp dword [ebp + 0x41b0], 8
lea eax, [ebp + 0x419c]
jb 0x1003d04a
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1003d07e
push 0
lea eax, [esp + 0x18]
push eax
push 8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movq qword [esp + 0x26], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
or ecx, dword [esp + 0x18]
and eax, 0x7fffffff
mov dword [esp + 0x10], ecx
sub ecx, dword [esi]
push 0
mov dword [esp + 0x18], eax
sbb eax, dword [esi + 4]
push 0x989680
push eax
push ecx
call fcn.1000f900
test edx, edx
jl 0x1003d160
jg 0x1003d0f4
cmp eax, edi
jbe 0x1003d160
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
cmp dword [ebp + 0x41b0], 8
lea eax, [ebp + 0x419c]
jb 0x1003d112
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x1003d146
push 0
lea eax, [esp + 0x18]
push eax
push 8
push esi
push edi
call dword [0x1006c8d4]
push edi
call dword [0x1006c8d8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1000f4a5
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1000f4a5
add esp, 0x24
ret 4
Function at 0x1003d180
Capabilities:
Check if file exists
Check mutex on windows
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [0x1004c258]
xor eax, esp
mov dword [esp + 0xc], eax
cmp byte [0x1004e541], 0
push esi
mov esi, ecx
je 0x1003d24a
mov eax, 0x64
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push 0x5a0
mov dword [esp + 0xc], 0x700055
mov dword [esp + 0x12], 0x6d0054
call fcn.10004430
test eax, eax
je 0x1003d24a
push 0x5a0
mov ecx, esi
call section..k9oowv
test eax, eax
je 0x1003d24a
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x1003d20f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1000f4a5
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1003d24a
cmp dword [0x1004e54c], 0
je 0x1003d22f
mov eax, dword [0x1004e54c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x1000a6f0
push 0
push 0
call fcn.1000ea57
add esp, 0x18
mov dword [0x1004e54c], eax
mov ecx, dword [esp + 0x10]
pop esi
xor ecx, esp
call fcn.1000f4a5
add esp, 0x10
ret
Function at 0x402e70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x402ed1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402eb4
cmp edi, 2
jb 0x402eb4
cmp byte [esi], cl
jne 0x402eb4
cmp byte [esi + 1], cl
jne 0x402eb4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x466ef0]
jmp 0x402e85
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x466ef0]
test edi, edi
jne 0x402e85
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402f00
cmp cl, 0x23
jne 0x402ee7
cmp byte [esi], cl
jne 0x402ee7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x466ef0]
test cl, cl
jne 0x402ed8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403013
mov dword [ebx], 0
mov edx, 0x466d44
call fcn.00402f10
mov esi, eax
test esi, esi
je 0x4030f0
push esi
call fcn.0043cd5f
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x4030e7
push 2
push 0
push esi
call fcn.0043d6fe
add esp, 0xc
test eax, eax
jne 0x4030e7
push esi
call fcn.0043cd5f
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x4030e7
push 0
push dword [ebp + 8]
push esi
call fcn.0043d6fe
add esp, 0xc
test eax, eax
jne 0x4030e7
mov eax, dword [0x4772f8]
test eax, eax
je 0x403086
inc dword [eax + 0x370]
push edi
call fcn.00444ae9
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x4030e7
push esi
push edi
push 1
push eax
call fcn.0043fef5
add esp, 0x10
push esi
cmp eax, edi
je 0x4030d1
call fcn.0043d3e5
mov eax, dword [0x4772f8]
add esp, 4
test eax, eax
je 0x4030bf
dec dword [eax + 0x370]
push dword [ebp + 8]
call fcn.0043fd01
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0043d3e5
add esp, 4
test ebx, ebx
je 0x4030df
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.0043d3e5
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x404a70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x466ef0]
sub edi, 1
jne 0x404ae0
mov eax, dword [0x4772f8]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd4], edx
jne 0x404b11
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x404b20
mov byte [eax + 0x1c10], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x408f80
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x408fbd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x408fa3
cmp byte [esi], bl
jne 0x408fa3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x466ef0]
test bl, bl
jne 0x408f94
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408f20
Function at 0x40dee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4772f8]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x466ef0]
sub esi, 1
jne 0x40df12
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x40df59
inc ecx
test esi, esi
je 0x40df47
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40df4c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00414550
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c4a6
mov eax, dword [0x4772f8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41c496
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41c4da
mov eax, dword [0x4772f8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41c4ca
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41c50e
mov eax, dword [0x4772f8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41c4fe
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41c55e
mov eax, dword [0x4772f8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41c54e
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41c592
mov eax, dword [0x4772f8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41c582
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41c5c6
mov eax, dword [0x4772f8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41c5b6
dec dword [eax + 0x370]
push ecx
call fcn.0043fd01
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041f250
Function at 0x4356c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x435726
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
lea eax, [ebp - 0x104]
push str.hl.exe
push eax
call fcn.00445b3d
add esp, 8
test eax, eax
je 0x435735
lea eax, [ebp - 0x128]
push eax
push esi
call edi
test eax, eax
jne 0x435700
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4357a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push dword [0x4773fc]
xor ebx, ebx
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x435829
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x435822
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push eax
call fcn.00445b3d
add esp, 8
test eax, eax
je 0x43581b
lea eax, [ebp - 0x224]
push eax
push esi
call edi
test eax, eax
jne 0x4357e5
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 0x210]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8