joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447284
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4472bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44729d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4472ac
or bl, 4
test esi, 0x20000000
je 0x4472b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d964
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d976
add esp, 0xfffffff0
call fcn.00403a78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419c40
mov eax, dword [0x455e9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44dd08
mov eax, dword [0x455ea8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44dd14
mov eax, ebx
call fcn.0044dd20
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44a13c
push eax
push 0
push 0
mov eax, dword [0x455ff8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b68c]
call fcn.0041ce00
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b68c]
call fcn.0041ce00
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b68c]
call fcn.0041ce00
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e140
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e01c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e01c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e01c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dab3
call fcn.00403ad0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44de00
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44dfab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44df8c
mov dl, 1
mov eax, dword [0x4122c0]
call fcn.00403724
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44df7b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043be34
test al, al
je 0x44df6e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44dfbc
lea eax, [ebp - 0x254]
call fcn.00409270
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44df6e
xor eax, eax
push ebp
push 0x44df67
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44dff4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44df50
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404714
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44df50
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44df6e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44de71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415d9c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dfb2
lea eax, [ebp - 0x260]
call fcn.004044a4
ret

Function at 0x44e8e0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x457bb0]
cmp byte [eax + 0xa5], 0
jne 0x44e951
cmp dword [0x457bc8], 0
jne 0x44e912
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e89c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457bc8], eax
cmp dword [0x457bc4], 0
jne 0x44e92d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457bc4], eax
cmp dword [0x457bcc], 0
jne 0x44e951
push esp
push 0
push 0
push 0x44e840
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457bcc], eax
pop edx
ret
Function at 0x44ea48
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ea5f
add esp, 0xfffffff0
call fcn.00403a78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419c40
mov eax, dword [0x455fe4]
cmp word [eax + 2], 0
jne 0x44ea87
mov eax, dword [0x455fe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004501b0
mov eax, dword [0x456094]
cmp word [eax + 2], 0
jne 0x44eaa1
mov eax, dword [0x456094]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004503a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411ea4]
call fcn.00403724
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c16c]
call fcn.004234d4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44ec28
mov eax, dword [0x455f04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004238a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450948
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x455f04]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ca74
test eax, eax
je 0x44eb96
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c64
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca9c
test eax, eax
je 0x44ebaa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404714
mov eax, dword [0x455dec]
cmp byte [eax], 0
jne 0x44ebde
mov eax, ebx
call fcn.0044ed50
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00450b24
mov eax, ebx
call fcn.004514e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ec1e
call fcn.00403ad0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44efd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bb0]
cmp dword [eax + 0x30], 0
je 0x44f07a
cmp dword [ebx + 0x94], 0
jne 0x44f074
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ef60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f074
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 0x44f03a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f074
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.0041420c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f049
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44fbdc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44fc11
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.00404594
jmp 0x44fc1e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450d00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450d41
mov eax, esi
call fcn.004374f4
test al, al
je 0x450d41
mov eax, dword [ebx + 0x84]
call fcn.00437294
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450d41
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437294
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x451db0
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x40
push 0
push 0
dec ecx
jne 0x451db8
push ecx
push ebx
push esi
push edi
lea ebx, [ebp - 0x1d0]
xor eax, eax
push ebp
push 0x452067
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x452035
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x452080
mov edx, dword [0x457e40]
call fcn.004047b0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00402de4
mov eax, ebx
call fcn.00402b80
call fcn.0040286c
mov edx, 0x452098
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
push 0x4520a8
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00402a38
push dword [ebp - 0x1d8]
push 0x4520b8
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404824
mov edx, dword [ebp - 0x1d4]
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
push 0x4520c4
lea edx, [ebp - 0x1e0]
xor eax, eax
call fcn.00402a38
push dword [ebp - 0x1e0]
push 0x4520b8
push 0x4520d8
lea eax, [ebp - 0x1dc]
mov edx, 4
call fcn.00404824
mov edx, dword [ebp - 0x1dc]
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
push 0x4520a8
lea edx, [ebp - 0x1ec]
xor eax, eax
call fcn.00402a38
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.00408aac
push dword [ebp - 0x1e8]
push 0x4520ec
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404824
mov edx, dword [ebp - 0x1e4]
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
push 0x4520fc
lea edx, [ebp - 0x1f8]
xor eax, eax
call fcn.00402a38
mov eax, dword [ebp - 0x1f8]
lea edx, [ebp - 0x1f4]
call fcn.00408aac
push dword [ebp - 0x1f4]
push 0x45210c
lea eax, [ebp - 0x1f0]
mov edx, 3
call fcn.00404824
mov edx, dword [ebp - 0x1f0]
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
push 0x4520fc
lea edx, [ebp - 0x204]
xor eax, eax
call fcn.00402a38
mov eax, dword [ebp - 0x204]
lea edx, [ebp - 0x200]
call fcn.00408aac
push dword [ebp - 0x200]
push 0x4520b8
lea eax, [ebp - 0x1fc]
mov edx, 3
call fcn.00404824
mov edx, dword [ebp - 0x1fc]
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
mov edx, 0x45211c
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
mov edx, 0x452148
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
mov edx, 0x452174
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
mov edx, 0x452198
mov eax, ebx
call fcn.00404b54
call fcn.0040321c
call fcn.0040286c
mov eax, ebx
call fcn.00402eac
call fcn.0040286c
push 0
mov eax, dword [ebp - 4]
call fcn.00404964
push eax
call sub.kernel32.dll_WinExec
mov bl, 1
call fcn.004043b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452041
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45206e
lea eax, [ebp - 0x204]
mov edx, 0xd
call fcn.004044c8
lea eax, [ebp - 4]
call fcn.004044a4
ret
Function at 0x452fc4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4531bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x453189
push dword fs:[edx]
mov dword fs:[edx], esp
push edi
push 0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x453041
push 0
push 0
push 0x10
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, 2
call fcn.00451834
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00451854
jmp 0x453171
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404714
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408ae0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004080d4
mov eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x140]
mov edx, edi
call fcn.0040469c
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.004080d4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004048b0
je 0x453130
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404714
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004080d4
mov eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x150]
mov edx, edi
call fcn.0040469c
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.004080d4
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.004048b0
jne 0x453162
mov eax, dword [ebp - 0x124]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
mov bl, 1
lea eax, [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404714
jmp 0x453179
xor ebx, ebx
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00451874
test eax, eax
jne 0x45306b
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453195
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531c2
lea eax, [ebp - 0x150]
mov edx, 9
call fcn.004044c8
lea eax, [ebp - 4]
call fcn.004044a4
ret
Function at 0x40c404
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40c413
pop dword [ebp - 0x44]
mov eax, 0x5cd57ef
sub eax, 0x58c93dc
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3c103
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x413b
mov edx, eax
mov edi, 0xd9594862
sub edi, 0xd915f462
add edi, dword [ebp - 0x44]
mov esi, 0xb1c5efb9
sub esi, 0x6ff84fe2
mov ebx, dword [edi]
add dword [ebp - 0x10], 0xc841e03
sub ebx, esi
xor dword [ebp - 0x2c], esi
mov dword [edx], ebx
add dword [ebp - 0x24], 0x9944748f
add edx, 0x28a067d7
sub edx, 0x28a067d3
add edi, 4
loop 0x40c467
add eax, 0xf865f2d5
add eax, 0x79b04ea
mov ebx, eax
add eax, 0x2a015d1
sub eax, 0x2a015cc
mov ecx, 0x80f0625c
add ecx, 0x7f4f9da4
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x42c370
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x496f54]
or eax, 0x3e835a05
mov dword [0x496f54], eax
mov eax, dword [0x49d59c]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.00441730
mov si, word [0x4994d6]
mov cx, si
or ecx, 0x242e
mov si, cx
mov word [0x4994d6], si
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.00456d3c
int3
Function at 0x438b40
Capabilities:
Hash data with md5

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 0x2533b96a
mov dword [esp + 4], ecx
mov edx, ecx
mov si, word [0x49c5ba]
mov di, si
mov ebx, edi
inc ebx
mov si, bx
mov word [0x49c5ba], si
mov si, word [0x498fac]
mov bx, si
add ebx, edi
mov si, bx
mov word [0x498fac], si
mov dword [ecx], 0
mov edi, dword [0x493fa8]
add edi, 0xda931894
mov dword [0x493fa8], edi
mov dword [ecx + 4], 0
mov ecx, dword [0x48dea4]
imul ecx, ecx, 0x4e3e619f
add ecx, 0x89240443
cmp eax, ecx
mov dword [esp], edx
jl 0x438be9
mov ax, word [0x49852c]
movsx ecx, ax
mov ax, word [0x49837e]
movsx edx, ax
sar edx, 1
sub ecx, edx
or ecx, 0x415c8c37
mov edx, dword [0x48f2fc]
sub edx, ecx
mov dword [0x48f2fc], edx
jmp 0x438c25
mov eax, 0x4386615e
mov ecx, dword [0x48c928]
sar ecx, 3
cmp eax, ecx
je 0x438c20
mov eax, dword [0x48e240]
mov ecx, eax
inc ecx
mov dword [0x48e240], ecx
xor eax, 0x62bec80d
mov ecx, dword [0x49535c]
add ecx, eax
mov dword [0x49535c], ecx
jmp 0x438c25
mov eax, dword [esp]
mov dword [eax + 8], 0x67452301
mov ecx, dword [0x49489c]
and ecx, 0xbbb42e19
mov dword [0x49489c], ecx
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [0x4925b4]
mov edx, 0xf752de68
sub edx, ecx
xor edx, 0x408a6835
mov ecx, dword [0x48d560]
mov esi, ecx
inc esi
mov dword [0x48d560], esi
cmp edx, ecx
jle 0x438ccc
mov ax, word [0x498878]
movsx ecx, ax
xor ecx, 0x7f95a932
mov ax, word [0x49bda6]
movsx edx, ax
shl edx, 7
and edx, 0xff089c5e
xor edx, 0x6070087
cmp ecx, edx
jle 0x438cc7
mov eax, 0xfd3b97f6
mov ecx, dword [0x48adac]
mov edx, ecx
dec edx
mov dword [0x48adac], edx
cmp eax, ecx
jne 0x438cc2
jmp 0x438cc2
jmp 0x438cc7
jmp 0x438ccc
mov eax, dword [esp]
mov dword [eax + 0x10], 0x98badcfe
mov ecx, dword [0x48d784]
mov edx, ecx
dec edx
mov dword [0x48d784], edx
add ecx, 0x4bf81751
mov dword [0x492f84], ecx
mov dword [eax + 0x14], 0x10325476
mov word [0x49866a], 0x399c
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x46c21a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4898f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045f68e
mov dword [ebp - 0x14], eax
cmp dword [0x49ea5c], esi
jne 0x46c30d
push 0x800
push esi
push 0x47fd08
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46c29a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46c3ed
push esi
push esi
push 0x47fd08
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46c3ed
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c3ed
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49ea5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49ea60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49ea64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ea6c], eax
test eax, eax
je 0x46c30a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ea68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46c332
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46c325
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46c347
push 4
pop eax
jmp 0x46c3ef
cmp dword [ebp - 0x14], esi
je 0x46c347
push dword [0x49ea5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46c32c
mov eax, dword [0x49ea68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46c3a5
cmp dword [0x49ea6c], edi
je 0x46c3a5
push eax
call ebx
push dword [0x49ea6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46c3a5
test eax, eax
je 0x46c3a5
call ecx
test eax, eax
je 0x46c39a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46c39a
test byte [ebp - 8], 1
jne 0x46c3a5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46c3d5
mov eax, dword [0x49ea60]
cmp eax, edi
je 0x46c3d2
push eax
call ebx
test eax, eax
je 0x46c3d2
call eax
mov esi, eax
test esi, esi
je 0x46c3d2
mov eax, dword [0x49ea64]
cmp eax, edi
je 0x46c3d2
push eax
call ebx
test eax, eax
je 0x46c3d2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49ea5c]
call ebx
test eax, eax
je 0x46c3ed
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46c3ef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469d92
mov esp, ebp
pop ebp
ret
Function at 0x104bd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104bd1a8
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 0x104bd07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bd06a
add dl, dl
jne 0x104bd089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bd0dc
xor eax, eax
add dl, dl
jne 0x104bd096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bd17d
add dl, dl
jne 0x104bd0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bd0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bd0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bd0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104bd0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104bd075
mov eax, 1
add dl, dl
jne 0x104bd0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bd0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bd0e1
sub eax, ebx
mov ebx, 1
jne 0x104bd128
mov ecx, 1
add dl, dl
jne 0x104bd10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104bd119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bd105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bd075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104bd13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104bd14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bd136
cmp eax, 0x7d00
jae 0x104bd16d
cmp eax, 0x500
jb 0x104bd168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bd075
cmp eax, 0x7f
ja 0x104bd170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bd075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104bd19e
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 0x104bd075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10