joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad2c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x455214]
cmp byte [eax + 0xc], 0
je 0x43ae99
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ae92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x456b64], 0
jne 0x43ad80
push 0x43aea0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43aea8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b64], eax
cmp dword [0x454bc4], 0
jne 0x43ae7b
push 0x43aeb8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x454bc4], eax
cmp dword [0x454bc4], 0
je 0x43ae7b
push 0x43aec4
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b68], eax
push 0x43aed4
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b6c], eax
push 0x43aee8
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b70], eax
push 0x43af00
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b74], eax
push 0x43af18
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b78], eax
push 0x43af2c
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b7c], eax
push 0x43af44
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b80], eax
push 0x43af5c
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b84], eax
push 0x43af78
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b88], eax
push 0x43af84
mov eax, dword [0x454bc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ae99
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ee98
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.00403f98
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43eee7
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.00404208
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44665c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4466ac]
test si, 4
je 0x446670
or bl, 1
test si, 8
je 0x44667a
or bl, 4
test si, 1
je 0x446684
or bl, 8
test si, 2
je 0x44668e
or bl, 0x10
test si, 0x10
je 0x446698
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4466a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4466b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4466e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4466c9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4466d8
or bl, 4
test esi, 0x20000000
je 0x4466e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cd90
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cda2
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192f4
mov eax, dword [0x454ecc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d134
mov eax, dword [0x454ed8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d140
mov eax, ebx
call fcn.0044d14c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
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, 0x449568
push eax
push 0
push 0
mov eax, dword [0x45502c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ad18]
call fcn.0041c15c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ad18]
call fcn.0041c15c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ad18]
call fcn.0041c15c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d56c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d448
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d448
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d448
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44cedf
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d22c
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 0x44d3d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d3b8
mov dl, 1
mov eax, dword [0x411974]
call fcn.00403230
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d3a7
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.0043b08c
test al, al
je 0x44d39a
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, 0x44d3e8
lea eax, [ebp - 0x254]
call fcn.0040897c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d39a
xor eax, eax
push ebp
push 0x44d393
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 0x44d420
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d37c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x44d37c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d39a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d29d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415450
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 0x44d3de
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x456bb0]
cmp byte [eax + 0xa5], 0
jne 0x44dd7d
cmp dword [0x456bc8], 0
jne 0x44dd3e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dcc8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x456bc8], eax
cmp dword [0x456bc4], 0
jne 0x44dd59
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x456bc4], eax
cmp dword [0x456bcc], 0
jne 0x44dd7d
push esp
push 0
push 0
push 0x44dc6c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x456bcc], eax
pop edx
ret
Function at 0x44de74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44de8b
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192f4
mov eax, dword [0x455018]
cmp word [eax + 2], 0
jne 0x44deb3
mov eax, dword [0x455018]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f5f4
mov eax, dword [0x4550c0]
cmp word [eax + 2], 0
jne 0x44decd
mov eax, dword [0x4550c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f7ec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411558]
call fcn.00403230
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 [0x41b4c8]
call fcn.00421110
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e054
mov eax, dword [0x454f38]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004214e0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fd8c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454f38]
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.0040c0f4
test eax, eax
je 0x44dfc2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408370
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c11c
test eax, eax
je 0x44dfd6
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.00404208
mov eax, dword [0x454e1c]
cmp byte [eax], 0
jne 0x44e00a
mov eax, ebx
call fcn.0044e17c
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.0044ff68
mov eax, ebx
call fcn.0045092c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e04a
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e3fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456bb0]
cmp dword [eax + 0x30], 0
je 0x44e4a6
cmp dword [ebx + 0x94], 0
jne 0x44e4a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e38c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e4a0
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 0x44e466
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e4a0
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.004138c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e475
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f008
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 0x44f03d
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.00404088
jmp 0x44f04a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450144
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450185
mov eax, esi
call fcn.00436674
test al, al
je 0x450185
mov eax, dword [ebx + 0x84]
call fcn.00436370
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450185
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436370
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4513f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x451428]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x451406
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x451415
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x451424
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x451cc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x42bc90]
call fcn.004033ec
test al, al
je 0x451d06
mov eax, dword [0x4550a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x451d06
mov edx, dword [0x4550a4]
xor edx, edx
call fcn.00448a48
push 0
mov eax, dword [0x4550a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x45222c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404448
xor eax, eax
push ebp
push 0x452355
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404258
mov edi, eax
test edi, edi
jle 0x45233f
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov al, byte [eax + edx - 1]
cmp al, 0x80
jae 0x452335
push eax
call sub.user32.dll_VkKeyScanA
mov esi, eax
xor ebx, ebx
mov eax, esi
and ax, 0x100
cmp ax, 0x100
jne 0x45229b
push 0
push ebx
push 0
push 0x10
call sub.user32.dll_keybd_event
mov eax, esi
and ax, 0x200
cmp ax, 0x200
jne 0x4522b3
push 0
push ebx
push 0
push 0x11
call sub.user32.dll_keybd_event
mov eax, esi
and ax, 0x400
cmp ax, 0x400
jne 0x4522cb
push 0
push ebx
push 0
push 0x12
call sub.user32.dll_keybd_event
xor ebx, ebx
push 0
push ebx
push 0
mov eax, esi
push eax
call sub.user32.dll_keybd_event
or ebx, 2
push 0
push ebx
push 0
mov eax, esi
push eax
call sub.user32.dll_keybd_event
or ebx, 2
mov eax, esi
and ax, 0x100
cmp ax, 0x100
jne 0x452305
push 0
push ebx
push 0
push 0x10
call sub.user32.dll_keybd_event
mov eax, esi
and ax, 0x200
cmp ax, 0x200
jne 0x45231d
push 0
push ebx
push 0
push 0x11
call sub.user32.dll_keybd_event
and si, 0x400
cmp si, 0x400
jne 0x452335
push 0
push ebx
push 0
push 0x12
call sub.user32.dll_keybd_event
inc dword [ebp - 8]
dec edi
jne 0x452267
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45235c
lea eax, [ebp - 4]
call fcn.00403f98
ret
Function at 0x1068d139
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc al
not al
mov al, byte [edi]
cmc
test bh, bh
bt si, sp
push ecx
test al, al
mov byte [esp + 4], 0x79
pushfd
lea esp, [esp + 0x2c]
je 0x102a0881
clc
push 0x5ddb3c94
test bp, 0x6e57
bt ax, bp
sub al, 0x30
mov byte [esp], bh
test ah, 0x27
push ecx
stc
cmp al, 9
push dword [esp]
call fcn.102a1852
add byte [eax], al
dec esp
outsd dx, dword [esi]
arpl word [ecx + 0x6c], sp
inc esi
jb 0x1068d19c
add byte gs:[ebp + 0xf0c2464], cl
test byte [ebx + edi*4], bh
add byte [eax], al
call fcn.106948af
add byte [eax], al
dec edi
jo 0x1068d1b2
outsb dx, byte [esi]
push ebx
jb 0x1068d1c8
imul esp, dword [ebx + 0x65], 0xf8f50041
and al, 0
lea esp, [esp + 0x30]
jne 0x106976a8
cmp di, 0xd551
mov ecx, edi
cmp dh, bl
sub ecx, ebx
not si
fldenv [esi - 9]
salc
shrd esi, esi, 0x14
mov esi, esp
jns 0x1068d21a
outsd dx, dword fs:[esi]

Function at 0x10697678
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.1068d139
add byte [eax], al
push edx
insb byte es:[edi], dx
popal
jae 0x1068d24f
inc ebx
popal
jo 0x1068d262
jne 0x1068d262
add byte gs:[ecx], cl
leave
mov word [esp], 0x7863
lea esp, [esp + 0xc]
je 0x10698c7f
mov di, 0xa6cc
bts bx, dx
call fcn.10221ae2
add byte [eax], al
inc esi
imul ebp, dword [esi + 0x64], 0x646e6957
outsd dx, dword [esi]
ja 0x1068d25f
add cl, bh
mov ecx, 6
bt ebp, 0x13
shl eax, cl
call fcn.10745656
add byte [eax], al
inc edi
imul esi, dword fs:[eax + 0x47], 0x43447465
add byte [eax], al
add byte [edi + 0x65], al
je fcn.1068d299
imul ebp, dword [esi + 0x64], 0x6f4c776f
outsb dx, byte [esi]
inc ecx
add cl, ch
push esp
mov esi, 0
dec edi
insb byte es:[edi], dx
push ebx
je 0x1068d2a8
outsb dx, byte gs:[esi]
jne 0x1068d2a3
jae 0x1068d2c5
jb 0x1068d2cd
jo 0x1068d2da
outsd dx, dword [esi]
jb 0x1068d269
add byte [eax], al
dec ecx
jae 0x1068d2c5
imul ebp, dword [esi + 0x64], 0x6956776f
jae 0x1068d2e0
bound ebp, qword [ebp]
add al, 0
add byte [eax], al
push edi
imul ebp, dword [esi + 0x64], 0x3900776f
fucompi st(0)
call 0x9d68d2d8
add eax, 0x10745a77
cmp edi, ebx
call 0x1068d6bc
lea eax, [0x10745a77]
push edi
mov dword [esp + 0x18], 0x106988e0
mov byte [ecx + 0x10], ch
call fcn.1068d18d
jmp 0x106996ca
or ecx, ecx
push dword [esp]
jmp 0x1068d1dc
Function at 0x105ea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105ea1a8
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 0x105ea07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105ea06a
add dl, dl
jne 0x105ea089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105ea0dc
xor eax, eax
add dl, dl
jne 0x105ea096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105ea17d
add dl, dl
jne 0x105ea0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105ea0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105ea0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105ea0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105ea0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105ea075
mov eax, 1
add dl, dl
jne 0x105ea0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105ea0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105ea0e1
sub eax, ebx
mov ebx, 1
jne 0x105ea128
mov ecx, 1
add dl, dl
jne 0x105ea10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105ea119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105ea105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105ea075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105ea13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105ea14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105ea136
cmp eax, 0x7d00
jae 0x105ea16d
cmp eax, 0x500
jb 0x105ea168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105ea075
cmp eax, 0x7f
ja 0x105ea170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105ea075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105ea19e
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 0x105ea075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x92ffac
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92ffb2
pop ebp
sub ebp, 6
sub ebp, 0x52ffac
jmp 0x930010
jmp 0x930019
mov eax, 0x52ffac
add eax, ebp
add eax, 0x93
mov ecx, 0x610
mov edx, 0xdfea88a6
xor byte [eax], dl
inc eax
dec ecx
jne 0x930030
jmp 0x930043
int3
Function at 0x100015c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x100016b1
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x100016b1
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x100016b1
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ecx, [eax + eax*2]
mov al, byte [esi + 0x24]
test al, al
mov dword [esi + 0x2c], ecx
jne 0x1000160f
mov ecx, esi
call fcn.10001270
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1000161d
mov ecx, esi
call fcn.100027e0
mov eax, dword [esi + 4]
xor edx, edx
test eax, eax
mov dword [esp + 4], edx
jle 0x100016b1
push ebx
push ebp
push edi
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x100016a2
mov eax, dword [esi + 0x74]
xor ebp, ebp
xor ecx, ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4]
mov ebx, dword [eax + edi*4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + edi*4]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [ebx + ecx]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
inc ecx
cmp ecx, 3
jl 0x1000165a
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
cmp eax, 0xff
jle 0x1000168a
mov eax, 0xff
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x10]
inc edi
mov ecx, dword [ecx + edx*4]
mov ecx, dword [ecx + edi*4 - 4]
mov byte [ecx], al
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x1000163a
mov eax, dword [esi + 4]
inc edx
cmp edx, eax
mov dword [esp + 0x10], edx
jl 0x10001631
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret