joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4608a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46093f
cmp dword [ebx + 0x94], 0
jne 0x460939
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460828
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460939
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4608ff
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460939
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a5c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46090e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460b58
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49aca0]
cmp dword [eax + 0x30], 0
je 0x460cb5
test bl, bl
jne 0x460c06
cmp dword [esi + 0x9c], 0
jne 0x460bfb
mov eax, esi
call fcn.004633e0
push eax
push 0x460a84
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x460bcc
mov eax, dword [0x49aca0]
call fcn.00463ac0
test al, al
je 0x460bcc
mov eax, dword [0x49acc4]
call fcn.00405f8c
mov edi, eax
cmp edi, 0
jl 0x460bcc
push 0
mov eax, dword [0x49acc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x460bb6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x460bfb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a5c0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x460bdb
inc dword [esi + 0x9c]
jmp 0x460cb5
cmp dword [esi + 0x9c], 0
jle 0x460cb5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x460cb5
cmp dword [esi + 0x44], 0
je 0x460c61
mov eax, dword [0x49aca0]
call fcn.00463ac0
test al, al
je 0x460c61
mov eax, dword [0x49acc4]
call fcn.00405f8c
mov edi, eax
cmp edi, 0
jl 0x460c61
push 5
mov eax, dword [0x49acc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x460c4b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x460c90
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a5c0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x460c70
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49acc4
mov ecx, 1
mov edx, dword [0x460a64]
call fcn.00406140
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x461748
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4617b2
mov eax, ebx
call fcn.00463ac0
test al, al
jne 0x4617b2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c08
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46179f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4617bf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
jmp 0x4617bf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x462bc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462c2e
mov eax, esi
call fcn.0044bdd8
test al, al
je 0x462c2e
mov eax, dword [ebx + 0x84]
call fcn.0044ba54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462c2e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x462c22
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ba54
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004439dc
jmp 0x462c2e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004629fc
pop esi
pop ebx
ret

Function at 0x465af0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x465b54
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d88
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409760
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465b5b
lea eax, [ebp - 0xc]
call fcn.00404b18
ret

Function at 0x465bf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x465c50
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x465c1f
call fcn.0040e978
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403078
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x465c50
call fcn.0040e978
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x47f480
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x495200]
cmp dword [eax], 2
je 0x47f49e
mov ecx, 0x310
mov edx, 0x47f4d0
mov eax, 0x47f530
call fcn.00404adc
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x47f420
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x49b088], eax
cmp dword [0x49b088], 0
jne 0x47f4c5
call fcn.0040e978
ret

Function at 0x47f738
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x494df8]
cmp byte [eax], 0
jne 0x47f766
mov ecx, 0xaf
mov edx, 0x47f7b4
mov eax, 0x47f814
call fcn.00404adc
mov eax, ebx
call fcn.004052cc
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x47f7a4
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040547c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47f828
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x494df8]
cmp byte [eax], 0
jne 0x47f84b
mov ecx, 0xbd
mov edx, 0x47f88c
mov eax, 0x47f8ec
call fcn.00404adc
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x47f87e
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x47f87e
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x47f87e
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x480478
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48060a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 8]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
test esi, esi
jne 0x4804b9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4804d6
mov edi, dword [esi + 0x6c]
test edi, edi
je 0x4804cc
mov eax, edi
call fcn.00438c08
mov dword [ebp - 4], eax
jmp 0x4804d6
mov eax, esi
call fcn.00438c08
mov dword [ebp - 4], eax
mov eax, dword [0x494df8]
cmp byte [eax], 0
je 0x4805ef
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x4805ef
test ebx, ebx
je 0x4805ef
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1c]
and ax, word [0x480618]
movzx edx, word [0x48061c]
cmp dx, ax
jne 0x4805ef
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3e], 0
je 0x4805ef
push ebp
call fcn.00480280
pop ecx
test al, al
je 0x4805ef
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00480094
mov eax, dword [ebp - 8]
call fcn.0043a754
test eax, eax
jne 0x48059d
mov eax, dword [ebp - 8]
cmp word [eax + 0x60], 0
je 0x48059d
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
test esi, esi
je 0x480576
cmp dword [esi + 0x64], 0
jne 0x480576
mov eax, dword [esi + 4]
mov edx, dword [0x437580]
call fcn.00403de0
test al, al
jne 0x48059d
push dword [ebp - 0xc]
push 0x480624
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x60]
call fcn.0047f900
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405594
push ebp
lea eax, [ebp - 0x14]
call fcn.004802dc
pop ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004055dc
je 0x4805ef
push ebp
mov eax, dword [ebp - 0xc]
call fcn.004803e8
pop ecx
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
cmp esi, dword [ebx + 0x34]
je 0x4805cf
cmp dword [esi + 0x6c], 0
je 0x4805ef
mov eax, ebx
mov edx, dword [0x437580]
call fcn.00403de0
test al, al
je 0x4805ef
cmp dword [ebx + 0x38], 0
je 0x4805ef
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_DrawMenuBar
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480611
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004052e4
ret
Function at 0x48fa20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x48fa34
mov eax, esi
call fcn.0048faf8
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x48fa5d
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x48fa5d
add dword [esi + 0x18], 2
jno 0x48fa53
call fcn.00403b24
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x48fa6a
call fcn.00403b24
sub eax, 5
jno 0x48fa74
call fcn.00403b24
mov byte [esi + 0xc], 0xe9
mov edx, eax
and edx, 0xff
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48faf2
call fcn.0040e978
pop edx
pop esi
pop ebx
ret
Function at 0x48fbb4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x48fbd2
add esp, 0xfffffff0
call fcn.00403fb8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f98
xor eax, eax
push ebp
push 0x48fdae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404fa8
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
mov dword [esi + 0x20], edi
cmp edi, 0xffffffff
jne 0x48fc3a
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x48fde0
call fcn.00404e30
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48b900]
call fcn.0040d3e4
call fcn.00404508
push 0
push 0
push 0
push 2
push 0
mov eax, dword [esi + 0x20]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
mov dword [esi + 0x24], edi
test edi, edi
jne 0x48fc7a
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x48fdfc
call fcn.00404e30
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x48b900]
call fcn.0040d3e4
call fcn.00404508
push 0
push 0
push 0
push 4
mov eax, dword [esi + 0x24]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [esi + 0x28], edi
test edi, edi
jne 0x48fccd
push 0x48fe28
push dword [ebp - 4]
push 0x48fe44
lea eax, [ebp - 0x14]
call fcn.0048c530
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404eac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48b900]
call fcn.0040d3e4
call fcn.00404508
mov eax, dword [ebp + 0x10]
add eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov byte [esi + 4], 0
mov edx, dword [esi + 0x2c]
xor ecx, ecx
mov eax, esi
call fcn.0048fb9c
cmp eax, 0x950412de
je 0x48fd18
cmp eax, 0xde120495
je 0x48fd18
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x48fe64
call fcn.00404e30
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x48b900]
call fcn.0040d3e4
call fcn.00404508
cmp eax, 0xde120495
sete al
mov byte [esi + 4], al
mov edx, dword [esi + 0x2c]
mov ecx, 4
mov eax, esi
call fcn.0048fb9c
mov edx, dword [esi + 0x2c]
mov ecx, 8
mov eax, esi
call fcn.0048fb9c
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0xc
mov eax, esi
call fcn.0048fb9c
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0x10
mov eax, esi
call fcn.0048fb9c
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jns 0x48fd74
call fcn.00403b1c
mov dword [esi + 0x18], 1
test eax, eax
je 0x48fd88
shr eax, 1
shl dword [esi + 0x18], 1
test eax, eax
jne 0x48fd7f
shr dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
shr eax, 1
mov dword [esi + 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fdb5
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404b3c
ret
Function at 0x490704
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x1024], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x1014], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x490749
add esp, 0xfffffff0
call fcn.00403fb8
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.0040586c
lea eax, [ebp + 8]
call fcn.0040586c
xor eax, eax
push ebp
push 0x490911
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403c24
xor eax, eax
mov dword [edi + 0x14], eax
push 0
lea eax, [edi + 0x10]
mov ecx, 1
mov edx, dword [0x4903a0]
call fcn.00406140
add esp, 4
lea eax, [ebp - 0x1014]
mov edx, dword [ebp + 8]
call fcn.00404da0
mov eax, dword [ebp - 0x1014]
lea edx, [ebp - 0x1010]
call fcn.00484950
mov edx, dword [ebp - 0x1010]
lea eax, [edi + 4]
call fcn.00405498
lea eax, [edi + 8]
mov edx, dword [ebp + 8]
call fcn.00405308
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
call fcn.00469b58
push dword [ebp - 0x1018]
push dword [ebp + 8]
push 0x49093c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405594
mov eax, dword [ebp - 8]
call fcn.00469c98
test al, al
je 0x49083f
mov eax, dword [ebp - 8]
call fcn.004054a8
push eax
push 0xff
lea eax, [ebp - 0x100a]
push eax
push 0x490950
push 0x49095c
push 0x490968
call sub.kernel32.dll_GetPrivateProfileStringW
lea eax, [edi + 0xc]
lea edx, [ebp - 0x100a]
mov ecx, 0x801
call fcn.0040547c
jmp 0x49084c
lea eax, [edi + 0xc]
mov edx, 0x490978
call fcn.00405308
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1024]
mov eax, dword [ebp - 4]
call fcn.00469b58
push dword [ebp - 0x1024]
push dword [ebp + 8]
push 0x490988
lea eax, [ebp - 0x1020]
mov edx, 3
call fcn.00405594
mov edx, dword [ebp - 0x1020]
lea eax, [ebp - 0x101c]
call fcn.00404da0
mov ecx, dword [ebp - 0x101c]
mov dl, 1
mov eax, dword [0x48b9bc]
call fcn.0048fbb4
mov esi, eax
mov eax, esi
call fcn.0048ff64
mov dword [edi + 0x18], eax
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490918
lea eax, [ebp - 0x1024]
mov edx, 2
call fcn.004052e4
lea eax, [ebp - 0x101c]
call fcn.00404b18
lea eax, [ebp - 0x1018]
call fcn.004052cc
lea eax, [ebp - 0x1014]
mov edx, 2
call fcn.00404b3c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052e4
lea eax, [ebp + 8]
call fcn.004052cc
ret
Function at 0x4909b8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4909e7
add esp, 0xfffffff0
call fcn.00403fb8
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.0040586c
xor eax, eax
push ebp
push 0x490b89
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403c24
xor eax, eax
mov dword [edi + 8], eax
push 0
lea eax, [edi + 4]
mov ecx, 1
mov edx, dword [0x490478]
call fcn.00406140
add esp, 4
lea edx, [ebp - 0x25c]
mov eax, dword [ebp - 4]
call fcn.00469b58
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 8]
mov ecx, 0x490bb4
call fcn.00405524
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
call fcn.004054a8
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x490b5e
cmp word [ebp - 0x22c], 0x2e
je 0x490b41
test byte [ebp - 0x258], 0x10
je 0x490b41
mov eax, dword [edi + 8]
inc eax
push eax
lea eax, [edi + 4]
mov ecx, 1
mov edx, dword [0x490478]
call fcn.00406140
add esp, 4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.0040547c
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4903c4]
call fcn.00490704
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 8]
jmp 0x490b41
cmp word [ebp - 0x22c], 0x2e
je 0x490b41
test byte [ebp - 0x258], 0x10
je 0x490b41
mov eax, dword [edi + 8]
inc eax
push eax
lea eax, [edi + 4]
mov ecx, 1
mov edx, dword [0x490478]
call fcn.00406140
add esp, 4
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.0040547c
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4903c4]
call fcn.00490704
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 8]
lea eax, [ebp - 0x258]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x490adb
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490b90
lea eax, [ebp - 0x264]
mov edx, 3
call fcn.004052e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052e4
ret
Function at 0x490f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404f98
xor eax, eax
push ebp
push 0x490fbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
push 0x12d
lea eax, [ebp - 0x135]
push eax
push 0x490fcc
push edi
push esi
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 8]
lea edx, [ebp - 0x135]
mov ecx, 0x12d
call fcn.00404d88
mov eax, dword [ebp - 8]
mov edx, 0x490fd8
call fcn.00404f40
jne 0x490f8e
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b6c
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx]
call fcn.00404fa8
push eax
push edi
push esi
call sub.kernel32.dll_WritePrivateProfileStringA
jmp 0x490fa0
mov eax, ebx
lea edx, [ebp - 0x135]
mov ecx, 0x12d
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490fc2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b3c
ret
Function at 0xfce058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fce1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfce07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfce06a
add dl, dl
jne 0xfce089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfce0dc
xor eax, eax
add dl, dl
jne 0xfce096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfce17d
add dl, dl
jne 0xfce0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfce0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfce0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfce0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfce0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfce075
mov eax, 1
add dl, dl
jne 0xfce0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfce0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfce0e1
sub eax, ebx
mov ebx, 1
jne 0xfce128
mov ecx, 1
add dl, dl
jne 0xfce10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfce119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfce105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfce075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfce13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfce14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfce136
cmp eax, 0x7d00
jae 0xfce16d
cmp eax, 0x500
jb 0xfce168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfce075
cmp eax, 0x7f
ja 0xfce170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfce075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfce19e
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 0xfce075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002aaee
pop dword [ebp - 0x24]
mov eax, 0x61ff806c
add eax, 0xae032a82
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd5991f67
add dword [ebp - 0x34], 0x78b925e4
mov dword [ebp - 0x30], 0x28649de9
add dword [ebp - 0x30], 0x9ceae5c
mov dword [ebp - 0x2c], 0x261c9fa8
sub dword [ebp - 0x2c], 0xd9d05b7a
mov dword [ebp - 0x28], 0x1128bbc5
add dword [ebp - 0x28], 0xeed7443b
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf84d0290
sub dword [ebp - 0x34], 0x83da993a
mov dword [ebp - 0x30], 0xe63ed09b
sub dword [ebp - 0x30], 0xa4d26f26
mov dword [ebp - 0x2c], 0x4d167b23
sub dword [ebp - 0x2c], 0xe9a70eb7
mov dword [ebp - 0x28], 0x18103ff3
add dword [ebp - 0x28], 0xe7efc00d
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37a6c
push 0
call eax
mov ecx, 0x9e08a1dd
add ecx, 0x61f7aadf
xor ebx, ebx
add ebx, eax
mov edx, 0x8910fb27
sub edx, 0x790d6527
add edx, dword [ebp - 0x24]
mov edi, 0xcfcc7ca4
add edi, 0x3ac98194
xor dword [ebp - 0x14], 0xbb926ca8
mov esi, dword [edx]
xor dword [ebp - 0xc], 0xb9193ec0
sub esi, edi
mov dword [ebp - 0x14], 0xe1d7c646
mov dword [ebx], esi
mov dword [ebp - 0x14], 0x4a9c39dc
add ebx, 4
add edx, 0x74e302a5
sub edx, 0x74e302a1
loop 0x1002ac08
add eax, 0x125c3
mov ebx, eax
add eax, 5
mov ecx, 0xae26c781
add ecx, 0x61d9387f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret