joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451e10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451e43
push esi
call fcn.00454f20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x451e3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x451ec9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451eb2
mov eax, dword [esi + 8]
test eax, eax
je 0x451e67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451eae
cmp eax, 2
je 0x451eb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451e5a
cmp eax, 3
je 0x451e8d
cmp eax, 1
jne 0x451e5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451e5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451e5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451ef0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451ed8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451ef0
add esp, 4
pop esi
ret

Function at 0x4603d0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x460473
test eax, eax
jbe 0x460473
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x460473
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46041e
xor esi, esi
jmp 0x460424
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46044f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00411e10
add esi, eax
push esi
mov ebx, esi
call fcn.00411e10
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x460430
pop ebp
test edi, edi
pop edi
jne 0x460473
test ebx, ebx
je 0x460473
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046daf0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4605b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4606cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4606cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047f5ec
mov esi, eax
test esi, esi
je 0x4606cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4606cd
mov ecx, esi
call fcn.00460520
cmp edi, eax
jge 0x4606cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x460653
mov dword [esp + 0x34], 1
jmp 0x4606ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4606cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045edc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x462890
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4628d9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x462d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ec70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00462900
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00462980
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00462980
lea ecx, [esi + 0xc]
call fcn.0047dafe
lea ecx, [esi + 0x10]
call fcn.0047dafe
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00463f10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00463f10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00463f10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047db73
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047db73
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x464100
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x464166
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x464166
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x464147
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47ff90
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47ffc8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047e01a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047dff2
jmp 0x47ffd4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x481682
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4816c4
call fcn.00487467
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4816c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4816bb
xor eax, eax
jmp 0x4816cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004816d2
pop edi
pop esi
pop ebx
ret 4

Function at 0x487997
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4879c5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4879e3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004878fd
jmp 0x4879e3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4879e3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004878fd
test edi, edi
mov eax, edi
jne 0x4879cd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4014dc
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4014ee
mov eax, dword [0x4d108b]
shl eax, 2
mov dword [0x4d108f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004a7c4c
pop edx
call fcn.004a7bac
call fcn.004a7c8c
push 0
call fcn.004a8d50
pop ecx
push 0x4d1034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4d1093], eax
push 0
jmp fcn.004b10a8

Function at 0x4130a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004947a4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne byte [ebp - 5]
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004942e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4201e9
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.00494550
mov esp, ebp
pop ebp
ret

Function at 0x425028
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x425162
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x47e0ec]
call fcn.0047e2b0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x425138
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.0047e3dc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00494550
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x425178
call fcn.004945f0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0047e6c8
lea ecx, [ebp - 4]
mov edx, 0x4251b4
mov eax, dword [ebp - 0xc]
call fcn.0047e980
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00488550
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42511b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4251c0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x20], eax
call dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4d478c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425122
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
Function at 0x4251d4
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0xa5
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x425219
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x4d4788]
je 0x425211
push ebp
call fcn.00425028
pop ecx
mov eax, dword [ebp - 8]
mov dword [0x4d4788], eax
mov al, byte [0x4d478c]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x425220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x12]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov al, byte [ebp - 0xe]
mov word [ebp - 2], ax
cmp word [ebp - 2], 0
je 0x425271
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x425253
add word [ebp - 2], 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x425265
add word [ebp - 2], 0x4000
test byte [ebp - 7], 0x20
je 0x425271
add word [ebp - 2], 0x8000
mov ax, word [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x428340
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x428346
ret
Function at 0x435d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x435da8]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x435d6a
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x435d74
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x435d7e
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x435d88
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x435d92
or byte [ebp - 3], 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x435da2
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x435dac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x435df0]
mov byte [ebp - 5], al
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x435dcd
or byte [ebp - 5], 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x435ddd
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x435de7
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x43f304
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x43f316
add esp, 0xfffffff0
call fcn.00493a00
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0047a4e4
mov eax, dword [0x4dc7fc]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x43f874
mov eax, dword [0x4dc800]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x43f894
mov eax, dword [ebp - 4]
call fcn.0043f8b4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4700bc]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4700bc]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x4700bc]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x4700bc]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x4700bc]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x43a0d0
push eax
push 0
push 0
mov eax, dword [0x4dc7e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4275bc]
call fcn.0042907c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4275bc]
call fcn.0042907c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x4275bc]
call fcn.0042907c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0043fe08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43fc4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43fc4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43fc4c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x43f49e
call fcn.00493a58
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43fa04
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43fbcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43fbad
mov dl, 1
mov eax, dword [0x47066c]
call fcn.004936ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004942e0
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43fb96
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00463bcc
test al, al
je 0x43fb8a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x43fbe0
lea eax, [ebp - 0x25c]
call fcn.00482fac
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43fb8a
xor eax, eax
push ebp
push 0x43fb83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x43fc18
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x43fb6c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00494550
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43fb6c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00494550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fb8a
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x43fa79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00475a78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fbd6
lea eax, [ebp - 0x268]
call fcn.004942e0
ret
Function at 0x440730
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4dce80]
cmp byte [eax + 0xad], 0
jne 0x4407a7
cmp dword [0x4dce98], 0
jne 0x440765
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4406ec
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4dce98], eax
cmp dword [0x4dce94], 0
jne 0x440780
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4dce94], eax
cmp dword [0x4dce9c], 0
jne 0x4407a7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x44068c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4dce9c], eax
pop ecx
pop ebp
ret

Function at 0x440870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00440808
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x440891
xor eax, eax
call fcn.00440840
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x4408ab
mov al, 1
call fcn.00440840
mov esp, ebp
pop ebp
ret

Function at 0x4410f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4dce80]
cmp dword [eax + 0x30], 0
je 0x4411c2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x4411b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x441078
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x4411b9
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x441173
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4411b9
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00472ab4
push eax
call sub.USER32.DLL_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x441188
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret
Function at 0x4413f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4dce80]
cmp dword [eax + 0x30], 0
je 0x441503
cmp byte [ebp - 5], 0
jne 0x441488
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x44147d
push 0
push 0x441378
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x44147d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x44147d
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00472ab4
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x441455
mov eax, dword [ebp - 4]
inc dword [eax + 0x9c]
jmp 0x441503
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jle 0x441503
mov eax, dword [ebp - 4]
dec dword [eax + 0x9c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x441503
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x4414f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4414f5
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00472ab4
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4414cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x442114
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xac], 0
je 0x442159
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004943d0
jmp 0x44216a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00494334
mov esp, ebp
pop ebp
ret

Function at 0x443908
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x443992
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045d330
test al, al
je 0x443992
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045cde8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x443992
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x443982
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045cde8
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00452e10
jmp 0x443992
mov cl, 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
call fcn.004436d8
pop ecx
pop ebp
ret