joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be60
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 0x43be7c
cmp dword [esi + 4], 0
je 0x43bea9
test byte [ebx + 0x55], 1
jne 0x43be9b
mov eax, ebx
call fcn.0043aa00
test eax, eax
jne 0x43be9b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43bfb9
mov edx, esi
mov eax, ebx
call fcn.0043b984
jmp 0x43bfb9
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 0x43bfb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043dcd0
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.0043869c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043be60
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.0043dcd0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bfb9
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 0x442588
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46fba8]
cmp byte [eax + 0xc], 0
je 0x4426f5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4426ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x470b94], 0
jne 0x4425dc
push 0x4426fc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x442704
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b94], eax
cmp dword [0x46ebe4], 0
jne 0x4426d7
push 0x442714
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ebe4], eax
cmp dword [0x46ebe4], 0
je 0x4426d7
push 0x442720
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b98], eax
push 0x442730
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b9c], eax
push 0x442744
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba0], eax
push 0x44275c
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba4], eax
push 0x442774
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba8], eax
push 0x442788
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bac], eax
push 0x4427a0
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb0], eax
push 0x4427b8
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb4], eax
push 0x4427d4
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb8], eax
push 0x4427e0
mov eax, dword [0x46ebe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4426f5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x446580
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.00404b7c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4465cf
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.00404dec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44dd78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ddc8]
test si, 4
je 0x44dd8c
or bl, 1
test si, 8
je 0x44dd96
or bl, 4
test si, 1
je 0x44dda0
or bl, 8
test si, 2
je 0x44ddaa
or bl, 0x10
test si, 0x10
je 0x44ddb4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ddc3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ddcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44de04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44dde5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ddf4
or bl, 4
test esi, 0x20000000
je 0x44ddff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4544c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4544da
add esp, 0xfffffff0
call fcn.00404128
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e980
mov eax, dword [0x46f83c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45486c
mov eax, dword [0x46f848]
mov dword [eax + 4], ebx
mov dword [eax], 0x454878
mov eax, ebx
call fcn.00454884
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416c78]
call fcn.00403dc0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416c78]
call fcn.00403dc0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416c78]
call fcn.00403dc0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416c78]
call fcn.00403dc0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416c78]
call fcn.00403dc0
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, 0x450c9c
push eax
push 0
push 0
mov eax, dword [0x46f99c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4203e4]
call fcn.00421b7c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4203e4]
call fcn.00421b7c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4203e4]
call fcn.00421b7c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454cd4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454b9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454b9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454b9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454617
call fcn.00404180
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x454980
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 0x454b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454b0c
mov dl, 1
mov eax, dword [0x417094]
call fcn.00403dc0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b7c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454afb
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.004428e8
test al, al
je 0x454aee
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, 0x454b3c
lea eax, [ebp - 0x254]
call fcn.0040ac94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454aee
xor eax, eax
push ebp
push 0x454ae7
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 0x454b74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454ad0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dec
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 0x454ad0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454aee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4549f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab70
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 0x454b32
lea eax, [ebp - 0x260]
call fcn.00404b7c
ret

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

Disassembly:
push ecx
mov eax, dword [0x470be0]
cmp byte [eax + 0xa5], 0
jne 0x4554e5
cmp dword [0x470bf8], 0
jne 0x4554a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455430
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470bf8], eax
cmp dword [0x470bf4], 0
jne 0x4554c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470bf4], eax
cmp dword [0x470bfc], 0
jne 0x4554e5
push esp
push 0
push 0
push 0x4553d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x470bfc], eax
pop edx
ret
Function at 0x455b78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470be0]
cmp dword [eax + 0x30], 0
je 0x455c22
cmp dword [ebx + 0x94], 0
jne 0x455c1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455b08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455c1c
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 0x455be2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455c1c
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.00418fe0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455bf1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456780
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 0x4567b5
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.00404c6c
jmp 0x4567c2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bd0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4578e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457925
mov eax, esi
call fcn.0043dfa8
test al, al
je 0x457925
mov eax, dword [ebx + 0x84]
call fcn.0043dcd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457925
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dcd0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45bf08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45bf36
mov eax, ebx
call fcn.0045c9bc
cmp dword [ebx + 0x40], 0
je 0x45bf2f
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45bfa7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45bf99
cmp dword [ebx + 0x14], 0xcc
je 0x45bfc5
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]
Function at 0x46c628
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040502c
xor eax, eax
push ebp
push 0x46c789
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46c79c
mov edx, 0x46c7ac
mov eax, 0x80000001
call fcn.0046c564
cmp dword [ebp - 0x18], 0
jne 0x46c683
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46c79c
mov edx, 0x46c7f8
mov eax, 0x80000003
call fcn.0046c564
cmp dword [ebp - 0x18], 0
je 0x46c746
lea eax, [ebp - 0x18]
mov edx, 0x46c84c
call fcn.00404e44
xor eax, eax
push ebp
push 0x46c73f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_OleInitialize
lea edx, [ebp - 8]
mov eax, dword [0x46f7d8]
call fcn.00458570
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x46c898
call fcn.004065d8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x46c8a8
call fcn.004065d8
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0040a564
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.00405410
push 2
mov eax, dword [ebp - 0x14]
call fcn.00405420
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.0040503c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405420
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c746
call sub.ole32.dll_OleUninitialize
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c790
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ba0
lea eax, [ebp - 0x14]
call fcn.004052c4
lea eax, [ebp - 0x10]
call fcn.00406594
lea eax, [ebp - 0xc]
call fcn.00406594
lea eax, [ebp - 8]
call fcn.00406594
lea eax, [ebp - 4]
call fcn.00404b7c
ret
Function at 0x46d0ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46d1f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x46d208
mov edx, dword [0x470c34]
call fcn.00404e88
xor eax, eax
push ebp
push 0x46d1cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 8]
call fcn.0040a6b8
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402c88
lea eax, [ebp - 0x309]
mov edx, dword [ebp - 4]
call fcn.0040a6b8
lea eax, [ebp - 0x350]
xor ecx, ecx
mov edx, 0x44
call fcn.004034c8
mov dword [ebp - 0x350], 0x44
mov dword [ebp - 0x324], 1
mov word [ebp - 0x320], bx
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x350]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x46d1b3
call fcn.0040463c
jmp 0x46d1d6
push 0xffffffffffffffff
mov eax, dword [ebp - 0x360]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d1d6
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d1f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ba0
ret
Function at 0x46d21c
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov esi, 0x470c34
xor eax, eax
push ebp
push 0x46d403
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x115]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.00404dec
lea eax, [ebp - 8]
mov ecx, 0x46d418
mov edx, dword [ebp - 4]
call fcn.00404e88
call fcn.0040b934
fstp st(0)
mov eax, dword [ebp - 8]
call fcn.0040a3d8
test al, al
lea eax, [ebp - 0x11c]
mov ecx, 0x46d42c
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x11c]
call fcn.0040a3d8
test al, al
jne 0x46d30e
lea eax, [ebp - 0x120]
mov ecx, 0x46d444
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x120]
call fcn.0040a3d8
test al, al
jne 0x46d30e
mov eax, 0x46d460
call fcn.0042cde0
mov eax, dword [0x46fa24]
mov eax, dword [eax]
call fcn.00456cc0
jmp 0x46d3d8
lea eax, [ebp - 0x124]
mov ecx, 0x46d444
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x124]
call fcn.0040a3d8
test al, al
jne 0x46d372
push 0
lea eax, [ebp - 0x128]
mov ecx, 0x46d444
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x128]
call fcn.0040503c
push eax
lea eax, [ebp - 0x12c]
mov ecx, 0x46d42c
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x12c]
call fcn.0040503c
push eax
call sub.kernel32.dll_CopyFileA
mov ebx, 6
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x46d444
mov edx, dword [esi]
pop eax
call fcn.00404e88
mov eax, dword [ebp - 0x130]
mov edx, ebx
call fcn.0040a3e8
call fcn.0046d0ec
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x134]
mov ecx, 0x46d444
mov edx, dword [esi]
call fcn.00404e88
mov eax, dword [ebp - 0x134]
call fcn.0040a410
mov eax, 0x46d484
call fcn.0046cbd4
mov eax, 0x46d4a4
call fcn.0046cdf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d40a
lea eax, [ebp - 0x134]
mov edx, 7
call fcn.00404ba0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ba0
ret
Function at 0x401a10
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push ebp
push esi
push edi
push str.VirtualAlloc
mov ebp, ecx
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, str.jhkhjhgjjhgjghjhgjh
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.JKSHFDLKKJHJKSDFHLKJELLSDF
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call fcn.0043cfb0
mov edx, eax
mov edi, str.JKSHFDLKKJHJKSDFHLKJELLSDF
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x4da78
rep movsb byte es:[edi], byte [esi]
mov edi, str.jhkhjhgjjhgjghjhgjh
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x401ac4
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, 0x1369e
lea esi, [ebp + 0x4da90]
mov edi, ebx
push str.CreateThread
rep movsd dword es:[edi], dword [esi]
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push ebx
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x40e730
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x456c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0043c7f2
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0043c7f2
lea ecx, [edi + 8]
mov byte [esp + 0x14], 1
push ecx
lea ecx, [esi + 8]
call fcn.0043c7f2
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 2
call fcn.0043c7f2
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 3
call fcn.0043c7f2
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 4
push ecx
lea ecx, [esi + 0x14]
call fcn.0043c7f2
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x18], 5
call fcn.0043c7f2
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x18], 6
call fcn.0043c7f2
lea ecx, [edi + 0x20]
mov byte [esp + 0x14], 7
push ecx
lea ecx, [esi + 0x20]
call fcn.0043c7f2
lea edx, [edi + 0x24]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x18], 8
call fcn.0043c7f2
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
pop edi
mov dword [esi + 0x34], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x434a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00417db0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x434b2b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x434b2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x434ade
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x434ae9
or bh, 8
and edi, 0x8000000
je 0x434b04
mov eax, dword [0x477c9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x434b2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret