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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44fa10
mov eax, esi
call fcn.0046625c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44fa10
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44fa10
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44fb4f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44fa50
cmp eax, 0x108
ja 0x44fa50
mov eax, esi
call fcn.0046625c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44fb46
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44fb4f
jmp 0x44fb46
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44fb2f
cmp eax, 0x20a
ja 0x44fb2f
test byte [esi + 0x50], 0x80
jne 0x44fa82
sub eax, 0x203
je 0x44fa7f
sub eax, 3
je 0x44fa7f
sub eax, 3
jne 0x44fa82
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44fa96
dec eax
je 0x44faab
dec eax
je 0x44fac8
dec eax
je 0x44faab
jmp 0x44facf
mov ecx, ebx
mov eax, dword [0x4c8b04]
mov eax, dword [eax]
mov edx, esi
call fcn.0046fcbc
jmp 0x44fb46
cmp byte [esi + 0x5d], 1
jne 0x44fac1
mov eax, esi
mov si, 0xffed
call fcn.00403b18
jmp 0x44fb4f
or word [esi + 0x54], 1
jmp 0x44fb46
and word [esi + 0x54], 0xfffe
jmp 0x44fb46
mov eax, dword [0x4c9b6c]
cmp byte [eax + 0x20], 0
je 0x44fb46
mov eax, dword [0x4c9b6c]
cmp dword [eax + 0x1c], 0
je 0x44fb46
mov eax, dword [ebx]
mov edx, dword [0x4c9b6c]
cmp eax, dword [edx + 0x1c]
jne 0x44fb46
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004661a0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403b18
jmp 0x44fb4f
cmp eax, 0xb00b
jne 0x44fb46
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044e300
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4531d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4531ec
cmp dword [esi + 4], 0
je 0x453219
test byte [ebx + 0x55], 1
jne 0x45320b
mov eax, ebx
call fcn.00451d70
test eax, eax
jne 0x45320b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x453329
mov edx, esi
mov eax, ebx
call fcn.00452cf4
jmp 0x453329
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x453322
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455078
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044f8f8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004531d0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455078
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453329
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a54
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c8de8]
cmp byte [eax + 0xc], 0
je 0x459bc1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459bba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c9bc0], 0
jne 0x459aa8
push 0x459bc8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x459bd0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bc0], eax
cmp dword [0x4c6ecc], 0
jne 0x459ba3
push 0x459be0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c6ecc], eax
cmp dword [0x4c6ecc], 0
je 0x459ba3
push 0x459bec
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bc4], eax
push 0x459bfc
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bc8], eax
push 0x459c10
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bcc], eax
push 0x459c28
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bd0], eax
push 0x459c40
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bd4], eax
push 0x459c54
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bd8], eax
push 0x459c6c
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9bdc], eax
push 0x459c84
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9be0], eax
push 0x459ca0
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9be4], eax
push 0x459cac
mov eax, dword [0x4c6ecc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9be8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459bc1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004046dc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45df53
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466160]
test si, 4
je 0x466124
or bl, 1
test si, 8
je 0x46612e
or bl, 4
test si, 1
je 0x466138
or bl, 8
test si, 2
je 0x466142
or bl, 0x10
test si, 0x10
je 0x46614c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46615b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466164
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46619c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46617d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46618c
or bl, 4
test esi, 0x20000000
je 0x466197
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46c958
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46c96a
add esp, 0xfffffff0
call fcn.00403c88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425448
mov eax, dword [0x4c8764]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ccfc
mov eax, dword [0x4c877c]
mov dword [eax + 4], ebx
mov dword [eax], 0x46cd08
mov eax, ebx
call fcn.0046cd14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a624]
call fcn.004038e0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a624]
call fcn.004038e0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a624]
call fcn.004038e0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a624]
call fcn.004038e0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a624]
call fcn.004038e0
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, 0x46912c
push eax
push 0
push 0
mov eax, dword [0x4c8a10]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426efc]
call fcn.00428734
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426efc]
call fcn.00428734
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426efc]
call fcn.00428734
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046d1ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d074
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d074
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d074
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46caa7
call fcn.00403ce0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46ce58
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 0x46d003
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46cfe4
mov dl, 1
mov eax, dword [0x41ac88]
call fcn.004038e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046dc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46cfd3
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.00459db4
test al, al
je 0x46cfc6
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, 0x46d014
lea eax, [ebp - 0x254]
call fcn.00409ebc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46cfc6
xor eax, eax
push ebp
push 0x46cfbf
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 0x46d04c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46cfa8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
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 0x46cfa8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cfc6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46cec9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f438
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 0x46d00a
lea eax, [ebp - 0x260]
call fcn.004046dc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c9c0c]
cmp byte [eax + 0xa5], 0
jne 0x46d9bd
cmp dword [0x4c9c24], 0
jne 0x46d97e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d908
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c9c24], eax
cmp dword [0x4c9c20], 0
jne 0x46d999
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c9c20], eax
cmp dword [0x4c9c28], 0
jne 0x46d9bd
push esp
push 0
push 0
push 0x46d8ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c9c28], eax
pop edx
ret
Function at 0x46e080
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c9c0c]
cmp dword [eax + 0x30], 0
je 0x46e12a
cmp dword [ebx + 0x94], 0
jne 0x46e124
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e010
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46e124
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 0x46e0ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46e124
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.0041ce8c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46e0f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46ec88
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 0x46ecbd
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.004047cc
jmp 0x46ecca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404730
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46fe04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46fe45
mov eax, esi
call fcn.0045537c
test al, al
je 0x46fe45
mov eax, dword [ebx + 0x84]
call fcn.00455078
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46fe45
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455078
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x494bbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c7fda
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x494c13
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c7ffb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x494c09
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x494c17
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4b46cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x40]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4b4707
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041ce8c
mov al, byte [eax + 0x2a8]
xor al, 1
push eax
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041ce8c
pop edx
mov byte [eax + 0x2a8], dl
inc ebx
dec edi
jne 0x4b46df
pop edi
pop esi
pop ebx
ret
Function at 0x4be278
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4be2bc
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409a3c
add esp, 0x200
pop ebx
ret
Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
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 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
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 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d57fc]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
push dword [esp + 0x30]
mov edi, dword [esp + 0x30]
mov ebp, ecx
push 0
mov dword [esp + 0x18], edi
call fcn.00407f30
mov bl, al
test bl, bl
je 0x40459e
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x404600
nop dword [eax + eax]
mov edi, dword [esi + 0x9c]
cmp edi, 3
je 0x404570
cmp edi, 4
jne 0x40458c
push esi
mov ecx, ebp
call fcn.00404af0
cmp byte [esi + 0xf0], 0
jne 0x404598
cmp edi, 4
jne 0x40458c
cmp byte [esi + 0x2c], 0
jne 0x404598
mov esi, dword [esi + 0xa4]
test esi, esi
jne 0x404560
jmp 0x404600
mov edi, dword [esp + 0x10]
xor bl, bl
test edi, edi
je 0x404600
cmp edi, 6
je 0x404600
cmp edi, 8
je 0x404600
mov esi, dword [ebp + 4]
push edi
mov dword [esp + 0x18], 0x63764e5c
mov dword [esp + 0x1c], 0x74736f48
mov dword [esp + 0x20], 0x7070632e
mov byte [esp + 0x24], 0
call fcn.00405ff0
push eax
push str.Failed_to_complete_transition_to__s
push 1
push 0x404
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041e8a0
push edi
call fcn.00405ff0
push eax
push str.Failed_to_complete_transition_to__s
push 0xc
call fcn.00407340
add esp, 0x2c
mov ecx, dword [esp + 0x24]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461564
add esp, 0x18
ret 8