joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Execute syscall

Disassembly:
pop eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.0045eef0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esp, 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword fs:[0xc0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x4011fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
int 0x2e
ret
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call dword fs:[0xc0]
ret
Function at 0x401550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0046f8b0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4015b0
cmp dword [ebp - 0x114], 6
jb 0x4015b0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret

Function at 0x401b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x634690]
push esi
push 2
push ecx
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ax, word [eax + 0xe]
pop esi
pop ebp
ret

Function at 0x401ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x634690]
push esi
push 2
push ecx
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor edx, edx
cmp word [eax + 0xe], 0x20
pop esi
sete dl
mov al, dl
pop ebp
ret
Function at 0x45a3f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x8c
push esi
mov esi, ecx
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x274]
jne 0x45a54c
push ebx
push edi
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x274]
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x58]
push ecx
xor edi, edi
push edi
mov dword [ebp - 0x58], edx
mov edx, dword [esi + 0x274]
push 0x1012
push edx
mov dword [ebp - 0x54], eax
call ebx
test byte [ebp - 0x50], 0xe
je 0x45a54a
mov ecx, dword [esi + 0x274]
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esi + 0x274]
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x8c]
push eax
push edi
push 0x104b
push ecx
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edi
call ebx
test eax, eax
je 0x45a54a
mov ebx, dword [ebp - 0x6c]
cmp ebx, edi
je 0x45a54a
test dword [ebx + 8], 0x20000000
jne 0x45a535
mov edx, dword [esi + 0x274]
push edx
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0xc
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x3c], eax
mov eax, 0x48f984
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [0x63468c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
push eax
push ebx
lea ecx, [esi + 0x2ac]
mov dword [ebp - 0x38], str.Open
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.0045e800
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 4]
push edi
push 0x48f984
push str.Clicked_on_folder
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45c1b0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, dword [edi + 0x28]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 4
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
push 0xe801
lea ecx, [edi + 0x3c]
call fcn.00401be0
push 1
mov ecx, edi
call fcn.0045a6a0
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x45d790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x634690]
push 0xf1
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45d8b0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45d8b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x45d8b0
movzx edx, word [edi + 4]
movzx eax, word [edi + 2]
movzx ebx, word [edi + 6]
lea ecx, [edi + 8]
push edx
mov dword [ebp - 8], ecx
push eax
mov ecx, esi
call fcn.00459840
cmp dword [esi + 0x48], 0
jne 0x45d82c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401ba0
shl al, 5
xor al, byte [esi + 0x85]
add esp, 4
and al, 0x20
xor byte [esi + 0x85], al
movzx edx, word [edi + 6]
push edx
mov ecx, esi
call fcn.00459b20
test al, al
je 0x45d8b0
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
je 0x45d862
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
movzx eax, word [ebp + 0x10]
push ecx
movsx ecx, word [ebp + 8]
push edx
push eax
push ecx
lea ecx, [ebp - 4]
call fcn.00459aa0
jmp 0x45d8a1
test byte [esi + 0x85], 0x20
je 0x45d891
mov edx, dword [ebp + 8]
mov eax, dword [0x634690]
push 0x2040
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
lea ecx, [ebp - 4]
call fcn.0045ad70
jmp 0x45d8a1
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 4]
call fcn.00459a80
mov eax, dword [ebp - 4]
test eax, eax
jne 0x45d8bb
lea ecx, [ebp - 4]
call fcn.0045a5a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi + 0xa0]
push edx
push eax
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x45d8a8
test ebx, ebx
jle 0x45d8f7
mov edi, dword [ebp - 8]
lea esp, [esp]
cmp word [edi], 0
je 0x45d8ef
push edi
lea ecx, [esi + 0x4c]
call fcn.0045c570
add edi, 2
sub ebx, 1
jne 0x45d8e0
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov edi, eax
cmp edi, dword [esi + 0x50]
je 0x45d91d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.00401550
test al, al
je 0x45d934
mov eax, dword [ebp - 0xc]
sub edi, eax
push edi
push eax
mov ecx, esi
call fcn.0045d1f0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45e4c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x2b0
lea eax, [ebp - 0x2b4]
push 0
push eax
mov dword [ebp - 0x2b8], 0
call fcn.0046f8b0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push ecx
push 0x2b4
lea edx, [ebp - 0x2b8]
push edx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop esi
test eax, eax
je 0x45e52b
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 8

Function at 0x45ea50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi], 0
mov ebx, 0x67b611ce
je 0x45eb55
push esi
jmp 0x45ea70
push 0x48fb40
call fcn.00470024
mov cx, word [edi]
sub cx, ax
push 0x48fb38
movzx esi, cx
call fcn.00470024
push 0x48fb30
sub esi, eax
call fcn.00470024
push 0x48fb28
sub esi, eax
call fcn.00470024
push str._525
sub esi, eax
call fcn.00470024
push str.1021
add esi, eax
call fcn.00470024
push 0x48fb08
add esi, eax
call fcn.00470024
push 0x48fb00
add esi, eax
call fcn.00470024
add eax, esi
push 0x48fb40
movzx esi, ax
inc edi
call fcn.00470024
movzx edx, si
sub edx, eax
mov eax, ebx
ror eax, 8
push 0x48fb38
lea esi, [edx + eax]
call fcn.00470024
push 0x48fb30
sub esi, eax
call fcn.00470024
push 0x48fb28
sub esi, eax
call fcn.00470024
push str._525
sub esi, eax
call fcn.00470024
push str.1021
add esi, eax
call fcn.00470024
push 0x48fb08
add esi, eax
call fcn.00470024
push 0x48fb00
add esi, eax
call fcn.00470024
add eax, esi
add esp, 0x40
xor ebx, eax
cmp byte [edi], 0
jne 0x45ea70
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x4603a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4603b9
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4603c3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x460e30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c]
mov edi, eax
cmp edi, ebx
jne 0x460ebc
xor eax, eax
cmp ecx, ebx
je 0x460e9e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], esi
cmp eax, ebx
je 0x460edc
cmp ecx, ebx
je 0x460ec7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x224]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x204]
push edx
push ebx
push ecx
mov dword [ebp - 0x210], pe_nt_image_headers32
call esi
test eax, eax
jne 0x460f5c
lea esp, [esp]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00460e30
mov edi, eax
cmp edi, ebx
jne 0x460fb3
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x20c]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x204]
push eax
push ebx
push ecx
mov dword [ebp - 0x210], pe_nt_image_headers32
call esi
test eax, eax
je 0x460f10
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x460f73
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20c], ebx
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push edx
mov dword [ebp - 0x208], ebx
call fcn.004601b0
mov esi, eax
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x460f9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x460fc4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 4
Function at 0x464270
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x464284
lea esi, [edi - 0x24]
jmp 0x464286
xor esi, esi
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 4]
jne 0x4643af
mov esi, dword [ebp + 0xc]
lea eax, [esi - 0xd]
cmp eax, 0x1b
ja case.0x4642ab.14
movzx eax, byte [eax + 0x4643d8]
jmp dword [eax*4 + 0x4643c4]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x20], ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi], 0
je case.0x4642ab.14
xor eax, eax
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
sub esi, 0x25
neg esi
sbb esi, esi
and esi, 0x14
add esi, 0xfffffff6
add esi, eax
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
lea ebx, [ecx + edx]
cmp esi, ebx
jge 0x464310
mov esi, ecx
jmp 0x46431d
sub eax, dword [edi + 0x2c]
sub eax, ecx
sub eax, edx
cmp esi, eax
jle 0x46431d
mov esi, eax
mov eax, dword [ebp - 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add eax, esi
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi], 0
jne case.0x4642ab.14
xor eax, eax
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
sub esi, 0x26
neg esi
sbb esi, esi
and esi, 0x14
add esi, 0xfffffff6
add esi, eax
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x10]
lea ebx, [ecx + edx]
cmp esi, ebx
jge 0x464381
mov esi, ecx
jmp 0x46438e
sub eax, dword [edi + 0x2c]
sub eax, ecx
sub eax, edx
cmp esi, eax
jle 0x46438e
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [ebp + 0xc]
add eax, esi
push eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x465e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edx, edx
push 2
push edx
push eax
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x408], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x465eb5
call fcn.0045fff0
mov esi, eax
jmp 0x465f94
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x465ece
call fcn.0045fff0
jmp 0x465f8b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x465ee6
call fcn.0045fff0
jmp 0x465f8b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x465f33
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x465f10
lea ecx, [ebp - 0x408]
call fcn.00460d30
lea ecx, [ebp - 0x40c]
call fcn.00460b50
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.00461cf0
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x465f50
mov esi, 0x8007000e
jmp 0x465f8d
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x465f69
call fcn.0045fff0
jmp 0x465f8b
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x414]
call fcn.004653b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x465fb0
lea ecx, [ebp - 0x408]
call fcn.00460d30
lea ecx, [ecx]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46a740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x46a779
cmp eax, 0x79
jne 0x46a76c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x46a779
cmp dword [esi + 0xa8], 0x20
jne 0x46a7f9
cmp dword [ebp + 0xc], 0xf100
jne 0x46a7f9
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x46a7b6
mov ecx, esi
call fcn.004698c0
mov eax, dword [esi + 4]
push 0
push 0xffffffffffffffff
push 0x448
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x46a7f9
test byte [esi + 0x84], 0x40
jne 0x46a7ee
mov al, byte [esi + 0x85]
test al, 2
je 0x46a7e5
test al, 4
jne 0x46a7e5
test al, 8
je 0x46a7e5
push 1
mov ecx, esi
call fcn.004688b0
mov ecx, esi
call fcn.00467810
jmp 0x46a7f3
cmp eax, 0x20
je 0x46a7f9
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x46c150
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push esi
mov esi, ecx
cmp eax, dword [esi + 4]
je 0x46c175
mov ecx, dword [ebp + 0x10]
pop esi
mov dword [ecx], 0
mov eax, 1
pop ebx
pop ebp
ret 0xc
push edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
cmp eax, dword [esi + 4]
je 0x46c1a4
test byte [esi + 0x58], 4
je 0x46c19a
cmp dword [esi + 0xac], 0
jne 0x46c19a
call edi
mov dword [esi + 0xac], eax
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc]
push 0
push eax
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
push 1
push eax
mov ecx, esi
call fcn.0046bdf0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x46e640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0x3f
jne 0x46e669
push 0
push str.WTLExplorer
push str.ERROR:_Cannot_create_ANY_MORE_threads___
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push 8
call fcn.0046fb6c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x46e420
push 0
push 0
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x46e6b3
push eax
push str.WTLExplorer
push 0x490018
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi]
mov dword [esi + edx*4 + 4], eax
inc dword [esi]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8