joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ea54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ea6b
add esp, 0xfffffff0
call fcn.00403794
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423e80
mov eax, dword [0x4c51e8]
cmp word [eax + 2], 0
jne 0x46ea93
mov eax, dword [0x4c51e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004701d4
mov eax, dword [0x4c5358]
cmp word [eax + 2], 0
jne 0x46eaad
mov eax, dword [0x4c5358]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004703cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b658]
call fcn.00403440
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b658]
call fcn.00403440
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4264a4]
call fcn.0042e210
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46ec34
mov eax, dword [0x4c5034]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e5e0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47097c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c5034]
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.0040e184
test eax, eax
je 0x46eba2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e1ac
test eax, eax
je 0x46ebb6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404530
mov eax, dword [0x4c4dcc]
cmp byte [eax], 0
jne 0x46ebea
mov eax, ebx
call fcn.0046ed5c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00470b58
mov eax, ebx
call fcn.0047151c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ec2a
call fcn.004037ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46efdc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c6be8]
cmp dword [eax + 0x30], 0
je 0x46f086
cmp dword [ebx + 0x94], 0
jne 0x46f080
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46ef6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f080
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 0x46f046
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f080
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.0041dc08
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f055
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46fbe8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46fc1d
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.004043b0
jmp 0x46fc2a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404314
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470d34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470d75
mov eax, esi
call fcn.00456db4
test al, al
je 0x470d75
mov eax, dword [ebx + 0x84]
call fcn.00456ab0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470d75
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456ab0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4720f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47212c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47210a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x472119
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x472128
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4734c8
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c5318]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4734ee
push 0
mov eax, dword [0x4c5318]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x474a5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x474cbc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x474abf
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00474574
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dd70
cmp al, 1
jne 0x474abf
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047483c
test al, al
je 0x474c4b
cmp dword [ebp - 8], 0
jge 0x474add
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00474574
mov eax, dword [ebp - 0x210]
call fcn.00404580
cmp ebx, eax
jge 0x474b27
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00474574
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c55a8]
and eax, 0xff
bt dword [edx], eax
jae 0x474b27
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x474b3b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00474a38
cmp ebx, dword [ebp - 8]
je 0x474c3d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x474b67
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040366c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c41e8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x474c2a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040366c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c41e8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00456ab0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040366c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c41e8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00456ab0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c31
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x474c9e
cmp dword [ebp - 8], 0
jge 0x474c56
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00474574
mov eax, dword [ebp - 0x218]
call fcn.00404580
cmp eax, dword [ebp - 8]
jg 0x474c90
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00474574
mov eax, dword [ebp - 0x21c]
call fcn.00404580
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00474a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474cc3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004042e4
ret
Function at 0x47c200
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41abd0]
call fcn.00404da0
xor eax, eax
push ebp
push 0x47c344
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c4290], 0
jne 0x47c253
mov ecx, dword [0x4c4df8]
mov dl, 1
mov eax, dword [0x407aa4]
call fcn.0040d428
call fcn.00403cc0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dfc
mov eax, ebx
call fcn.00404b58
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47c354
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040604c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b68
test eax, eax
jle 0x47c2eb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47c2e4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404548
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404530
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a4c
test eax, eax
jne 0x47c2e4
mov ebx, 0x15
jmp 0x47c2f0
mov ebx, 0x10
jmp 0x47c2f0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c4290]
call fcn.0047c158
mov eax, dword [ebp - 8]
call fcn.0047c158
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c34b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004042e4
lea eax, [ebp - 0x10]
mov edx, dword [0x41abd0]
call fcn.00404e70
ret

Function at 0x498e98
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x498ebd
cmp dword [esp + 4], 5
jb 0x498ebd
mov al, 1
jmp 0x498ebf
xor eax, eax
add esp, 0x94
ret
Function at 0x4b4258
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4c4c50], 0
mov eax, dword [0x4c55bc]
cmp dword [eax], 2
jne 0x4b4431
mov eax, dword [0x4c503c]
cmp dword [eax], 5
jl 0x4b4431
call fcn.004b13f4
test al, al
jne 0x4b4289
call fcn.004b1400
call fcn.004b13ec
mov dword [0x4c4c58], eax
push 0x4b4434
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c1c], eax
cmp dword [0x4c4c1c], 0
jne 0x4b42e4
mov edx, 0x8000
mov eax, 0x4b4448
call fcn.0040f068
mov dword [0x4c4c54], eax
mov eax, dword [0x4c4c54]
mov dword [0x4c4c58], eax
push 0x4b4434
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c1c], eax
cmp dword [0x4c4c1c], 0
je 0x4b442c
push 0x4b4454
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c20], eax
cmp dword [0x4c4c20], 0
je 0x4b442c
push 0x4b4460
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c24], eax
cmp dword [0x4c4c24], 0
je 0x4b442c
mov byte [0x4c4c50], 1
push 0x4b4470
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c28], eax
push 0x4b447c
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c2c], eax
push 0x4b4488
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c30], eax
push 0x4b4498
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c34], eax
push 0x4b44a8
mov eax, dword [0x4c4c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c38], eax
mov edx, 0x8000
mov eax, 0x4b44c0
call fcn.0040f068
mov dword [0x4c4c5c], eax
cmp dword [0x4c4c5c], 0
je 0x4b4431
push 0x4b44d0
mov eax, dword [0x4c4c5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c3c], eax
push 0x4b44ec
mov eax, dword [0x4c4c5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c40], eax
push 0x4b450c
mov eax, dword [0x4c4c5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c44], eax
push 0x4b4528
mov eax, dword [0x4c4c5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c48], eax
push 0x4b4540
mov eax, dword [0x4c4c5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4c4c], eax
ret
call fcn.004b41d8
ret
Function at 0x4b6b64
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b6c8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004b6a50
mov eax, dword [esi]
call fcn.004056c4
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4aff98]
call fcn.00405880
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004029dc
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004029dc
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004056c4
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c54b8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004b022c
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00402dfc
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004056c4
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004b015c
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004b0158
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004b0224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6c93
lea eax, [ebp - 8]
mov edx, dword [0x4aff98]
call fcn.004059a0
ret
Function at 0x4bb444
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404770
xor eax, eax
push ebp
push 0x4bb570
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004042c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4bb54d
mov eax, ebx
call fcn.004027e0
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4bb580
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408f10
push dword [ebp - 0x14]
push 0x4bb58c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408f10
push dword [ebp - 0x18]
push 0x4bb58c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408f10
push dword [ebp - 0x1c]
push 0x4bb58c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408f10
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404640
mov eax, esi
call fcn.00402800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb577
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret

Function at 0x4bb794
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4bb831
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [0x4c5318]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004097a0
lea ecx, [ebp - 0x108]
mov eax, dword [ebx]
mov edx, 1
call fcn.00437ae4
mov eax, dword [ebp - 0x108]
mov edx, 0x4bb848
call fcn.004046cc
je 0x4bb818
mov eax, ebx
mov edx, 0x4bb848
call fcn.00404588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb838
lea eax, [ebp - 0x108]
call fcn.004042c0
ret
Function at 0x4bb84c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4bb8d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4bb914
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4bb8b2
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404530
jmp 0x4bb8be
mov eax, ebx
mov edx, 0x4bb920
call fcn.00404314
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4bc528
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4bc6e0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4bc6f0
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bc6ba
push 0
push 0x4bc6f8
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bc6ba
push 0
push 0x4bc708
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bc71c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4bc6ba
call fcn.004bb3e0
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4bc5cd
cmp eax, dword [esp]
pop edx
pop eax
je 0x4bc6ba
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4c6de8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.0040932c
test al, al
jne 0x4bc6ba
cmp dword [esi + 0x388], 0
jle 0x4bc631
dec dword [esi + 0x388]
jmp 0x4bc656
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004ba410
test al, al
je 0x4bc6ba
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e020
test eax, eax
jne 0x4bc6ba
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc6e7
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4bc724
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4bc8dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4bc8ec
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bc8b6
push 0
push 0x4bc8f4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bc8b6
push 0
push 0x4bc904
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bc918
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4bc8b6
call fcn.004bb3e0
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4bc7c9
cmp eax, dword [esp]
pop edx
pop eax
je 0x4bc8b6
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4c6de8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.0040932c
test al, al
jne 0x4bc8b6
cmp dword [esi + 0x388], 0
jle 0x4bc82d
dec dword [esi + 0x388]
jmp 0x4bc852
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004ba410
test al, al
je 0x4bc8b6
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e020
test eax, eax
jne 0x4bc8b6
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc8e3
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret