joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419824
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00419398
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x419882
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c684]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41988c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4198e4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c774]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004193c8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41a34c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a3bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004082f4
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x41a3d0
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3c2
lea eax, [ebp - 0x104]
call fcn.004047ac
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2626402
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1aba4e20
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4037ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x810158]
jne 0x4037b5
repz ret
jmp fcn.0040942c

Function at 0x409618
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040472a
and dword [ebp - 4], 0
cmp dword [0x81230c], 0
mov ebx, eax
jne 0x4096c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40977a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40977a
push eax
call fcn.004046b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81230c], eax
call esi
push eax
call fcn.004046b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x812310], eax
call esi
push eax
call fcn.004046b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x812314], eax
call esi
push eax
call fcn.004046b8
pop ecx
mov dword [0x81231c], eax
test eax, eax
je 0x4096c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004046b8
pop ecx
mov dword [0x812318], eax
mov eax, dword [0x812318]
cmp eax, ebx
je 0x409721
cmp dword [0x81231c], ebx
je 0x409721
push eax
call fcn.00404733
push dword [0x81231c]
mov esi, eax
call fcn.00404733
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409721
test edi, edi
je 0x409721
call esi
test eax, eax
je 0x409718
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409718
test byte [ebp - 0xc], 1
jne 0x409721
or dword [ebp + 0x10], 0x200000
jmp 0x40975a
mov eax, dword [0x812310]
cmp eax, ebx
je 0x40975a
push eax
call fcn.00404733
pop ecx
test eax, eax
je 0x40975a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40975a
mov eax, dword [0x812314]
cmp eax, ebx
je 0x40975a
push eax
call fcn.00404733
pop ecx
test eax, eax
je 0x40975a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81230c]
call fcn.00404733
pop ecx
test eax, eax
je 0x40977a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40977c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x79676a27
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x58a20fbe
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x43cda1
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 0x43cdcf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43cded
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043cd0b
jmp 0x43cded
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43cded
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043cd0b
test edi, edi
mov eax, edi
jne 0x43cdd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x566af4]
test ecx, ecx
je 0x43cea0
jmp 0x43cda0
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x72e74a5d
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x70a171b9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3ec32d28
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x201f7cf0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x79b84f79
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x43f65a04
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402430
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8070c8]
jne 0x40243a
repz ret
jmp fcn.004049fe

Function at 0x40462b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004024b1
and dword [ebp - 4], 0
cmp dword [0x808ab0], 0
mov ebx, eax
jne 0x4046dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40478d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40478d
push eax
call fcn.0040243f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x808ab0], eax
call esi
push eax
call fcn.0040243f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x808ab4], eax
call esi
push eax
call fcn.0040243f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x808ab8], eax
call esi
push eax
call fcn.0040243f
pop ecx
mov dword [0x808ac0], eax
test eax, eax
je 0x4046dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040243f
pop ecx
mov dword [0x808abc], eax
mov eax, dword [0x808abc]
cmp eax, ebx
je 0x404734
cmp dword [0x808ac0], ebx
je 0x404734
push eax
call fcn.004024ba
push dword [0x808ac0]
mov esi, eax
call fcn.004024ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404734
test edi, edi
je 0x404734
call esi
test eax, eax
je 0x40472b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40472b
test byte [ebp - 0xc], 1
jne 0x404734
or dword [ebp + 0x10], 0x200000
jmp 0x40476d
mov eax, dword [0x808ab4]
cmp eax, ebx
je 0x40476d
push eax
call fcn.004024ba
pop ecx
test eax, eax
je 0x40476d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40476d
mov eax, dword [0x808ab8]
cmp eax, ebx
je 0x40476d
push eax
call fcn.004024ba
pop ecx
test eax, eax
je 0x40476d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x808ab0]
call fcn.004024ba
pop ecx
test eax, eax
je 0x40478d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40478f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x40101f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub eax, 0x2111f32b
sbb ecx, 6
setb al
test al, 1
jne 0x40103d
jmp 0x401038
jmp 0x4011f5
jmp 0x40103f
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
imul ecx, ecx, 0xaaaaaaaa
add edx, ecx
imul ecx, esi, 0xaaaaaaab
add edx, ecx
sub eax, 0x55555556
sbb edx, 0x55555555
setb al
test al, 1
jne 0x401074
jmp 0x401086
jmp 0x401076
mov eax, dword [ebp + 8]
shl eax, 8
mov dword [esp], eax
call fcn.00401000
jmp 0x401086
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0xcccccccd
mov eax, ecx
mul edx
imul ecx, ecx, 0xcccccccc
add edx, ecx
imul ecx, esi, 0xcccccccd
add edx, ecx
mov ecx, 0x33333333
mov esi, 0x33333333
sub esi, eax
sbb ecx, edx
jb 0x4010c7
jmp 0x4010b9
mov eax, dword [ebp + 8]
sar eax, 8
mov dword [esp], eax
call fcn.00401000
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0xb6db6db7
mov eax, ecx
mul edx
imul ecx, ecx, 0x6db6db6d
add edx, ecx
imul ecx, esi, 0xb6db6db7
add edx, ecx
mov ecx, 0x92492492
sub ecx, eax
mov eax, 0x24924924
sbb eax, edx
jb 0x401108
jmp 0x4010fa
mov eax, dword [ebp + 8]
shl eax, 1
mov dword [esp], eax
call fcn.00401000
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0x38e38e39
mov eax, ecx
mul edx
imul ecx, ecx, 0x8e38e38e
add edx, ecx
imul ecx, esi, 0x38e38e39
add edx, ecx
mov ecx, 0x71c71c71
sub ecx, eax
mov eax, 0x1c71c71c
sbb eax, edx
jb 0x40114e
jmp 0x40113b
mov eax, dword [ebp + 8]
mov ecx, 2
cdq
idiv ecx
mov dword [esp], eax
call fcn.00401000
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0xba2e8ba3
mov eax, ecx
mul edx
imul ecx, ecx, 0x2e8ba2e8
add edx, ecx
imul ecx, esi, 0xba2e8ba3
add edx, ecx
mov ecx, 0x5d1745d1
sub ecx, eax
mov eax, 0x1745d174
sbb eax, edx
jb 0x40118f
jmp 0x401181
mov eax, dword [ebp + 8]
sub eax, 0xfffffff5
mov dword [esp], eax
call fcn.00401000
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, 0xc4ec4ec5
mov eax, ecx
mul edx
imul ecx, ecx, 0x4ec4ec4e
add edx, ecx
imul ecx, esi, 0xc4ec4ec5
add edx, ecx
mov ecx, 0xb13b13b1
sub ecx, eax
mov eax, 0x13b13b13
sbb eax, edx
jb 0x4011de
jmp 0x4011c2
jmp 0x4011c4
mov eax, dword [ebp + 8]
sub eax, 0x905de52d
sub eax, 0xd
sub eax, 0x6fa21ad3
mov dword [esp], eax
call fcn.00401000
jmp 0x4011de
jmp 0x4011e0
mov eax, dword [esp + 0xc]
add dword [esp + 8], 1
adc eax, 0
mov dword [esp + 0xc], eax
jmp 0x40101d
cmp dword [ebp + 8], 0xca3ed
jne 0x401207
mov eax, dword [ebp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
jmp 0x401209
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4012f0
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0x410
mov dword [esp + 8], 0xff
lea eax, [esp + 0x210]
lea ecx, [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
sub esp, 8
cmp dword [esp + 8], 8
jne 0x401395
lea eax, [esp + 0x210]
mov dword [esp], eax
call fcn.00401220
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0x56cf7626
jne 0x401395
jmp 0x40133f
mov dword [esp + 8], 0xff
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub esp, 8
cmp dword [esp + 8], 7
sete al
test al, 1
jne 0x40136d
jmp 0x401395
lea eax, [esp + 0x10]
mov dword [esp], eax
call fcn.00401220
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0xb09406c7
jne 0x401393
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.00401000
jmp 0x401395
jmp 0x401397
xor eax, eax
add esp, 0x410
ret

Function at 0x402320
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
jmp 0x40232b
push eax
mov eax, esp
push eax
mov ebx, esp
push eax
mov esi, esp
push eax
mov dword [ebp - 0x10], esp
push eax
mov edi, esp
mov dword [eax], edx
mov dword [ebx], ecx
mov dword [esi], 0x1505
mov dword [edi], 0
mov dword [edi], 0
jmp 0x402353
mov ecx, dword [edi]
cmp ecx, dword [eax]
jae 0x402395
mov ecx, dword [ebx]
mov edx, dword [edi]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
movzx ecx, byte [edx]
cmp ecx, 0
jne 0x40236f
jmp 0x402397
mov dword [ebp - 0x14], ebx
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi]
movzx edx, byte [edx]
mov ebx, ecx
and ebx, edx
shl ebx, 1
xor ecx, edx
add ecx, ebx
mov dword [esi], ecx
mov ecx, dword [edi]
add ecx, 1
mov dword [edi], ecx
mov ebx, dword [ebp - 0x14]
jmp 0x402353
jmp 0x402397
mov eax, dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406550
Capabilities:
Authenticate hmac
Link many functions at runtime

Disassembly:
mov dword [0x4765cc], 0x4686e8
mov dword [0x4765d0], 0x4686fe
mov dword [0x4765d4], 0x468714
mov dword [0x4765d8], 0x468728
mov dword [0x4765dc], 0x468740
jmp fcn.00405510