joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438548
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.00405dbc
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.00433c94
test ebx, ebx
jne 0x43859b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00438484
mov ebx, eax
test ebx, ebx
je 0x438686
cmp esi, ebx
je 0x4385c4
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 0x4385d9
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 0x438611
add eax, 0xffffff5f
sub eax, 2
jb 0x438629
dec eax
sub eax, 2
jb 0x43863d
dec eax
sub eax, 2
jb 0x438633
jmp 0x438647
add eax, 0xfffffdff
sub eax, 2
jb 0x438629
dec eax
sub eax, 2
jb 0x43863d
dec eax
sub eax, 2
jb 0x438633
jmp 0x438647
mov byte [esp + 0x120], 0
jmp 0x43864f
mov byte [esp + 0x120], 2
jmp 0x43864f
mov byte [esp + 0x120], 1
jmp 0x43864f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044c304
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004353a8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x438688
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43905c
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 + 0x210], 0
je 0x439078
cmp dword [esi + 4], 0
je 0x4390a5
test byte [ebx + 0x55], 1
jne 0x439097
mov eax, ebx
call fcn.004377e8
test eax, eax
jne 0x439097
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4391b5
mov edx, esi
mov eax, ebx
call fcn.00438a98
jmp 0x4391b5
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 0x4391ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b03c
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.004353a8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043905c
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.0043b03c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4391b5
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 0x440070
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45f528]
cmp byte [eax + 0xc], 0
je 0x4401dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4401d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460af4], 0
jne 0x4400c4
push 0x4401e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4401ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460af4], eax
cmp dword [0x45ee48], 0
jne 0x4401bf
push 0x4401fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ee48], eax
cmp dword [0x45ee48], 0
je 0x4401bf
push 0x440208
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460af8], eax
push 0x440218
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460afc], eax
push 0x44022c
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b00], eax
push 0x440244
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b04], eax
push 0x44025c
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b08], eax
push 0x440270
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b0c], eax
push 0x440288
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b10], eax
push 0x4402a0
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b14], eax
push 0x4402bc
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b18], eax
push 0x4402c8
mov eax, dword [0x45ee48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4401dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444574
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.00403f44
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4445c2
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004041b4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448534
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448669
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 [0x41a9b8]
call fcn.0041aa88
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x44863f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041ab28
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004041b4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x448680
call fcn.00404250
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0041ab8c
lea ecx, [ebp - 4]
mov edx, 0x4486bc
mov eax, dword [ebp - 0xc]
call fcn.0041aee0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040cb80
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x448622
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4486c8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x45ef54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448629
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x448718
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x44875f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448742
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448753
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x44875f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x44c26c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2c0]
test si, 4
je 0x44c281
or bl, 1
test si, 8
je 0x44c28b
or bl, 4
test si, 1
je 0x44c295
or bl, 8
test si, 2
je 0x44c29f
or bl, 0x10
test si, 0x10
je 0x44c2a9
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2b8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c2c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c300]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2de
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2ed
or bl, 4
test esi, 0x20000000
je 0x44c2f8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45333c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45334e
add esp, 0xfffffff0
call fcn.004034e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419568
mov eax, dword [0x45f1d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4536e0
mov eax, dword [0x45f1e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4536ec
mov eax, ebx
call fcn.004536f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
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, 0x44f400
push eax
push 0
push 0
mov eax, dword [0x45f338]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b704]
call fcn.0041cb7c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b704]
call fcn.0041cb7c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b704]
call fcn.0041cb7c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453b34
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45348b
call fcn.0040353c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4537dc
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 0x453987
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453968
mov dl, 1
mov eax, dword [0x411840]
call fcn.004031a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453957
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.004403cc
test al, al
je 0x45394a
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, 0x453998
lea eax, [ebp - 0x254]
call fcn.00408970
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45394a
xor eax, eax
push ebp
push 0x453943
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4539d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45392c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004041b4
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 0x45392c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004041b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45394a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45384d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004154b8
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 0x45398e
lea eax, [ebp - 0x260]
call fcn.00403f44
ret

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

Disassembly:
push ecx
mov eax, dword [0x460b40]
cmp byte [eax + 0xad], 0
jne 0x45437d
cmp dword [0x460b58], 0
jne 0x45433e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4542c8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x460b58], eax
cmp dword [0x460b54], 0
jne 0x454359
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x460b54], eax
cmp dword [0x460b5c], 0
jne 0x45437d
push esp
push 0
push 0
push 0x45426c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x460b5c], eax
pop edx
ret
Function at 0x454550
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454567
add esp, 0xfffffff0
call fcn.004034e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419568
mov eax, dword [0x45f324]
cmp word [eax + 2], 0
jne 0x45458f
mov eax, dword [0x45f324]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456020
mov eax, dword [0x45f3cc]
cmp word [eax + 2], 0
jne 0x4545a9
mov eax, dword [0x45f3cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045622c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004031a8
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 [0x41bed8]
call fcn.00421de4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454758
mov eax, dword [0x45f240]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004221b8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456948
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45f240]
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.0040c010
test eax, eax
je 0x4546b0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c044
test eax, eax
je 0x4546c4
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, 0x100
call fcn.004041b4
push ebx
push 0x455b80
call fcn.0041a6d0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45f134]
cmp byte [eax], 0
jne 0x45470e
mov eax, ebx
call fcn.0045489c
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.00456b24
mov eax, ebx
call fcn.00457674
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45474e
call fcn.0040353c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454b1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460b40]
cmp dword [eax + 0x30], 0
je 0x454bc6
cmp dword [ebx + 0x94], 0
jne 0x454bc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454aac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454bc0
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 0x454b86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454bc0
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.00413798
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454b95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4558d8
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 0x45590d
push 0x100
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.00404034
jmp 0x45591a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f98
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456d08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456d76
mov eax, esi
call fcn.0043b33c
test al, al
je 0x456d76
mov eax, dword [ebx + 0x84]
call fcn.0043b03c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456d76
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x456d6a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b03c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043406c
jmp 0x456d76
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00456b44
pop esi
pop ebx
ret
Function at 0x4019b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc0
test eax, eax
push esi
push edi
je 0x401aae
push eax
lea eax, [esp + 0x4c]
push 0x40
push eax
push 0x4117d0
push str.StatusMonitor
push str.LPRMonitor
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x48]
push ecx
call edi
test eax, eax
jle 0x401aae
lea edx, [esp + 0x48]
push 0x40e6e8
push edx
mov byte [esp + 0x10], 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x401aae
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x401aae
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [esp + 0xc]
push eax
call esi
push 0x40e6e8
push 0
call fcn.00407c02
add esp, 8
test eax, eax
je 0x401aae
lea ecx, [esp + 0x88]
push eax
push ecx
call esi
lea edx, [esp + 0x88]
push edx
call fcn.00407bf7
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jle 0x401aae
push 0
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004018d0
add esp, 0xc
cmp eax, 1
jne 0x401aae
lea edx, [esp + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x401aae
push 0
add esi, 0x400
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
add esp, 0xc0
ret

Function at 0x401ac0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401b42
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401b2e
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
push ecx
push edx
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x401b7b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401b3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
push eax
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x401b7b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret
Function at 0x402af0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x402c10
lea eax, [esp]
push eax
push 0x40c2a0
push 1
push 0
push 0x40c2b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402c0a
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x40c2c0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x402c00
mov eax, dword [esp]
push esi
mov esi, dword [esp + 0x220]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x228]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 4]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x22c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esp + 0x21c]
lea edx, [esp + 0xc]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [esp + 8]
pop esi
push eax
mov ecx, dword [eax]
jl 0x402bfd
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
add esp, 0x214
ret
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add esp, 0x214
ret