joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447618
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 + 0x1f8], 0
je 0x447634
cmp dword [esi + 4], 0
je 0x447661
test byte [ebx + 0x55], 1
jne 0x447653
mov eax, ebx
call fcn.004461b8
test eax, eax
jne 0x447653
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x447771
mov edx, esi
mov eax, ebx
call fcn.0044713c
jmp 0x447771
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 0x44776a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449488
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.00443e54
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00447618
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.00449488
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447771
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 0x44dd84
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cd908]
cmp byte [eax + 0xc], 0
je 0x44def1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44deea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ceb98], 0
jne 0x44ddd8
push 0x44def8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44df00
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ceb98], eax
cmp dword [0x4cae6c], 0
jne 0x44ded3
push 0x44df10
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cae6c], eax
cmp dword [0x4cae6c], 0
je 0x44ded3
push 0x44df1c
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ceb9c], eax
push 0x44df2c
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ceba0], eax
push 0x44df40
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ceba4], eax
push 0x44df58
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ceba8], eax
push 0x44df70
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebac], eax
push 0x44df84
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebb0], eax
push 0x44df9c
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebb4], eax
push 0x44dfb4
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebb8], eax
push 0x44dfd0
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebbc], eax
push 0x44dfdc
mov eax, dword [0x4cae6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44def1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45208c
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.00404208
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4520db
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404478
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45980c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45985c]
test si, 4
je 0x459820
or bl, 1
test si, 8
je 0x45982a
or bl, 4
test si, 1
je 0x459834
or bl, 8
test si, 2
je 0x45983e
or bl, 0x10
test si, 0x10
je 0x459848
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459857
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459898]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459879
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459888
or bl, 4
test esi, 0x20000000
je 0x459893
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ff40
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ff52
add esp, 0xfffffff0
call fcn.00403758
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425150
mov eax, dword [0x4cd26c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4602e4
mov eax, dword [0x4cd284]
mov dword [eax + 4], ebx
mov dword [eax], 0x4602f0
mov eax, ebx
call fcn.004602fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
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, 0x45c718
push eax
push 0
push 0
mov eax, dword [0x4cd550]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426bbc]
call fcn.00428330
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426bbc]
call fcn.00428330
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426bbc]
call fcn.00428330
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046071c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4605f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4605f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4605f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46008f
call fcn.004037b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4603dc
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 0x460587
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460568
mov dl, 1
mov eax, dword [0x41a454]
call fcn.004033c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404208
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460557
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.0044e0e4
test al, al
je 0x46054a
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, 0x460598
lea eax, [ebp - 0x254]
call fcn.00409b0c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46054a
xor eax, eax
push ebp
push 0x460543
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 0x4605d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46052c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404478
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 0x46052c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46054a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46044d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ec50
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 0x46058e
lea eax, [ebp - 0x260]
call fcn.00404208
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cebe4]
cmp byte [eax + 0xa5], 0
jne 0x460f2d
cmp dword [0x4cebfc], 0
jne 0x460eee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460e78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cebfc], eax
cmp dword [0x4cebf8], 0
jne 0x460f09
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4cebf8], eax
cmp dword [0x4cec00], 0
jne 0x460f2d
push esp
push 0
push 0
push 0x460e1c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4cec00], eax
pop edx
ret
Function at 0x461024
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46103b
add esp, 0xfffffff0
call fcn.00403758
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425150
mov eax, dword [0x4cd530]
cmp word [eax + 2], 0
jne 0x461063
mov eax, dword [0x4cd530]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046278c
mov eax, dword [0x4cd688]
cmp word [eax + 2], 0
jne 0x46107d
mov eax, dword [0x4cd688]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462984
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419df0]
call fcn.004033c4
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 [0x42769c]
call fcn.0042efb0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x461204
mov eax, dword [0x4cd344]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f380
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462f34
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cd344]
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.0040dacc
test eax, eax
je 0x461172
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040daf4
test eax, eax
je 0x461186
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.00404478
mov eax, dword [0x4cd0b8]
cmp byte [eax], 0
jne 0x4611ba
mov eax, ebx
call fcn.0046132c
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.00463110
mov eax, ebx
call fcn.00463ad4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4611fa
call fcn.004037b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4615ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cebe4]
cmp dword [eax + 0x30], 0
je 0x461656
cmp dword [ebx + 0x94], 0
jne 0x461650
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46153c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461650
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 0x461616
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461650
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.0041c6a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461625
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4621b8
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 0x4621ed
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.004042f8
jmp 0x4621fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040425c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4632ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46332d
mov eax, esi
call fcn.00449760
test al, al
je 0x46332d
mov eax, dword [ebx + 0x84]
call fcn.00449488
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46332d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449488
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4669f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x466a22
mov eax, ebx
call fcn.004674a8
cmp dword [ebx + 0x40], 0
je 0x466a1b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x466a93
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x466a85
cmp dword [ebx + 8], 0
je 0x466a44
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 0x466a56
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x466a85
cmp dword [ebx + 8], 0
je 0x466a37
cmp eax, 3
je 0x466a69
dec eax
jne 0x466a37
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 0x466a37
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466a37
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x466ab1
cmp dword [ebx + 0x14], 0xcc
je 0x466ab1
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.00466abc
pop ebx
ret
Function at 0x477c8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [0x4cd644]
mov eax, dword [eax]
call fcn.00461fcc
cmp byte [ebx + 0x28c], 0
je 0x477cc0
cmp byte [ebx + 0x294], 0
je 0x477cc0
push 0
mov eax, dword [0x4cd644]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov si, 0xffe8
call fcn.004035f0
pop esi
pop ebx
ret

Function at 0x48dea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48dfda
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041d358
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x48df1c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x48df1c
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040871c
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4cd184]
mov ebx, dword [ebx]
mov eax, 0x48dff0
call ebx
dec eax
jne 0x48df1c
mov ebx, 1
jmp 0x48df1e
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x48dfbf
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0048d9b0
test al, al
jne 0x48dfb3
mov eax, dword [ebp - 4]
call fcn.0048de94
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.0040425c
xor edx, edx
push ebp
push 0x48dfa1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x48df97
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0048e2b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48dfb3
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x48df36
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dfe1
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040422c
ret

Function at 0x4b5057
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4cceb2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b50af
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4cced3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4b50a5
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4b50b3
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4c6268
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.004046b8
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c63d4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00483bac
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00483bcc
jmp 0x4c63a6
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404478
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409348
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040871c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040871c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404614
je 0x4c6380
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404478
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040871c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040871c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404614
jne 0x4c638f
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
mov edx, edi
mov eax, esi
call fcn.00483bec
test eax, eax
jne 0x4c62e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c63db
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040422c
lea eax, [ebp - 4]
call fcn.00404208
ret

Function at 0x4c67f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4c68d2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp esi, 1
jne 0x4c682c
push 0x41
push 0x4c68e0
push 0x4c68ec
push 0
call sub.user32.dll_MessageBoxA_1
dec eax
jne 0x4c682c
mov bl, 1
cmp esi, 2
jne 0x4c6833
mov bl, 1
cmp bl, 1
jne 0x4c68b7
push 0x40
push 0x4c68e0
push 0x4c6924
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4c6968
call fcn.004c6100
dec eax
jne 0x4c6862
mov eax, 0x4c6968
call fcn.004c6268
push 5
lea eax, [ebp - 4]
mov ecx, 0x4c697c
mov edx, dword [0x4cf000]
call fcn.00404514
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
push 0x4c6988
lea eax, [ebp - 8]
mov ecx, 0x4c6994
mov edx, dword [0x4cf000]
call fcn.00404514
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
push 0x4c69ac
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, 0x4c69bc
call fcn.004c6268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c68d9
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040422c
ret
Function at 0x4c6c2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046b8
xor eax, eax
push ebp
push 0x4c6c7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
push 0x4c6c88
push 0x4c6c98
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6c84
lea eax, [ebp - 4]
call fcn.00404208
ret

Function at 0x4c6d40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4c6d48
push ecx
xor eax, eax
push ebp
push 0x4c6e73
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402ab0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409314
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4c6e88
call fcn.00404514
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402ab0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409314
push dword [ebp - 0x14]
push 0x4c6e9c
call fcn.0040ad70
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, 0x4c6eb4
call fcn.0040b9ec
push dword [ebp - 0x1c]
push 0x4c6ecc
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404588
mov eax, dword [ebp - 4]
call fcn.004090fc
test al, al
je 0x4c6e58
mov eax, dword [ebp - 4]
call fcn.004c6ca0
cmp eax, 0x100000
jle 0x4c6e58
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402ab0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409314
lea eax, [ebp - 0x20]
mov edx, 0x4c6edc
call fcn.004044d0
mov eax, dword [ebp - 0x20]
call fcn.0040910c
test al, al
jne 0x4c6e41
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00402ab0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00409314
lea eax, [ebp - 0x28]
mov edx, 0x4c6edc
call fcn.004044d0
mov eax, dword [ebp - 0x28]
call fcn.00409478
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e7a
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.0040422c
ret