joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4440fc
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 0x444118
cmp dword [esi + 4], 0
je 0x444145
test byte [ebx + 0x55], 1
jne 0x444137
mov eax, ebx
call fcn.00442c9c
test eax, eax
jne 0x444137
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x444255
mov edx, esi
mov eax, ebx
call fcn.00443c20
jmp 0x444255
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 0x44424e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445f6c
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.00440938
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004440fc
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.00445f6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444255
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 0x44a98c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48d808]
cmp byte [eax + 0xc], 0
je 0x44aaf9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44aaf2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48eb64], 0
jne 0x44a9e0
push 0x44ab00
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ab08
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb64], eax
cmp dword [0x48ac5c], 0
jne 0x44aadb
push 0x44ab18
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48ac5c], eax
cmp dword [0x48ac5c], 0
je 0x44aadb
push 0x44ab24
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb68], eax
push 0x44ab34
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb6c], eax
push 0x44ab48
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb70], eax
push 0x44ab60
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb74], eax
push 0x44ab78
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb78], eax
push 0x44ab8c
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb7c], eax
push 0x44aba4
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb80], eax
push 0x44abbc
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb84], eax
push 0x44abd8
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb88], eax
push 0x44abe4
mov eax, dword [0x48ac5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aaf9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x4565c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456618]
test si, 4
je 0x4565dc
or bl, 1
test si, 8
je 0x4565e6
or bl, 4
test si, 1
je 0x4565f0
or bl, 8
test si, 2
je 0x4565fa
or bl, 0x10
test si, 0x10
je 0x456604
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456613
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45661c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456654]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456635
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456644
or bl, 4
test esi, 0x20000000
je 0x45664f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ccfc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd0e
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419598
mov eax, dword [0x48d468]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0a0
mov eax, dword [0x48d478]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0ac
mov eax, ebx
call fcn.0045d0b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
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, 0x4594d4
push eax
push 0
push 0
mov eax, dword [0x48d5dc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d4d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ce4b
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d198
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 0x45d343
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d324
mov dl, 1
mov eax, dword [0x411c94]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ee8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d313
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.0044acec
test al, al
je 0x45d306
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, 0x45d354
lea eax, [ebp - 0x254]
call fcn.00408cfc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d306
xor eax, eax
push ebp
push 0x45d2ff
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 0x45d38c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d2e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
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 0x45d2e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d306
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d209
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415788
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 0x45d34a
lea eax, [ebp - 0x260]
call fcn.00403ee8
ret

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

Disassembly:
push ecx
mov eax, dword [0x48ebb0]
cmp byte [eax + 0xa5], 0
jne 0x45dce9
cmp dword [0x48ebc8], 0
jne 0x45dcaa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dc34
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ebc8], eax
cmp dword [0x48ebc4], 0
jne 0x45dcc5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ebc4], eax
cmp dword [0x48ebcc], 0
jne 0x45dce9
push esp
push 0
push 0
push 0x45dbd8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ebcc], eax
pop edx
ret
Function at 0x45dde0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ddf7
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419598
mov eax, dword [0x48d5c8]
cmp word [eax + 2], 0
jne 0x45de1f
mov eax, dword [0x48d5c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f4d0
mov eax, dword [0x48d690]
cmp word [eax + 2], 0
jne 0x45de39
mov eax, dword [0x48d690]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f6c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
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 [0x41bb2c]
call fcn.0042357c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45dfc0
mov eax, dword [0x48d4dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042394c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fc68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48d4dc]
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.0040c3c4
test eax, eax
je 0x45df2e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c3ec
test eax, eax
je 0x45df42
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.00404158
mov eax, dword [0x48d388]
cmp byte [eax], 0
jne 0x45df76
mov eax, ebx
call fcn.0045e0e8
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.0045fe44
mov eax, ebx
call fcn.00460808
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dfb6
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e368
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ebb0]
cmp dword [eax + 0x30], 0
je 0x45e412
cmp dword [ebx + 0x94], 0
jne 0x45e40c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e2f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e40c
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 0x45e3d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e40c
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.00413be0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e3e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ef74
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 0x45efa9
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.00403fd8
jmp 0x45efb6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460020
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460061
mov eax, esi
call fcn.00446270
test al, al
je 0x460061
mov eax, dword [ebx + 0x84]
call fcn.00445f6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460061
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445f6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463728
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x463756
mov eax, ebx
call fcn.004641dc
cmp dword [ebx + 0x40], 0
je 0x46374f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4637c7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4637b9
cmp dword [ebx + 8], 0
je 0x463778
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46378a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4637b9
cmp dword [ebx + 8], 0
je 0x46376b
cmp eax, 3
je 0x46379d
dec eax
jne 0x46376b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46376b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46376b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4637e5
cmp dword [ebx + 0x14], 0xcc
je 0x4637e5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004637f0
pop ebx
ret
Function at 0x475168
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4753c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4751cb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040bfb0
cmp al, 1
jne 0x4751cb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00474f48
test al, al
je 0x475357
cmp dword [ebp - 8], 0
jge 0x4751e9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x210]
call fcn.004041a8
cmp ebx, eax
jge 0x475233
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48d7f0]
and eax, 0xff
bt dword [edx], eax
jae 0x475233
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x475247
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00475144
cmp ebx, dword [ebp - 8]
je 0x475349
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x475273
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48b7a4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x475336
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48b7a4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00445f6c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48b7a4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00445f6c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47533d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4753aa
cmp dword [ebp - 8], 0
jge 0x475362
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x218]
call fcn.004041a8
cmp eax, dword [ebp - 8]
jg 0x47539c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x21c]
call fcn.004041a8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00475144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753cf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403f0c
ret
Function at 0x47fb54
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
push 4
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47fbd6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x47fbc5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 4
call fcn.004028c8
mov eax, dword [ebp - 8]
push eax
push 0x10
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fbcc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
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 0x1007a58
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jbe 0x1007a87
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
movzx si, byte [eax + 1]
mov di, word [eax]
shl di, 8
xor si, di
mov word [ecx], si
inc ecx
inc ecx
inc eax
inc eax
dec edx
jne 0x1007a6c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4363a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b000]
push edi
or ebp, 0xffffffff
jmp 0x4363c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4363c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4363b8
mov eax, 1
add ebx, ebx
jne 0x4363db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4363d0
jne 0x4363ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4363d0
xor ecx, ecx
sub eax, 3
jb 0x436400
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x436472
mov ebp, eax
add ebx, ebx
jne 0x43640b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x436418
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43643c
inc ecx
add ebx, ebx
jne 0x436428
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43641d
jne 0x436439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43641d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43645c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43644d
jmp 0x4363be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43645c
add edi, ecx
jmp 0x4363be
pop esi
mov edi, esi
mov ecx, 0x868
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43647a
cmp byte [edi], 6
jne 0x43647a
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 eax, ebx
loop 0x43647f
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x4364ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37238]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x372ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4364ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x372f0]
or eax, eax
je 0x4364e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4364c9
call dword [esi + 0x372f4]
popal
jmp 0x4171c4