joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448450
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x496e53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048a02d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048f6c5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00490cdb
test eax, eax
je 0x44856c
mov ecx, dword [esp + 0x3c]
call fcn.0048f6f2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x448530
push edi
mov ecx, esi
call fcn.0048cd5e
mov ecx, esi
call fcn.00448710
cmp dword [esp + 0x38], 1
jne 0x448565
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048ce99
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44a750
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44a783
push esi
call fcn.00458a50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44a77c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44a809
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44a7f2
mov eax, dword [esi + 8]
test eax, eax
je 0x44a7a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44a7ee
cmp eax, 2
je 0x44a7f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44a79a
cmp eax, 3
je 0x44a7cd
cmp eax, 1
jne 0x44a79a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44a79a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44a79a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044a830
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44a818
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044a830
add esp, 4
pop esi
ret

Function at 0x44b0a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44b0c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44b0c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44b0c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46c090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x46c0dc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46c0dc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x46c0c6
push eax
call ebp
test ax, ax
jl 0x46c0d4
inc esi
add edi, 4
cmp esi, 6
jb 0x46c0b8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0046bd90
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x46fd10
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x46fd70
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x46fd70
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x46fd70
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x46fd70
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x46fd80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x474a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x474a0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x474b0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4b351c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b351c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b351c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b351c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b351c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b351c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b351c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4b351c]
xor eax, edx
inc ecx
dec edi
jne 0x474a26
pop edi
test esi, esi
je 0x474b30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4b351c]
xor eax, edx
inc ecx
dec esi
jne 0x474b12
pop esi
pop ebx
not eax
ret

Function at 0x474b40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x4b351c]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x4b351c]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x475400
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x475441
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x475436
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x475454
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
ret
Function at 0x475f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x475f8c
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x475f9d
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x475fab
push edi
call fcn.004763e0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.00475d70
add esp, 0x10
test eax, eax
je 0x475fd3
pop edi
pop esi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push 0x84
call fcn.00479c27
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x475ff2
pop edi
pop esi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call fcn.00479c27
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x47602b
push esi
call fcn.00479b3e
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x476079
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00474c90
add esp, 4
test eax, eax
jne 0x476079
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x4760a6
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x4760b2
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
neg cl
sbb ecx, ecx
mov dword [ebx], 0x12345678
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], 0x34567890
je 0x4760f3
mov al, byte [ebp]
test al, al
je 0x4760f3
push eax
push ebx
call fcn.00474b40
add esp, 8
inc ebp
jne 0x4760df
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
pop ebp
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x476bf0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
push ebp
je 0x476c18
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x476c18
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [esp + 0x218]
mov cl, byte [ebp]
test cl, cl
je 0x476cf2
mov eax, ebp
mov edx, ebp
cmp cl, 0x2f
je 0x476c38
cmp cl, 0x5c
jne 0x476c3a
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x476c2e
push esi
cmp eax, ebp
push edi
je 0x476c7c
sub eax, ebp
mov esi, ebp
mov ecx, eax
lea edi, [esp + 0x114]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x114], 0
lea eax, [esp + 0x114]
push eax
push ebx
call fcn.00476bf0
add esp, 8
test ebx, ebx
mov byte [esp + 0x10], 0
je 0x476ca8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
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]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x476cf2
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x48ae22
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48ae5a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00488ed9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00488eb1
jmp 0x48ae66
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48c518
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48c55a
call fcn.00492252
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48c55a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48c551
xor eax, eax
jmp 0x48c562
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048c568
pop edi
pop esi
pop ebx
ret 4
Function at 0x492782
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4927b0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4927ce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004926e8
jmp 0x4927ce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4927ce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004926e8
test edi, edi
mov eax, edi
jne 0x4927b8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100193cb
pop dword [ebp - 0x20]
mov eax, 0x100193cb
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xbbc7f927
add dword [ebp - 0x30], 0x928a4c24
mov dword [ebp - 0x2c], 0x9ab3026c
add dword [ebp - 0x2c], 0x978049d9
mov dword [ebp - 0x28], 0xc8486da9
add dword [ebp - 0x28], 0x8403d685
mov dword [ebp - 0x24], 0x32ee6d05
sub dword [ebp - 0x24], 0x32ee6d05
lea eax, [ebp - 0x30]
push eax
mov eax, 0xd0f9c442
add eax, 0x3f085c02
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x84b26805
sub dword [ebp - 0x30], 0x103ffeaf
mov dword [ebp - 0x2c], 0x91a707bd
add dword [ebp - 0x2c], 0xafc559b8
mov dword [ebp - 0x28], 0x8732afb2
sub dword [ebp - 0x28], 0x23c34346
mov dword [ebp - 0x24], 0x3a7f6ea3
add dword [ebp - 0x24], 0xc580915d
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x17d2cd9a
sub eax, 0x7d0ad5a
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3bea2
push 0
call eax
mov ecx, 0xc48ff032
add ecx, 0x3b706707
xor edi, edi
add edi, eax
mov esi, 0x87b2e62f
sub esi, 0x77afca2f
add esi, dword [ebp - 0x20]
mov ebx, 0xed5f82e3
sub dword [ebp - 0x14], 0xd4051052
mov edx, dword [esi]
add dword [ebp - 0xc], edi
add edx, ebx
xor dword [ebp - 0x10], 0x284c7303
mov dword [edi], edx
add dword [ebp - 0x14], ecx
add edi, 0xec261f5a
add edi, 0x13d9e0aa
add esi, 0x5b0cf237
sub esi, 0x5b0cf233
loop 0x100194e4
add eax, 0x14fb7
mov ebx, eax
add eax, 0x8a78c273
sub eax, 0x8a78c26e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x405070
Capabilities:
Read file on windows

Disassembly:
cld
add byte [eax + 0xf001479], al
test dword [ecx - 0x73], edi
add eax, dword [eax]

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4c74a4]
push ebx
push esi
inc eax
mov esi, ecx
mov dword [esp + 0x18], esi
je 0x406c29
sbb byte [ebx + 0x4c74a4], ah
push edi
cmp eax, 0x30
jge 0x43e847
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x22], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], bl
call fcn.00405906
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push 0x8000
push edi
call fcn.00405956
test al, al
je 0x43e861
lea ecx, [esp + 0x98]
call fcn.004077c7
lea ecx, [esp + 0x98]
call fcn.00420b9b
lea ecx, [esp + 0x88]
call fcn.004077c7
lea edx, [esp + 0x88]
mov ecx, edi
call fcn.004048ae
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0x44]
mov esi, dword [esp + 0xbc]
lea ecx, [esp + 0xa8]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x48], 0x18
push eax
call fcn.004059b0
push ebx
push esi
push edi
lea ecx, [esp + 0xb4]
call fcn.00405c4e
cmp dword [esp + 0x70], 0x21335541
je 0x43e87b
lea ecx, [esp + 0x50]
call fcn.004077c7
lea ecx, [esp + 0x28]
call fcn.004077c7
push ebx
lea eax, [esp + 0x2c]
add byte [ebx - 0x3074ef15], cl
push dword [eax]
leave
push 0x244b9fc8
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c7480]
mov dword [esp + 4], ecx
push esi
push edi
Function at 0x40fe40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]

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

Disassembly:
sub esp, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x30], 3
mov edx, dword [edi]

Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72
pop edi
pop esi
pop ebp
ret 4

Function at 0x42800a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x4bbd38
call fcn.00428b40
call fcn.0042a048
movzx esi, ax
push 2
call fcn.0043508a
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x427ec1
xor ebx, ebx
jmp 0x427ef4
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x427ebd
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x427ebd
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x427ef4
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.00428dbc
test eax, eax
jne 0x427f08
push 0x1c
call fcn.00427fe3
pop ecx
call fcn.00429d26
test eax, eax
jne 0x427f19
push 0x10
call fcn.00427fe3
pop ecx
call fcn.00429e0b
and dword [ebp - 4], 0
call fcn.0042d812
test eax, eax
jns 0x427f33
push 0x1b
call fcn.00427fe3
pop ecx
call dword [0x48f37c]
mov dword [0x4c5228], eax
call fcn.00435173
mov dword [0x4c41f0], eax
call fcn.00434d6b
test eax, eax
jns 0x427f59
push 8
call fcn.004232f5
pop ecx
call fcn.00434fa8
test eax, eax
jns 0x427f6a
push 9
call fcn.004232f5
pop ecx
push 1
call fcn.0042332f
pop ecx
test eax, eax
je 0x427f7d
push eax
call fcn.004232f5
pop ecx
call fcn.004351d0
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x427f9f
push esi
call fcn.00423598
call fcn.00423320
jmp 0x427fd4
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00428b85
ret
call fcn.004350d7
jmp 0x427e93
Function at 0x433718
Capabilities:
Authenticate hmac
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
in al, dx
in al, 0x49
add byte [eax + ecx], ah
cmp eax, 0x80000000
jae 0x433737
movlpd xmm0, qword [0x31d8e9c0]
invalid
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
cmp dword [0x4c4ae4], eax
je 0x433755
push dword [0x14c5184]
add byte [eax], al
inc esi
mov dword [ebp - 0x14377418], ebx
add eax, 0x437cabb9
add byte [ebx + 0x49ba1445], cl
add al, ch
xchg edi, eax
mov ecx, fcn.00437cab
mov eax, dword [ebp + 0x14]
mov edx, 0x97e80049
push esi
cmp eax, edx
jg 0x418307
inc dword [ebx + 0x64746983]
cmp eax, 0x19
jg 0x41827d
inc dword [ebx + 0x660049f4]
push 2
pop edx
sub eax, edx
je 0x821e2e8b
dec eax
je 0x84b83c59
cmp dword [ebp + 5], eax
je 0x821e2f4a
dec eax
je 0x84b83c3e
cmp dword [ebp + 5], eax
je 0xff7db893
dec eax
je 0x4337fc
sub eax, 9
jne 0x855237da
sahf
inc ebp
fadd dword [ebx]
and edi, 0xfffffffc
or ebx, 0xffffffdc
mov ah, 0x40
dec ecx
invalid
in al, dx
jmp 0x8f528bd5
mov al, byte [eax]
fdiv qword [eax - 0xb6c0]
mov dword [ebp - 0x61ef8ac0], esi
inc ebp
fadd dword [ecx - 0x2064ffb7]
loopne 0x4337f6
or dword [ebx*8 + 0xdde05d], 0xffffff8d
inc ebp
fcomp st(5)
pop ebp
call 0xdd933f01
pop ebp
invalid

Function at 0x4697fc
Capabilities:
Encode data using xor

Disassembly:
wait
lea ecx, [ebp - 0x14]
call 0xf240539c
push 9
push 0xe783110a
push dword [esi]
or al, 0
lock add byte [eax], al
sub esp, 0x83e80688
cli
cli
push edi
mov edi, ecx
xor eax, dword [eax]
bswap ecx
push edx
jge 0x469819
push ecx
xor ebx, ebx
mov dword [ebp - 0x72720478], ecx
push dword [edi + 4]
mov dword [ebp - 0x474], ecx
inc ebx
push dword [edi]
mov dword [ebp - 0x7699ef70], ecx
mov dword [ebp - 0x7699ef6c], ecx
mov dword [ebp - 0x7699ef68], ecx
mov dword [ebp - 0x7699ef64], ecx
mov dword [ebp - 0x7699ef60], ecx
mov dword [ebp - 0x7699ef5c], ecx
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x28], ecx
mov ecx, edi
add dword [esi - 0x7b], edx
lodsb al, byte [esi]
sti
push esi
jmp dword [esi - 0x77]
Function at 0x405dc3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor ecx, ecx
mov cx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x405e04
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
jge 0x405eba
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x405e6b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x405e69
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x405df2
push 4
push 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x410450]
call fcn.00401037
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
jmp 0x405df2
mov esp, ebp
pop ebp
ret