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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4d4534], 0
je 0x434ea5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d06a0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x434ea5
mov eax, dword [0x4d4538]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d4534]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x434e74
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d4534]
call fcn.0041428c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x434e6c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x434e6c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x434e6c
mov eax, dword [ebp - 0x14]
call fcn.0043f0a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x434e6c
push ebp
call fcn.00434d18
pop ecx
test al, al
jne 0x434e6c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403ba8
test al, al
je 0x434e6c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403ba8
cmp byte [ebp - 1], 0
je 0x434e6c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x434e6c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d4538]
call fcn.00434488
inc edi
dec ebx
jne 0x434dc1
mov eax, dword [0x4d4538]
cmp dword [eax + 8], 0
jle 0x434e8c
mov eax, dword [0x4d4538]
call fcn.00434540
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434ea5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434b7c
pop ecx
test al, al
jne 0x434ea5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c2a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406608
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004370e4
test ebx, ebx
jne 0x43c2f7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043c1e0
mov ebx, eax
test ebx, ebx
je 0x43c3e2
cmp esi, ebx
je 0x43c320
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43c335
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43c36d
add eax, 0xffffff5f
sub eax, 2
jb 0x43c385
dec eax
sub eax, 2
jb 0x43c399
dec eax
sub eax, 2
jb 0x43c38f
jmp 0x43c3a3
add eax, 0xfffffdff
sub eax, 2
jb 0x43c385
dec eax
sub eax, 2
jb 0x43c399
dec eax
sub eax, 2
jb 0x43c38f
jmp 0x43c3a3
mov byte [esp + 0x120], 0
jmp 0x43c3ab
mov byte [esp + 0x120], 2
jmp 0x43c3ab
mov byte [esp + 0x120], 1
jmp 0x43c3ab
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00449bc4
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00438860
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43c3e4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43d050
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 + 0x240], 0
je 0x43d06c
cmp dword [esi + 4], 0
je 0x43d099
test byte [ebx + 0x55], 1
jne 0x43d08b
mov eax, ebx
call fcn.0043b438
test eax, eax
jne 0x43d08b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d1a9
mov edx, esi
mov eax, ebx
call fcn.0043ca58
jmp 0x43d1a9
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 0x43d1a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f0a8
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.00438860
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d050
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.0043f0a8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d1a9
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 0x444378
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d0818]
cmp byte [eax + 0xc], 0
je 0x4444e5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4444de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d4544], 0
jne 0x4443cc
push 0x4444ec
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4444f4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4544], eax
cmp dword [0x45d5ac], 0
jne 0x4444c7
push 0x444504
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45d5ac], eax
cmp dword [0x45d5ac], 0
je 0x4444c7
push 0x444510
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4548], eax
push 0x444520
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d454c], eax
push 0x444534
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4550], eax
push 0x44454c
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4554], eax
push 0x444564
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4558], eax
push 0x444578
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d455c], eax
push 0x444590
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4560], eax
push 0x4445a8
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4564], eax
push 0x4445c4
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4568], eax
push 0x4445d0
mov eax, dword [0x45d5ac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d456c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4444e5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449b2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x449b80]
test si, 4
je 0x449b41
or bl, 1
test si, 8
je 0x449b4b
or bl, 4
test si, 1
je 0x449b55
or bl, 8
test si, 2
je 0x449b5f
or bl, 0x10
test si, 0x10
je 0x449b69
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449b78
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449b84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x449bc0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449b9e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449bad
or bl, 4
test esi, 0x20000000
je 0x449bb8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451274
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451286
add esp, 0xfffffff0
call fcn.00403cb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a21c
mov eax, dword [0x4d04c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x451618
mov eax, dword [0x4d04d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x451624
mov eax, ebx
call fcn.00451630
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
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, 0x44d0c8
push eax
push 0
push 0
mov eax, dword [0x4d0628]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dd98]
call fcn.0041f2b8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dd98]
call fcn.0041f2b8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dd98]
call fcn.0041f2b8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451a60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451930
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451930
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451930
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4513c3
call fcn.00403d10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451714
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 0x4518bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4518a0
mov dl, 1
mov eax, dword [0x41227c]
call fcn.0040397c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45188f
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.004446d4
test al, al
je 0x451882
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, 0x4518d0
lea eax, [ebp - 0x254]
call fcn.00409290
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451882
xor eax, eax
push ebp
push 0x45187b
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 0x451908
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451864
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
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 0x451864
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451882
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451785
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415fe4
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 0x4518c6
lea eax, [ebp - 0x260]
call fcn.004047c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d457c]
cmp byte [eax + 0xad], 0
jne 0x4522a9
cmp dword [0x4d4594], 0
jne 0x45226a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4521f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d4594], eax
cmp dword [0x4d4590], 0
jne 0x452285
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d4590], eax
cmp dword [0x4d4598], 0
jne 0x4522a9
push esp
push 0
push 0
push 0x452198
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d4598], eax
pop edx
ret
Function at 0x45247c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452493
add esp, 0xfffffff0
call fcn.00403cb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a21c
mov eax, dword [0x4d0610]
cmp word [eax + 2], 0
jne 0x4524bb
mov eax, dword [0x4d0610]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453f2c
mov eax, dword [0x4d06bc]
cmp word [eax + 2], 0
jne 0x4524d5
mov eax, dword [0x4d06bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454138
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411e58]
call fcn.0040397c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e574]
call fcn.00424424
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45268c
mov eax, dword [0x4d052c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004247f8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4547f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d052c]
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.0040c9a0
test eax, eax
je 0x4525dc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c48
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c9d4
test eax, eax
je 0x4525f0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
mov byte [ebx + 0xd4], 0
push ebx
push 0x453a8c
call fcn.0041b398
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d0424]
cmp byte [eax], 0
jne 0x452641
mov eax, ebx
call fcn.004527d0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004549d4
mov eax, ebx
call fcn.00455534
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452681
call fcn.00403d10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452a50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d457c]
cmp dword [eax + 0x30], 0
je 0x452afa
cmp dword [ebx + 0x94], 0
jne 0x452af4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4529e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452af4
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 0x452aba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452af4
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.0041428c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452ac9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453814
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x453849
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.004048b0
jmp 0x453856
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404814
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454bb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454c26
mov eax, esi
call fcn.0043f448
test al, al
je 0x454c26
mov eax, dword [ebx + 0x84]
call fcn.0043f0a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454c26
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x454c1a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f0a8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004374d4
jmp 0x454c26
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004549f4
pop esi
pop ebx
ret
Function at 0x40f24c
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2e9
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2e9
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2e9
push 4
push 0xffffffffffffffff
push esi
push 0x40fa03
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2e9
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f2b4
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2e9
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2ef
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2eb

Function at 0x414640
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414650
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x414656
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x41467e
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x439830]
test ax, ax
jne 0x414665
mov esi, ecx
jmp 0x414681
movzx esi, si
pop edi
cmp cx, si
je 0x41469e
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x439830]
test cx, cx
jne 0x414682
mov eax, 0x438338
jmp 0x4146a6
imul eax, edx, 0x1a
add eax, 0x439832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4217eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4217fa
pop dword [ebp - 0x1c]
mov eax, 0xb0de62d3
add eax, 0x4f63b527
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x44232
push 0
mov eax, 0xc3b2823f
add eax, 0x3c9050bd
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xbed3666b
add ecx, 0x412ce5b8
xor ebx, ebx
add ebx, eax
mov esi, 0x31520253
sub esi, 0x310d5a53
add esi, dword [ebp - 0x1c]
mov edx, 0xbd7f5f1
sub edx, 0x16ae2455
mov dword [ebp - 0x10], 0xa9cfe16c
mov edi, dword [esi]
sub dword [ebp - 0x18], eax
add edi, edx
mov dword [ebp - 0x18], 0x770a1ab1
mov dword [ebx], edi
xor dword [ebp - 8], 0x92ba2b02
add ebx, 0x57e16664
sub ebx, 0x57e16660
add esi, 0x63634497
sub esi, 0x63634493
loop 0x42185b
add eax, 0xd829917d
sub eax, 0xd8286e1e
mov ebx, eax
add eax, 5
mov ecx, 0x167c7686
add ecx, 0xe9c3897a
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1001890e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001891d
pop dword [ebp - 0x34]
mov eax, 0xc119be0a
add eax, 0x4ee7cb13
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x17171417
sub dword [ebp - 0x44], 0xc8c4cecc
mov dword [ebp - 0x40], 0xe644b94f
sub dword [ebp - 0x40], 0xb4116d0a
mov dword [ebp - 0x3c], 0xea0cfce8
sub dword [ebp - 0x3c], 0x9dc0b8ba
mov dword [ebp - 0x38], 0x4a9a2f1b
add dword [ebp - 0x38], 0xb565d0e5
lea eax, [ebp - 0x44]
push eax
mov eax, 0xd5aeb044
add eax, 0x3a531014
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x8ed239c1
add dword [ebp - 0x44], 0xe5a02f95
mov dword [ebp - 0x40], 0xea115c4a
sub dword [ebp - 0x40], 0xa8a4fad5
mov dword [ebp - 0x3c], 0xa9b02d4
add dword [ebp - 0x3c], 0x58d46998
mov dword [ebp - 0x38], 0xedae9b11
sub dword [ebp - 0x38], 0xedae9b11
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x713ef6b7
sub eax, 0x613d3657
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc59
push 0
call eax
mov ecx, 0x4cc3
mov esi, eax
mov edi, 0xbc42ce97
add edi, 0x53bfb969
add edi, dword [ebp - 0x34]
mov edx, 0x6679f0d0
mov ebx, dword [edi]
sub dword [ebp - 8], ecx
sub ebx, edx
sub dword [ebp - 0x20], edx
mov dword [esi], ebx
xor dword [ebp - 0x20], 0xca2f4444
add esi, 0xa82a4dbd
sub esi, 0xa82a4db9
add edi, 0xf279c946
sub edi, 0xf279c942
loop 0x10018a33
add eax, 0xa76bc0ff
sub eax, 0xa76a9b20
xor ebx, ebx
add ebx, eax
add eax, 0xa53a84d5
add eax, 0x5ac57b30
mov ecx, 0xff7580e1
add ecx, 0x108a7f1f
add ecx, dword [ebp - 0x34]
call ebx
leave
ret