joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af0b2
mov eax, dword fs:[0]
push eax
mov eax, 0x595470
call fcn.0049aab0
mov eax, dword [str._o86]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x59547c], ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0x59547c]
call fcn.0047c885
push 0
call fcn.0047fc44
add esp, 4
push 0x4b79ec
mov ecx, dword [ebp - 0x59547c]
call fcn.0047f04d
lea eax, [ebp - 0x595474]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x595474]
push ecx
mov ecx, dword [ebp - 0x59547c]
add ecx, 0xbc
call fcn.0040ff00
push 0x3c
push 0
lea edx, [ebp - 0x595368]
push edx
call fcn.0049a6f0
add esp, 0xc
mov dword [ebp - 0x595368], 0x10
push 0x4b7a0c
lea eax, [ebp - 0x59534c]
push eax
call fcn.0049a930
add esp, 8
mov dword [ebp - 0x595368], 0x10
lea ecx, [ebp - 0x595368]
push ecx
mov ecx, dword [ebp - 0x59547c]
add ecx, 0xcc
call fcn.004117e0
mov dword [ebp - 0xac], 0x94
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 2
jne 0x410d8c
mov eax, dword [ebp - 0x59547c]
mov byte [eax + 0xd4], 1
jmp 0x410d99
mov ecx, dword [ebp - 0x59547c]
mov byte [ecx + 0xd4], 0
mov edx, dword [ebp - 0x59547c]
mov dword [edx + 0xe8], 0
push 0
lea ecx, [ebp - 0x59532c]
call fcn.00413fb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x59532c]
call fcn.0047eda1
mov dword [ebp - 0x595478], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x59532c]
call fcn.00411160
mov eax, dword [ebp - 0x595478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a6da
mov esp, ebp
pop ebp
ret
Function at 0x410e10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af0fa
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [str._o86]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xdc
call fcn.00410530
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push 0x4b7a14
mov ecx, dword [ebp - 0x2c]
add ecx, 0xbc
push ecx
push eax
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x10]
push edx
call fcn.00402300
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e620
movzx eax, al
test eax, eax
jne 0x410f75
lea ecx, [ebp - 0x14]
call fcn.0040fe00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040fe20
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004015c0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040fee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040fec0
lea ecx, [ebp - 0x10]
call fcn.0040e620
movzx eax, al
test eax, eax
jne 0x410f69
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040fe20
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402430
add esp, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040fee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040fec0
lea ecx, [ebp - 0x10]
call fcn.0040e620
movzx eax, al
test eax, eax
jne 0x410f69
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xbc]
push eax
push 0x4b7a20
mov ecx, dword [ebp - 0x2c]
add ecx, 0xdc
push ecx
call fcn.00410a80
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040fec0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xdc
call fcn.0040e620
movzx edx, al
test edx, edx
je 0x410fab
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xbc]
push ecx
push 0x4b7a28
mov edx, dword [ebp - 0x2c]
add edx, 0xdc
push edx
call fcn.00410a80
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xdc
call fcn.0040ff40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040fec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41a960
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afb87
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [str._o86]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
call fcn.0040fd30
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x595064
call fcn.004521f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41a9ca
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x4c6de0]
push ecx
push str._s_save
mov edx, dword [ebp - 0x24]
add edx, 0x4c6dd8
push edx
call fcn.00410a80
add esp, 0xc
jmp 0x41a9ee
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x4c6de0]
push edx
push str._s_save_d
mov eax, dword [ebp - 0x24]
add eax, 0x4c6dd8
push eax
call fcn.00410a80
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c6dd8
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.0040fee0
mov edx, 5
mov eax, dword [ebp - 0x24]
mov word [eax + 0x594c5c], dx
cmp dword [ebp - 0x14], 0
jne 0x41aa6c
push str._sd11x5.txt
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c6de4
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040fec0
jmp 0x41ab11
cmp dword [ebp - 0x14], 1
jne 0x41aac0
push str.gd11x5.txt
mov edx, dword [ebp - 0x10]
add edx, 0xbc
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c6de4
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040fec0
jmp 0x41ab11
cmp dword [ebp - 0x14], 2
jne 0x41ab11
push str._sh11x5.txt
mov eax, dword [ebp - 0x10]
add eax, 0xbc
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c6de4
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040fec0
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 0x594c5c]
sub edx, 1
mov eax, dword [ebp - 0x24]
mov word [eax + 0x594c80], dx
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.0040ff40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x454280
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1c98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [str._o86]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040e620
movzx eax, al
test eax, eax
je 0x4542d6
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fec0
mov al, byte [ebp - 0x19]
jmp 0x4543b4
lea ecx, [ebp + 8]
call fcn.0040ff70
add eax, 0x16
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x454317
mov byte [ebp - 0x1a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fec0
mov al, byte [ebp - 0x1a]
jmp 0x4543b4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x14
lea ecx, [ebp + 8]
call fcn.0040e5c0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
push ecx
call fcn.0049a930
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0040ff90
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x454388
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x10]
push eax
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x454382
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x454398
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x10], 0
sete dl
mov byte [ebp - 0x1b], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fec0
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x457be0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b21c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._o86]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.00457ce0
test eax, eax
je 0x457c98
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
call fcn.0040fe00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e180
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x24]
call fcn.00479b1e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.0040fe20
mov dword [ebp - 0x34], eax
call fcn.0040ab70
add esp, 8
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x74
call fcn.00472350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00479fec
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040fec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x475a00
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4242
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [str._o86]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x370], ecx
lea eax, [ebp - 0x36c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
mov ecx, dword [ebp - 0x370]
push ecx
push str.Data_Files__.txt_.txtAll_Files__._.
push 6
push 0
push 0x4c103c
push 0
lea ecx, [ebp - 0x1f4]
call fcn.004882d2
mov dword [ebp - 4], 0
mov dword [ebp - 0x1f8], 0x58
call fcn.0040fd30
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
movzx eax, byte [edx + 0xd4]
test eax, eax
jne 0x475aa0
mov dword [ebp - 0x1f8], 0x4c
lea ecx, [ebp - 0x1f4]
call fcn.004879a5
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
lea ecx, [ebp - 0x1f4]
call fcn.00488aba
cmp eax, 2
jne 0x475ae7
lea edx, [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004880da
jmp 0x475c19
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00488da3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.0047886d
mov byte [ebp - 4], 2
push 0
push 0x1001
lea ecx, [ebp - 0x25c]
call fcn.0040ff40
push eax
lea ecx, [ebp - 0x208]
call fcn.00478e3a
test eax, eax
jne 0x475b70
lea ecx, [ebp - 0x36c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.004789ef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0040fec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004880da
jmp 0x475c19
lea edx, [ebp - 0x208]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x24c], 0x475170
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x370]
call fcn.00487321
mov dword [ebp - 0x20c], eax
lea ecx, [ebp - 0x254]
push ecx
push 1
mov ecx, dword [ebp - 0x370]
call fcn.0045da80
mov byte [ebp - 0x230], 0x86
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp - 0x370]
call fcn.004872fe
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x208]
call fcn.00478758
lea eax, [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.004789ef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0040fec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004880da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a6da
mov esp, ebp
pop ebp
ret
Function at 0x486fe5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x48702c
call fcn.0047bfcc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48702c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x487048
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00486b5f
mov esi, eax
test edi, edi
je 0x487046
test ebx, ebx
je 0x487046
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49a6da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [str._o86]
jne 0x49a6e4
repz ret
jmp fcn.004a18cc

Function at 0x4ab056
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.004a1211
and dword [ebp - 4], 0
cmp dword [0x4db840], 0
mov ebx, eax
jne 0x4ab107
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ab1b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c67b8
push edi
call esi
test eax, eax
je 0x4ab1b8
push eax
call fcn.004a119f
mov dword [esp], 0x4c67a8
push edi
mov dword [0x4db840], eax
call esi
push eax
call fcn.004a119f
mov dword [esp], 0x4c6794
push edi
mov dword [0x4db844], eax
call esi
push eax
call fcn.004a119f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4db848], eax
call esi
push eax
call fcn.004a119f
pop ecx
mov dword [0x4db850], eax
test eax, eax
je 0x4ab107
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a119f
pop ecx
mov dword [0x4db84c], eax
mov eax, dword [0x4db84c]
cmp eax, ebx
je 0x4ab15f
cmp dword [0x4db850], ebx
je 0x4ab15f
push eax
call fcn.004a121a
push dword [0x4db850]
mov esi, eax
call fcn.004a121a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ab15f
test edi, edi
je 0x4ab15f
call esi
test eax, eax
je 0x4ab156
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ab156
test byte [ebp - 0xc], 1
jne 0x4ab15f
or dword [ebp + 0x10], 0x200000
jmp 0x4ab198
mov eax, dword [0x4db844]
cmp eax, ebx
je 0x4ab198
push eax
call fcn.004a121a
pop ecx
test eax, eax
je 0x4ab198
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ab198
mov eax, dword [0x4db848]
cmp eax, ebx
je 0x4ab198
push eax
call fcn.004a121a
pop ecx
test eax, eax
je 0x4ab198
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4db840]
call fcn.004a121a
pop ecx
test eax, eax
je 0x4ab1b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ab1ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1097058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010971a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x109707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109706a
add dl, dl
jne 0x1097089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10970dc
xor eax, eax
add dl, dl
jne 0x1097096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109717d
add dl, dl
jne 0x10970a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10970d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1097075
mov eax, 1
add dl, dl
jne 0x10970ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10970e1
sub eax, ebx
mov ebx, 1
jne 0x1097128
mov ecx, 1
add dl, dl
jne 0x109710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1097119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x109713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x109714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097136
cmp eax, 0x7d00
jae 0x109716d
cmp eax, 0x500
jb 0x1097168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
cmp eax, 0x7f
ja 0x1097170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x109719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1097075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x44ea10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x551b6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00540ae9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44ea92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0053d8e7
mov eax, dword [eax]
push 0x89ee14
push eax
call fcn.0052e864
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00540d74
test bl, bl
je 0x44ea92
push 0x89ee14
lea ecx, [esp + 0xc]
call fcn.00541150
push 0x89ee20
lea ecx, [esp + 0xc]
call fcn.00541150
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44eace
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00540d74
jmp 0x44eb99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44eb52
lea edx, [esp + 0x7c]
push 0x89ee1c
push edx
call fcn.0052e864
add esp, 8
test eax, eax
je 0x44eb52
lea eax, [esp + 0x7c]
push 0x89ee18
push eax
call fcn.0052e864
add esp, 8
test eax, eax
je 0x44eb52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44eae2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00540d74
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44f3a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44f402
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44f410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x551beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8ac9fc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44f548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44f476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00540d74
xor eax, eax
jmp 0x44f5bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00540efd
push esi
lea ecx, [esp + 0xc]
call fcn.0054118c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x89ee54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44f59d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x89ee4c
push accept
call fcn.0044f3a0
test eax, eax
jne 0x44f59d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x89ee38
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0044f3a0
test eax, eax
jne 0x44f59d
lea eax, [esp + 0x14]
push 0x89ee30
push eax
call fcn.0052fbd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f57c
lea ecx, [esp + 0x14]
push 0x89ee2c
push ecx
call fcn.0052fb50
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f57c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44f57f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00540ead
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44f48e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00540d74
xor eax, eax
jmp 0x44f5bf
mov byte [esi], 0
push 0x89ee28
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00540d74
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4