joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad90
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.004065d8
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.00435cf8
test ebx, ebx
jne 0x43ade3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043accc
mov ebx, eax
test ebx, ebx
je 0x43aece
cmp esi, ebx
je 0x43ae0c
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 0x43ae21
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 0x43ae59
add eax, 0xffffff5f
sub eax, 2
jb 0x43ae71
dec eax
sub eax, 2
jb 0x43ae85
dec eax
sub eax, 2
jb 0x43ae7b
jmp 0x43ae8f
add eax, 0xfffffdff
sub eax, 2
jb 0x43ae71
dec eax
sub eax, 2
jb 0x43ae85
dec eax
sub eax, 2
jb 0x43ae7b
jmp 0x43ae8f
mov byte [esp + 0x120], 0
jmp 0x43ae97
mov byte [esp + 0x120], 2
jmp 0x43ae97
mov byte [esp + 0x120], 1
jmp 0x43ae97
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004484c4
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00437438
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43aed0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43bb3c
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 0x43bb58
cmp dword [esi + 4], 0
je 0x43bb85
test byte [ebx + 0x55], 1
jne 0x43bb77
mov eax, ebx
call fcn.00439f90
test eax, eax
jne 0x43bb77
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43bc95
mov edx, esi
mov eax, ebx
call fcn.0043b544
jmp 0x43bc95
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 0x43bc8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043db94
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.00437438
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043bb3c
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.0043db94
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bc95
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 0x442c78
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4714e8]
cmp byte [eax + 0xc], 0
je 0x442de5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442dde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x475544], 0
jne 0x442ccc
push 0x442dec
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x442df4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475544], eax
cmp dword [0x470578], 0
jne 0x442dc7
push 0x442e04
call sub.kernel32.dll_LoadLibraryA
mov dword [0x470578], eax
cmp dword [0x470578], 0
je 0x442dc7
push 0x442e10
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475548], eax
push 0x442e20
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47554c], eax
push 0x442e34
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475550], eax
push 0x442e4c
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475554], eax
push 0x442e64
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475558], eax
push 0x442e78
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47555c], eax
push 0x442e90
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475560], eax
push 0x442ea8
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475564], eax
push 0x442ec4
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475568], eax
push 0x442ed0
mov eax, dword [0x470578]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47556c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442de5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44842c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448480]
test si, 4
je 0x448441
or bl, 1
test si, 8
je 0x44844b
or bl, 4
test si, 1
je 0x448455
or bl, 8
test si, 2
je 0x44845f
or bl, 0x10
test si, 0x10
je 0x448469
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448478
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448484
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4484c0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44849e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4484ad
or bl, 4
test esi, 0x20000000
je 0x4484b8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44fb74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fb86
add esp, 0xfffffff0
call fcn.00403b7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2b0
mov eax, dword [0x47117c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ff18
mov eax, dword [0x471188]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ff24
mov eax, ebx
call fcn.0044ff30
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
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, 0x44b9c8
push eax
push 0
push 0
mov eax, dword [0x4712e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41de5c]
call fcn.0041f5d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41de5c]
call fcn.0041f5d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41de5c]
call fcn.0041f5d8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450360
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450230
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450230
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450230
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fcc3
call fcn.00403bd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450014
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 0x4501bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4501a0
mov dl, 1
mov eax, dword [0x412310]
call fcn.00403828
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404684
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45018f
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.00442fd4
test al, al
je 0x450182
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, 0x4501d0
lea eax, [ebp - 0x254]
call fcn.00409304
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450182
xor eax, eax
push ebp
push 0x45017b
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 0x450208
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450164
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
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 0x450164
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450182
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450085
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416078
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 0x4501c6
lea eax, [ebp - 0x260]
call fcn.00404684
ret

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

Disassembly:
push ecx
mov eax, dword [0x47557c]
cmp byte [eax + 0xad], 0
jne 0x450ba9
cmp dword [0x475594], 0
jne 0x450b6a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450af4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x475594], eax
cmp dword [0x475590], 0
jne 0x450b85
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x475590], eax
cmp dword [0x475598], 0
jne 0x450ba9
push esp
push 0
push 0
push 0x450a98
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x475598], eax
pop edx
ret
Function at 0x450d7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450d93
add esp, 0xfffffff0
call fcn.00403b7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2b0
mov eax, dword [0x4712cc]
cmp word [eax + 2], 0
jne 0x450dbb
mov eax, dword [0x4712cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045282c
mov eax, dword [0x471384]
cmp word [eax + 2], 0
jne 0x450dd5
mov eax, dword [0x471384]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452a38
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411eec]
call fcn.00403828
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 [0x41e894]
call fcn.00425f98
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x450f8c
mov eax, dword [0x4711e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042636c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4530f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4711e8]
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.0040caa8
test eax, eax
je 0x450edc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408cbc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cadc
test eax, eax
je 0x450ef0
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.004048f4
mov byte [ebx + 0xd4], 0
push ebx
push 0x45238c
call fcn.0041b42c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4710c8]
cmp byte [eax], 0
jne 0x450f41
mov eax, ebx
call fcn.004510d0
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.004532d4
mov eax, ebx
call fcn.00453e34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450f81
call fcn.00403bd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451350
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47557c]
cmp dword [eax + 0x30], 0
je 0x4513fa
cmp dword [ebx + 0x94], 0
jne 0x4513f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4512e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4513f4
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 0x4513ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4513f4
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.00414320
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4513c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452114
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 0x452149
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.00404774
jmp 0x452156
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4534b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453526
mov eax, esi
call fcn.0043de90
test al, al
je 0x453526
mov eax, dword [ebx + 0x84]
call fcn.0043db94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453526
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45351a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043db94
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004360d8
jmp 0x453526
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004532f4
pop esi
pop ebx
ret
Function at 0x4574e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x457516
mov eax, ebx
call fcn.00457f9c
cmp dword [ebx + 0x40], 0
je 0x45750f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x457587
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x457579
cmp dword [ebx + 8], 0
je 0x457538
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 0x45754a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x457579
cmp dword [ebx + 8], 0
je 0x45752b
cmp eax, 3
je 0x45755d
dec eax
jne 0x45752b
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 0x45752b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45752b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4575a5
cmp dword [ebx + 0x14], 0xcc
je 0x4575a5
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.004575b0
pop ebx
ret

Function at 0x46cf4c
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffff4
cmp byte [0x4756d0], 0
jne 0x46cfbf
cmp byte [0x4756d1], 0
je 0x46cfbf
mov byte [0x4756d1], 0
mov eax, dword [0x4756d8]
push eax
call sub.advapi32.dll_RegCloseKey_1
push esp
push 0xf003f
push 0
push 0x46cfc4
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46cfbf
mov dword [esp + 4], 4
lea eax, [esp + 4]
push eax
push 0x4756d4
lea eax, [esp + 0x10]
push eax
push 0
push 0x46cfd8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0xc
ret
Function at 0x10001250
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
and byte [ebp - 0x850], 0
push ebx
push esi
push edi
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x84f]
push 0
rep stosd dword es:[edi], eax
push 0x8000
push dword [0x1000483c]
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
push dword [0x1000483c]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
lea eax, [ebp - 0x850]
push 0x800
push 1
push eax
call ebx
mov esi, eax
add esp, 0x1c
cmp esi, 1
mov dword [ebp - 0xc], esi
jl 0x100013eb
push 0x10004174
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 8]
push eax
call fcn.100011c6
pop ecx
push eax
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 8]
call fcn.10001dea
push str..EXE
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::operator
cmp ecx, 0x4a3
nop
push 0x10004168
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fopen]
and byte [ebp - 0x4c], 0
push 0xf
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_clock]
push dword [0x100043ac]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x100043ac]
add esp, 0x10
xor edi, edi
mov ecx, dword [eax - 8]
or eax, 0xffffffff
test esi, esi
jle 0x10001351
inc eax
cmp eax, ecx
jle 0x10001341
xor eax, eax
mov dl, byte [ebp + eax - 0x4c]
xor byte [ebp + edi - 0x850], dl
inc edi
cmp edi, esi
jl 0x1000133a
push dword [ebp - 8]
lea eax, [ebp - 0x850]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push 1
push eax
call esi
xor edi, edi
add esp, 0x10
cmp dword [ebp - 0xc], edi
jle 0x100013a0
push dword [0x1000483c]
lea eax, [ebp - 0x850]
push 0x800
push 1
push eax
call ebx
push dword [ebp - 8]
mov edi, eax
lea eax, [ebp - 0x850]
push edi
push 1
push eax
call esi
add esp, 0x20
test edi, edi
jg 0x10001370
xor edi, edi
push 0xf3d
call dword [sym.imp.MSVCRT.dll_isalnum]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ecx, 0x222
nop
push 0x1a98
call dword [sym.imp.MSVCRT.dll_isspace]
pop ecx
push edi
push edi
push edi
push dword [ebp - 4]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 4]
call fcn.10001dea
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100013f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000143c
push ecx
nop
mov ecx, 0x6a1
pop ecx
push 0x1505
call dword [sym.imp.MSVCRT.dll_isupper]
mov dword [esp], str.D4B669E1_CDD4_2208_7A42_A045F4609710
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x1258970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x12c3aed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x12dd028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.01258bb0
mov eax, dword [ebp + 8]
push eax
call fcn.01258960
add esp, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.01258cc0
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.01258d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.01258c10
mov dword [ebp - 0x24], 0x1258180
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.01258c00
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
call fcn.01284399
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1258a1c
lea ecx, [ebp - 0x14]
call fcn.01258bd0
jmp 0x1258a2d
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call fcn.012592ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01258c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01275b45
mov esp, ebp
pop ebp
ret 4

Function at 0x1276593
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x12c70d8]
test eax, eax
je 0x12765d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x12765d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x12765d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x12765d2
cmp dword [ecx + 0x74], 0xe
jbe 0x12765d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x12af93d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.012af535

Function at 0x12c3330
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x12c335d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x12c335d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret