joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449034
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 0x449050
cmp dword [esi + 4], 0
je 0x44907d
test byte [ebx + 0x55], 1
jne 0x44906f
mov eax, ebx
call fcn.0044741c
test eax, eax
jne 0x44906f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44918d
mov edx, esi
mov eax, ebx
call fcn.00448a3c
jmp 0x44918d
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 0x449186
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b0c4
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.00444844
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00449034
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.0044b0c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44918d
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 0x45042c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cca00]
cmp byte [eax + 0xc], 0
je 0x450599
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450592
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0554], 0
jne 0x450480
push 0x4505a0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4505a8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0554], eax
cmp dword [0x4ca658], 0
jne 0x45057b
push 0x4505b8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ca658], eax
cmp dword [0x4ca658], 0
je 0x45057b
push 0x4505c4
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0558], eax
push 0x4505d4
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d055c], eax
push 0x4505e8
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0560], eax
push 0x450600
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0564], eax
push 0x450618
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0568], eax
push 0x45062c
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d056c], eax
push 0x450644
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0570], eax
push 0x45065c
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0574], eax
push 0x450678
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0578], eax
push 0x450684
mov eax, dword [0x4ca658]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d057c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450599
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456934
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x456988]
test si, 4
je 0x456949
or bl, 1
test si, 8
je 0x456953
or bl, 4
test si, 1
je 0x45695d
or bl, 8
test si, 2
je 0x456967
or bl, 0x10
test si, 0x10
je 0x456971
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456980
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45698c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4569c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4569a6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4569b5
or bl, 4
test esi, 0x20000000
je 0x4569c0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45e2bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e2ce
add esp, 0xfffffff0
call fcn.00403f74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421084
mov eax, dword [0x4cc42c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e660
mov eax, dword [0x4cc43c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e66c
mov eax, ebx
call fcn.0045e678
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
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, 0x45a0f4
push eax
push 0
push 0
mov eax, dword [0x4cc690]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425200]
call fcn.00426a1c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425200]
call fcn.00426a1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425200]
call fcn.00426a1c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045eaf0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e9c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e9c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e9c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e40b
call fcn.00403fcc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e7a4
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 0x45e94f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e930
mov dl, 1
mov eax, dword [0x417a80]
call fcn.00403c20
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e91f
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.00450788
test al, al
je 0x45e912
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, 0x45e960
lea eax, [ebp - 0x254]
call fcn.0040abd4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e912
xor eax, eax
push ebp
push 0x45e90b
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 0x45e998
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e8f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db0
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 0x45e8f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e912
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e815
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c758
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 0x45e956
lea eax, [ebp - 0x260]
call fcn.00404b30
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d058c]
cmp byte [eax + 0xad], 0
jne 0x45f339
cmp dword [0x4d05a4], 0
jne 0x45f2fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f284
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d05a4], eax
cmp dword [0x4d05a0], 0
jne 0x45f315
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d05a0], eax
cmp dword [0x4d05a8], 0
jne 0x45f339
push esp
push 0
push 0
push 0x45f228
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d05a8], eax
pop edx
ret
Function at 0x45f53c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f553
add esp, 0xfffffff0
call fcn.00403f74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421084
mov eax, dword [0x4cc664]
cmp word [eax + 2], 0
jne 0x45f57b
mov eax, dword [0x4cc664]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461094
mov eax, dword [0x4cc7a8]
cmp word [eax + 2], 0
jne 0x45f595
mov eax, dword [0x4cc7a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004612a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417414]
call fcn.00403c20
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 [0x425cd8]
call fcn.0042dc68
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45f74c
mov eax, dword [0x4cc4e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e03c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461970
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cc4e8]
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.0040ea38
test eax, eax
je 0x45f69c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a1dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea6c
test eax, eax
je 0x45f6b0
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.00404db0
mov byte [ebx + 0xd4], 0
push ebx
push 0x460bdc
call fcn.00422200
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4cc2bc]
cmp byte [eax], 0
jne 0x45f701
mov eax, ebx
call fcn.0045f890
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.00461b4c
mov eax, ebx
call fcn.004626ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f741
call fcn.00403fcc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fb10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d058c]
cmp dword [eax + 0x30], 0
je 0x45fbba
cmp dword [ebx + 0x94], 0
jne 0x45fbb4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45faa0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fbb4
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 0x45fb7a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fbb4
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.00419b10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fb89
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4608d4
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 0x460909
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.00404c20
jmp 0x460916
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461d30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461d9e
mov eax, esi
call fcn.0044b464
test al, al
je 0x461d9e
mov eax, dword [ebx + 0x84]
call fcn.0044b0c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461d9e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x461d92
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b0c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004434ac
jmp 0x461d9e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00461b6c
pop esi
pop ebx
ret
Function at 0x462c8c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407d0c]
call fcn.0040565c
xor eax, eax
push ebp
push 0x462e2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ca7b8], 0
jne 0x462ce7
mov ecx, dword [0x4cc2e0]
mov dl, 1
mov eax, dword [0x408408]
call fcn.0040dbc4
call fcn.004044c4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004034e8
mov eax, ebx
call fcn.004054ac
mov dword [ebp - 0x24], eax
mov esi, 0x462e3c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004067bc
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004054bc
test eax, eax
jle 0x462dd0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x462dbc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404db0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x462d62
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404dc8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x462d78
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404dc8
mov eax, dword [ebp - 0x54]
call fcn.00405004
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404db0
mov eax, dword [ebp - 0x58]
call fcn.00405004
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x462dbe
xor eax, eax
test al, al
je 0x462dc9
mov ebx, 0x15
jmp 0x462dd5
mov ebx, 0x10
jmp 0x462dd5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4ca7b8]
call fcn.00462b10
mov eax, dword [ebp - 4]
call fcn.00462b10
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004067d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e34
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b54
lea eax, [ebp - 0xc]
mov edx, dword [0x407d0c]
call fcn.0040572c
ret
Function at 0x46b624
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46b68b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.0040528c
push edi
mov eax, dword [ebp - 4]
call fcn.00405004
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b692
lea eax, [ebp - 4]
call fcn.00404b30
ret

Function at 0x48ac84
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48acb2
mov eax, ebx
call fcn.0048b738
cmp dword [ebx + 0x40], 0
je 0x48acab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48ad23
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48ad15
cmp dword [ebx + 8], 0
je 0x48acd4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48ace6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48ad15
cmp dword [ebx + 8], 0
je 0x48acc7
cmp eax, 3
je 0x48acf9
dec eax
jne 0x48acc7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48acc7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48acc7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48ad41
cmp dword [ebx + 0x14], 0xcc
je 0x48ad41
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048ad4c
pop ebx
ret
Function at 0x4be064
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4be1cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0049b584
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0049b5a4
mov ebx, eax
jmp 0x4be19e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404db0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a070
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004091b0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004091b0
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404f50
je 0x4be17e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404db0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004091b0
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004091b0
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404f50
jne 0x4be193
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0049b5c4
mov ebx, eax
test ebx, ebx
jne 0x4be0df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be1d3
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404b54
lea eax, [ebp - 4]
call fcn.00404b30
ret

Function at 0x4be344
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
xor eax, eax
push ebp
push 0x4be407
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4be37e
lea edx, [ebp - 4]
mov eax, dword [0x4cc76c]
mov eax, dword [eax]
call fcn.00461688
push 5
push 0
lea edx, [ebp - 8]
mov eax, 1
call fcn.004031dc
mov eax, dword [ebp - 8]
call fcn.00405004
push eax
mov eax, dword [ebp - 4]
call fcn.00405004
push eax
push 0x4be414
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4cc444]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d4]
mov si, 0xffeb
call fcn.00403e4c
mov eax, 0x3e8
call fcn.004be1dc
push 0
call sub.kernel32.dll_ExitProcess_1

Function at 0x4beb58
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a3c8
add esp, 0x10c
pop ebx
ret