joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423690
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
call fcn.00423070
mov edi, eax
test edi, edi
je 0x423799
push edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x423799
push ebx
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x423778
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xffffffff
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004237b0
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42372f
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004237b0
add esp, 0x18
mov dword [ebp - 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
cmp dword [ebp - 0x14], esi
jne 0x423778
push dword [ebp - 0xc]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x423778
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x423778
push dword [ebp - 8]
call fcn.00423990
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call fcn.0043abd0
add esp, 0x10
push esi
call ebx
mov eax, dword [ebp - 8]
pop ebx
test eax, eax
je 0x423787
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x4259b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ea08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x488250]
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, dword [ebp + 8]
xor esi, esi
cmp edi, 0x101
je 0x4259f4
cmp edi, 0x105
je 0x4259f4
xor bl, bl
jmp 0x4259f6
mov bl, 1
mov eax, dword [0x48c138]
or eax, dword [0x48c13c]
jne 0x425a14
mov eax, dword [0x48c140]
or eax, dword [0x48c144]
jne 0x425a14
xor eax, eax
jmp 0x425a84
call fcn.00426430
test al, al
jne 0x425a10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push edi
call fcn.00426250
mov edi, dword [ebp - 0x18]
add esp, 0x10
mov eax, dword [0x48c138]
mov edx, dword [ebp - 0x14]
cmp edi, eax
jne 0x425aa0
mov ecx, dword [0x48c13c]
cmp edx, ecx
jne 0x425aa0
and eax, dword [ebp - 0x20]
and ecx, dword [ebp - 0x1c]
or eax, ecx
je 0x425aa0
mov esi, 1
test bl, bl
je 0x425b60
cmp dword [0x48c030], 0
je 0x425a78
call fcn.00426510
push esi
call fcn.00413680
add esp, 4
mov dword [0x48c030], 0
mov eax, esi
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.004380af
mov esp, ebp
pop ebp
ret
mov eax, dword [0x48c140]
cmp edi, eax
jne 0x425a78
mov ecx, dword [0x48c144]
cmp edx, ecx
jne 0x425a78
and eax, dword [ebp - 0x20]
and ecx, dword [ebp - 0x1c]
or eax, ecx
je 0x425a78
test bl, bl
jne 0x425a78
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x18], xmm0
call fcn.00425540
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
mov dword [eax], 0x1000000
mov dword [eax + 0xc], 1
lea eax, [ebp - 0x18]
push eax
mov dword [0x4899c0], 0xffffffff
call fcn.00407aa0
call fcn.004093e0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 8
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x1f4
jge 0x425b3f
nop dword [eax]
mov eax, dword [0x4899c0]
cmp eax, 0xffffffff
jne 0x425b44
push 1
call fcn.00413430
add esp, 4
call esi
sub eax, edi
cmp eax, 0x1f4
jl 0x425b20
mov eax, dword [0x4899c0]
xor ecx, ecx
mov esi, 2
test eax, eax
cmovle esi, ecx
lea ecx, [ebp - 0x18]
call fcn.00407b30
test esi, esi
je 0x425a78
mov dword [0x48c030], 1
jmp 0x425a82

Function at 0x427a50
Capabilities:
Log keystrokes via application hook

Disassembly:
mov ecx, 0x48c0e0
call fcn.00428880
push 0
push dword [0x48c048]
push 0x425b80
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x48c04c], eax
mov ecx, 0x48c0e0
jmp fcn.004288a0
Function at 0x427ca0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.0042df40
push 0xc
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x20001
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
push 0xc
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x60001
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
call fcn.004263b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004380af
mov esp, ebp
pop ebp
ret

Function at 0x427d10
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xc
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x60001
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x427db0
Capabilities:
Create thread
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ec58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push edi
mov eax, dword [0x488250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xcf0000
push 0x48c058
push 0x46a0c0
push 0x80
call fcn.00424aa0
mov edi, eax
test edi, edi
jne 0x427e26
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00410f90
push eax
push 1
push 0x80
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00413440
push eax
push 0
push 0x80
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
mov ecx, 0x48c0e4
mov dword [0x48c108], 0x48c120
mov dword [0x48c10c], eax
mov dword [0x48c110], edi
call fcn.00424720
xor eax, eax
mov word [0x48c120], ax
lea eax, [ebp - 0x24]
push eax
call fcn.00411460
add esp, 4
push 0xd
push str.evkmacro.txt
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040be20
lea ecx, [ebx + 0x14]
cmp ecx, eax
je 0x427eba
push 0xffffffffffffffff
push 0
push eax
call fcn.00405630
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x427ed6
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00405850
xor eax, eax
mov dword [ebp - 0x10], 7
push eax
push eax
push eax
push 0x427d60
push eax
push eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [0x483d78], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.SHELLHOOK
mov dword [0x48c11c], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push edi
mov dword [ebx + 0x3c], eax
call dword [sym.imp.USER32.dll_RegisterShellHookWindow]
push 0x48c0c0
push dword [ebx + 4]
call fcn.00424e70
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427f50
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.0042e150
call fcn.00428050
mov eax, dword [0x483d84]
mov edi, 1
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 0x10], 0x20001
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
call fcn.004263c0
mov eax, dword [0x483d84]
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 0x10], 0x60001
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
cmp dword [0x48c04c], 0
jne 0x427fe9
push 0x10
push 0x46a318
push 0x46a340
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004380af
mov esp, ebp
pop ebp
ret

Function at 0x428000
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x483d84]
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0x60001
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x428c30
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ed16
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push 3
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x428c8f
xor eax, eax
jmp 0x428de7
cmp byte [ebp + 8], 0
je 0x428da7
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x46a6e0
lea ecx, [ebp - 0x268]
call fcn.0040a020
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0040ef40
push 0x46a6dc
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
call fcn.0040ef40
mov eax, dword [ebp - 0x23c]
add esp, 0x18
cmp eax, 8
jb 0x428d0f
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00405850
xor eax, eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x240], 0
cmp eax, 8
jb 0x428d4a
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00405850
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x46a6e4
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x21c]
inc esi
cmp eax, 8
jb 0x428dd9
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00405850
jmp 0x428dd9
push 0x46a6f0
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0
push 0
push 0
push 0
push 0x46a6fc
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret 4
Function at 0x429d20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eead
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x488250]
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, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x220], ecx
mov dword [edi + 0x10], 0
jb 0x429d90
mov eax, dword [edi]
jmp 0x429d92
mov eax, edi
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x214]
mov dword [ebp - 4], edx
push eax
push ecx
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x214], edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x429e9c
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push ebx
push eax
call fcn.00429c80
add esp, 8
mov esi, dword [ebp - 0x228]
mov dword [ebp - 4], 1
test esi, esi
je 0x429e9c
push esi
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x220]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.00429cd0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x218], 0
je 0x429e93
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x429e93
push ecx
mov ecx, edi
call fcn.0040f830
push esi
call fcn.00438227
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x4349f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f4b0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [0x485c48]
push eax
call fcn.00435600
mov ecx, dword [0x485c48]
push esi
mov dword [ebp - 0x58], eax
call fcn.00435600
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x60], eax
je 0x434b01
test eax, eax
je 0x434b01
test esi, esi
je 0x434a62
cmp esi, 4
jne 0x434a7a
push edi
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xfeff
push 2
push eax
call fcn.004470a1
add esp, 0x10
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
push 0
push 0x2000
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
movq qword [ebp - 0x34], xmm0
call fcn.0045b740
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0
push 0x2000
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.0045b790
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0045ba10
push edi
lea ecx, [ebp - 0x2c]
call fcn.0045ba40
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x58]
call fcn.00434510
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0045b8e0
lea ecx, [ebp - 0x54]
call fcn.0045b8b0
mov eax, esi
jmp 0x434b06
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret

Function at 0x454a0c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004546cf

Function at 0x454a17
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00454850

Function at 0x457d18
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004579c6

Function at 0x45c040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x45c053
xor eax, eax
pop esi
pop ebp
ret 8
push edi
mov edi, dword [ebp + 0xc]
push dword [esi + 4]
cmp edi, 0xffffffff
jne 0x45c081
push dword [ebp + 8]
call fcn.00448816
add esp, 8
xor ecx, ecx
cmp eax, edi
sete cl
xor eax, eax
test ecx, ecx
mov dword [esi + 0x14], ecx
pop edi
sete al
pop esi
pop ebp
ret 8
push edi
push 1
push dword [ebp + 8]
call fcn.004470a1
add esp, 0x10
xor ecx, ecx
cmp eax, edi
setne cl
xor eax, eax
test ecx, ecx
mov dword [esi + 0x14], ecx
pop edi
sete al
pop esi
pop ebp
ret 8
Function at 0x403f5c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x51f6bb
call fcn.004512a8
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040215e
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.00403bb8
pop ecx
cmp eax, 0xa
jne 0x403fe6
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040215e
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
call fcn.00403d68
pop ecx
pop ecx
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop esi
idiv esi
lea eax, [ebp + edx - 0x17]
mov dl, byte [ebp + ecx - 0x1c]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x403fb4
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x17]
push eax
push esi
call fcn.004513b0
xor ebx, ebx
add esp, 0xc
mov dword [esi + 0x10], 0x3fe
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402189
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40442e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x51f743
call fcn.004512a8
sub esp, 0x6c
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402133
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x78]
sub eax, edx
lea edx, [eax + ecx*2]
mov edi, 0x9234
xor di, word [ebp + edx - 0x78]
inc ecx
cmp ecx, 0x32
mov word [ebp + ecx*2 - 0x7a], di
jl 0x40444f
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004026dd
nop
nop
nop
nop
nop
nop
nop
nop
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x404520
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x51f785
call fcn.004512a8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
sub esp, 0x110
test al, 1
jne 0x404541
xor eax, eax
jmp 0x404670
push ebx
push esi
mov esi, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esi]
push edi
mov edi, dword [eax - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00403f25
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov dword [ebp + 8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402189
push ebx
mov ecx, esi
call fcn.004021dc
push ebx
push eax
lea ecx, [ebp - 0x98]
call fcn.00403adc
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.00403f25
mov byte [ebp - 4], 2
push ebx
mov ecx, eax
call fcn.004021dc
push ebx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403adc
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.00402189
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 0xc], eax
jg 0x4045cb
mov dword [ebp + 0xc], edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], ebx
jle 0x404620
mov eax, ebx
cdq
idiv dword [ebp + 8]
mov eax, ebx
push 0x19
pop ebx
mov esi, edx
cdq
idiv edi
mov eax, dword [ebp - 0x98]
mov ecx, edx
mov edx, dword [ebp - 0x11c]
mov dl, byte [edx + esi]
add eax, ecx
xor byte [eax], dl
mov eax, dword [ebp - 0x98]
lea esi, [eax + ecx]
movsx eax, byte [esi]
cdq
idiv ebx
mov ebx, dword [ebp - 0x10]
mov byte [esi], dl
mov eax, dword [ebp - 0x98]
add eax, ecx
add byte [eax], 0x41
inc ebx
cmp ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
jl 0x4045d3
push dword [ebp - 0x98]
mov ecx, dword [ebp + 0x10]
call fcn.00404256
mov byte [ebp - 4], 1
pop edi
lea eax, [ebp - 0x118]
pop esi
pop ebx
cmp dword [ebp - 0x11c], eax
je 0x40464f
push dword [ebp - 0x11c]
call fcn.00451e8b
pop ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x40466d
push dword [ebp - 0x98]
call fcn.00451e8b
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x40469c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x51f7e4
call fcn.004512a8
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.004043e1
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.004043e1
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call fcn.00403b44
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
call fcn.0040467e
mov byte [ebp - 4], 2
push dword [esi + 0xc]
call fcn.00450d90
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
push dword [esi + 8]
call fcn.00450d90
mov dword [esi + 8], ebx
mov byte [ebp - 4], bl
push dword [esi + 4]
call fcn.00450d90
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.00450d90
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4046a8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x51f7e4
call fcn.004512a8
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.004043e1
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.004043e1
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call fcn.00403b44
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
call fcn.0040467e
mov byte [ebp - 4], 2
push dword [esi + 0xc]
call fcn.00450d90
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
push dword [esi + 8]
call fcn.00450d90
mov dword [esi + 8], ebx
mov byte [ebp - 4], bl
push dword [esi + 4]
call fcn.00450d90
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.00450d90
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4069fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax + 1]
test eax, eax
jle 0x406a28
mov edx, eax
push esi
xor ecx, ecx
mov eax, dword [ebp + 8]
lea eax, [eax + ecx*2]
mov esi, 0x9234
xor word [eax], si
inc ecx
cmp ecx, 0x32
jl 0x406a10
dec edx
jne 0x406a0e
pop esi
pop ebp
ret
Function at 0x431d23
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret