joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407200
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR71.dll_fflush]
add esp, 4
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCR71.dll_fflush]
add esp, 4
cmp dword [0x40ca44], 0
jne 0x40724b
push 0x9e
push 0x40b7f0
push str.NULL___hConsoleOutput
call dword [sym.imp.MSVCR71.dll__assert]
add esp, 0xc
call fcn.00406800
test eax, eax
je 0x40727e
push 0
push 0x40b9f4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x40ca44]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x407299
push 0x40b9f4
mov eax, dword [0x40ca44]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 1
call fcn.004072a0
add esp, 0x14
pop ebp
ret

Function at 0x4072a0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x40b938]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x100
mov dword [ebp - 0x114], 0
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4072e1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
cmp ecx, dword [ebp - 4]
jle 0x40732d
mov edx, dword [ebp + 0x10]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x407321
push 0xc7
push 0x40b824
push str.NULL___lpMultiByteStr
call dword [sym.imp.MSVCR71.dll__assert]
add esp, 0xc
mov dword [ebp - 0x114], 1
jmp 0x407336
lea edx, [ebp - 0x110]
mov dword [ebp - 8], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x114], 0
je 0x40738e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov dword [ebp - 8], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
call fcn.004094e1
mov esp, ebp
pop ebp
ret
Function at 0x4076c0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR71.dll_fflush]
add esp, 4
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCR71.dll_fflush]
add esp, 4
call fcn.00406800
test eax, eax
je 0x407713
push 0
push 0x40b9f8
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x40ca44]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x407731
push 0x40b9f8
mov edx, dword [0x40ca44]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
call fcn.004072a0
add esp, 0x14
pop ebp
ret

Function at 0x409555
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x40a258
call fcn.0040976c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x409590
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409590
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4095a8
cmp eax, 0x20b
je 0x409595
mov dword [ebp - 0x1c], edi
jmp 0x4095bc
cmp dword [ecx + 0x84], 0xe
jbe 0x409590
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4095b6
cmp dword [ecx + 0x74], 0xe
jbe 0x409590
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40d568], 0xffffffff
or dword [0x40d56c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40ba0c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40ba08]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40d564], eax
call fcn.00409823
call fcn.004098d8
cmp dword [0x40b940], edi
jne 0x40961c
push fcn.004098d8
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004098c1
push 0x40b010
push 0x40b00c
call sub.MSVCR71.dll__initterm
push 0x40986c
call fcn.0040980c
mov eax, dword [0x40ba04]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x40ba00]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x409670
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40b008
push section..data
call sub.MSVCR71.dll__initterm
call dword [sym.imp.MSVCR71.dll___p___winitenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00401010
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x4096ac
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4096e1
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004097a7
ret
Function at 0x18102b20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x18102b79
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.181029bc
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.181029bc
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x18102b63
inc ebx
jmp 0x18102b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x18102b80
lea eax, [ebp - 8]
call fcn.181039dc
ret

Function at 0x18102b88
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.181039dc
test esi, esi
jne 0x18102bbf
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.18103acc
jmp 0x18102be0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.181029bc
mov dword [esp], eax
test esi, esi
je 0x18102be0
cmp dword [ebx], 0
je 0x18102be0
dec esi
jmp 0x18102bc7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x18102e74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x18113014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x18102f0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x18102eec
xor eax, eax
push ebp
push 0x18102ee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x18102f28
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x18102eec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x18113014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x18113014], ax
mov esp, ebp
pop ebp
ret

Function at 0x18103858
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x18118044], 0
je 0x181038b9
cmp word [0x18118218], 0xd7b2
jne 0x18103881
cmp dword [0x18118220], 0
jbe 0x18103881
mov eax, 0x18118214
call dword [0x18118230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1811305c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x181038e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x18113020], 0
jne 0x181038d5
push 0
push 0x18113054
push 0x1811305c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x18104a7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x18104ae2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.18103c40
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.18102d68
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x18104acc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x18104ae9
lea eax, [ebp - 0x10]
call fcn.181039dc
ret

Function at 0x18105e1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x18105e2f
add esp, 0xfffffff0
call fcn.18103194
mov byte [ebp - 1], dl
mov ebx, eax
push 0xa
push ecx
mov eax, dword [0x18118660]
push eax
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
je 0x18105e90
push esi
mov eax, dword [0x18118660]
push eax
call sub.kernel32.dll_LoadResource
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
je 0x18105e90
push edi
call sub.kernel32.dll_LockResource
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
je 0x18105e7b
push esi
mov eax, dword [0x18118660]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov dl, 1
mov eax, dword [0x18105110]
call fcn.18102fa8
mov dword [ebx + 0x18], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x18105ea7
call fcn.181031ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x1810611c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx ecx, byte [eax + 1]
push ebx
push esi
push edi
mov eax, dword [ecx + eax + 0xb]
movzx ebx, byte [edx]
mov eax, dword [eax]
xor edi, edi
movzx ecx, byte [eax + 1]
or ebx, ebx
mov esi, dword [ecx + eax + 7]
lea eax, [ecx + eax + 0xf]
je 0x18106150
movzx ecx, byte [eax]
cmp ecx, ebx
je 0x18106157
cmp edi, esi
lea edi, [edi + 1]
lea eax, [ecx + eax + 1]
jne 0x1810613e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
push eax
push edx
inc eax
inc edx
mov ch, byte [eax]
xor ch, byte [edx]
and ch, 0xdf
jne 0x1810616e
dec cl
jne 0x18106159
pop edx
pop edx
mov eax, edi
jmp 0x18106153
pop edx
pop eax
mov ecx, ebx
jmp 0x18106145
Function at 0x18109944
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov dword [ebx + 0x34], 0xffffff
cmp dword [ebx + 0xc8], 0
jne 0x18109971
mov dword [ebx + 0xc8], 0x420100c0
cmp byte [ebx + 0xc4], 0x2a
jne 0x18109971
or dword [ebx + 0xc8], 0x20
mov eax, dword [ebx + 0xc8]
push eax
mov eax, dword [ebx + 0x54]
push eax
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [ebx + 0x60]
push eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0xa8]
push eax
push 0
mov eax, dword [0x18118660]
push eax
push 0
mov edx, 0x18109a04
mov ecx, dword [ebx + 0x50]
mov eax, 0x10200
call fcn.18104fa0
mov edx, eax
mov eax, ebx
call fcn.1810b020
mov eax, dword [ebx + 0xc0]
push eax
push 0
push 0xc
mov eax, dword [ebx + 0xa8]
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebx + 0x64], 0
jne 0x181099e2
push 0
mov eax, dword [ebx + 0xa8]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0xc5], 0
je 0x18109a00
push 0
push 1
push 0xcf
mov eax, dword [ebx + 0xa8]
push eax
call sub.user32.dll_SendMessageA
pop ebx
ret

Function at 0x18109fb8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x1810a098
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc4]
push eax
mov eax, dword [ebx + 0x54]
push eax
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0xd8]
push eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0xa8]
push eax
push 0
mov eax, dword [0x18118660]
push eax
push 0
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0xc0]
mov eax, 0x10000
call fcn.18104fa0
mov edx, eax
mov eax, ebx
call fcn.1810b020
mov eax, dword [ebx + 0xdc]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0xc]
dec esi
test esi, esi
jl 0x1810a061
inc esi
xor edi, edi
lea ecx, [ebp - 4]
mov eax, dword [ebx + 0xdc]
mov eax, dword [eax + 8]
mov edx, edi
call fcn.1810583c
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [ebx + 0xc8]
push eax
mov eax, dword [ebx + 0xa8]
push eax
call sub.user32.dll_SendMessageA
inc edi
dec esi
jne 0x1810a031
mov edx, dword [ebx + 0xe0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp byte [ebx + 0x64], 0
jne 0x1810a082
push 0
mov eax, dword [ebx + 0xa8]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1810a09f
lea eax, [ebp - 4]
call fcn.181039dc
ret

Function at 0x1810a720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 0
test si, 4
je 0x1810a730
or bl, 1
test si, 8
je 0x1810a73a
or bl, 4
test si, 1
je 0x1810a744
or bl, 8
test si, 2
je 0x1810a74e
or bl, 0x10
test si, 0x10
je 0x1810a758
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1810a767
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x1810a76c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 0
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1810a781
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1810a790
or bl, 4
test esi, 0x20000000
je 0x1810a79b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x1810c5f4
Capabilities:
Change the wallpaper

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov byte [ebx + 0x170], 0
push 0x1810c68c
mov eax, dword [0x18118660]
push eax
mov eax, dword [0x1811733c]
mov eax, dword [eax]
call eax
mov dword [ebx + 0x168], eax
mov eax, esp
xor ecx, ecx
mov edx, 0x28
call fcn.18102d48
mov eax, dword [0x18118660]
mov dword [esp + 0x10], eax
mov dword [esp], 3
mov eax, sub.user32.dll_DefWindowProcA
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x168]
mov dword [esp + 0x14], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, 0x1810c698
mov dword [esp + 0x24], eax
push esp
call sub.user32.dll_RegisterClassA
mov dword [ebx + 0x14], 0x154
push 0
lea eax, [ebx + 0x14]
push eax
push 0
push 0x29
call sub.user32.dll_SystemParametersInfoA
add esp, 0x28
pop ebx
ret
Function at 0x1810cf04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
lea edx, [ebp - 8]
mov ecx, 4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov edx, dword [ebp - 8]
xor dword [ebp - 4], edx
rol dword [ebp - 4], 1
cmp eax, 4
je 0x1810cf1e
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x1810d3e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x1810d407
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.1810d028
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x1048], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x1044], ecx
inc edi
cmp edi, 9
jne 0x1810d469
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1000]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.1810d028
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x1810d4b8
add ebx, 0x400
dec edi
jne 0x1810d4b6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1810d500
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa0
push ebx
push esi
push edi
mov byte [ebp - 0x1049], cl
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0x14]
call fcn.18103e80
lea ebx, [ebp - 0x105c]
xor eax, eax
push ebp
push 0x1810d715
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov esi, 0x18113688
lea edi, [ebp - 0x1048]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x181136d0
lea edi, [ebp - 0x1000]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
mov eax, dword [ebp + 0x14]
call fcn.18103c90
push eax
mov eax, dword [ebp + 0x14]
call fcn.18103e90
pop edx
call fcn.1810d3e8
pop ecx
mov dword [ebp - 0x1050], esi
cmp byte [ebp - 0x1049], 0
je 0x1810d5a2
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 1
jmp 0x1810d5b8
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 0xffffffff
mov esi, edi
shr esi, 3
dec esi
test esi, esi
jl 0x1810d6ff
inc esi
cmp dword [ebp + 0x10], 0
jne 0x1810d5d1
cmp dword [ebp + 0xc], 0
je 0x1810d660
mov dword [ebx], 7
lea eax, [ebp + 0xc]
add eax, dword [ebx]
mov dl, byte [eax]
inc edx
and dl, 0xff
mov byte [eax], dl
lea eax, [ebp + 0xc]
add eax, dword [ebx]
cmp byte [eax], 0
jne 0x1810d5fb
dec dword [ebx]
cmp dword [ebx], 0xffffffff
jne 0x1810d5dd
lea eax, [ebp + 0xc]
mov eax, dword [eax]
call fcn.1810cffc
mov dword [ebx], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.1810cffc
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, ebx
mov ecx, dword [ebp - 0x1054]
call fcn.1810d028
pop ecx
mov eax, dword [ebx]
call fcn.1810cffc
mov edx, dword [ebp - 0x1050]
xor dword [edx], eax
mov eax, dword [ebp - 0x1060]
call fcn.1810cffc
mov edx, dword [ebp - 0x1050]
add edx, 4
xor dword [edx], eax
jmp 0x1810d6f1
cmp byte [ebp + 8], 0
jne 0x1810d6ce
mov eax, dword [ebp - 0x1050]
mov eax, dword [eax]
call fcn.1810cffc
mov dword [ebx], eax
mov eax, dword [ebp - 0x1050]
add eax, 4
mov eax, dword [eax]
call fcn.1810cffc
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, ebx
mov ecx, dword [ebp - 0x1054]
call fcn.1810d028
pop ecx
mov eax, dword [ebx]
call fcn.1810cffc
mov edx, dword [ebp - 0x1050]
mov dword [edx], eax
mov eax, dword [ebp - 0x1060]
call fcn.1810cffc
mov edx, dword [ebp - 0x1050]
add edx, 4
mov dword [edx], eax
jmp 0x1810d6f1
push ebp
mov eax, dword [ebp - 0x1058]
push eax
mov edx, dword [ebp - 0x1050]
mov eax, dword [ebp - 0x1050]
add eax, 4
mov ecx, dword [ebp - 0x1054]
call fcn.1810d028
pop ecx
add dword [ebp - 0x1050], 8
dec esi
jne 0x1810d5c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1810d71c
lea eax, [ebp + 0x14]
call fcn.181039dc
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427004]
jne 0x40100a
repz ret
jmp fcn.00401221

Function at 0x404dbc
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.00402623
and dword [ebp - 4], 0
cmp dword [0x428bf0], 0
mov ebx, eax
jne 0x404e6d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404f1e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404f1e
push eax
call fcn.004025b1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428bf0], eax
call esi
push eax
call fcn.004025b1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428bf4], eax
call esi
push eax
call fcn.004025b1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x428bf8], eax
call esi
push eax
call fcn.004025b1
pop ecx
mov dword [0x428c00], eax
test eax, eax
je 0x404e6d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025b1
pop ecx
mov dword [0x428bfc], eax
mov eax, dword [0x428bfc]
cmp eax, ebx
je 0x404ec5
cmp dword [0x428c00], ebx
je 0x404ec5
push eax
call fcn.0040262c
push dword [0x428c00]
mov esi, eax
call fcn.0040262c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404ec5
test edi, edi
je 0x404ec5
call esi
test eax, eax
je 0x404ebc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404ebc
test byte [ebp - 0xc], 1
jne 0x404ec5
or dword [ebp + 0x10], 0x200000
jmp 0x404efe
mov eax, dword [0x428bf4]
cmp eax, ebx
je 0x404efe
push eax
call fcn.0040262c
pop ecx
test eax, eax
je 0x404efe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404efe
mov eax, dword [0x428bf8]
cmp eax, ebx
je 0x404efe
push eax
call fcn.0040262c
pop ecx
test eax, eax
je 0x404efe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428bf0]
call fcn.0040262c
pop ecx
test eax, eax
je 0x404f1e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404f20
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x423430
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5012e4]
push ebx
push esi
mov esi, dword [0x50112c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x42346a
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x427c70]
call fcn.004232f0
cmp dword [0x5012e4], 0x2f
jne 0x423485
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.00423330
add esp, 4
cmp dword [0x5012e4], 0x568
pop esi
pop ebx
jne 0x4234ae
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret