joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f6c
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 0x434f88
cmp dword [esi + 4], 0
je 0x434fb5
test byte [ebx + 0x55], 1
jne 0x434fa7
mov eax, ebx
call fcn.00433b0c
test eax, eax
jne 0x434fa7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4350c5
mov edx, esi
mov eax, ebx
call fcn.00434a90
jmp 0x4350c5
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 0x4350be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00436ddc
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.004317e8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434f6c
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.00436ddc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4350c5
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 0x43b60c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4531ec]
cmp byte [eax + 0xc], 0
je 0x43b779
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b772
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x454b64], 0
jne 0x43b660
push 0x43b780
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43b788
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b64], eax
cmp dword [0x452bd0], 0
jne 0x43b75b
push 0x43b798
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452bd0], eax
cmp dword [0x452bd0], 0
je 0x43b75b
push 0x43b7a4
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b68], eax
push 0x43b7b4
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b6c], eax
push 0x43b7c8
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b70], eax
push 0x43b7e0
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b74], eax
push 0x43b7f8
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b78], eax
push 0x43b80c
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b7c], eax
push 0x43b824
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b80], eax
push 0x43b83c
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b84], eax
push 0x43b858
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b88], eax
push 0x43b864
mov eax, dword [0x452bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b779
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43f604
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43f653
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446de0]
test si, 4
je 0x446da4
or bl, 1
test si, 8
je 0x446dae
or bl, 4
test si, 1
je 0x446db8
or bl, 8
test si, 2
je 0x446dc2
or bl, 0x10
test si, 0x10
je 0x446dcc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446ddb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446de4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446e1c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446dfd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446e0c
or bl, 4
test esi, 0x20000000
je 0x446e17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d4c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d4d6
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004195a4
mov eax, dword [0x452ec4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d868
mov eax, dword [0x452ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d874
mov eax, ebx
call fcn.0044d880
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
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, 0x449c9c
push eax
push 0
push 0
mov eax, dword [0x453010]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41afd0]
call fcn.0041c414
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41afd0]
call fcn.0041c414
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41afd0]
call fcn.0041c414
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044dca0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44db7c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44db7c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44db7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d613
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d960
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 0x44db0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44daec
mov dl, 1
mov eax, dword [0x411af0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44dadb
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.0043b96c
test al, al
je 0x44dace
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, 0x44db1c
lea eax, [ebp - 0x254]
call fcn.00408a90
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44dace
xor eax, eax
push ebp
push 0x44dac7
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 0x44db54
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44dab0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x44dab0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dace
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d9d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415794
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 0x44db12
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x454bb0]
cmp byte [eax + 0xa5], 0
jne 0x44e4b1
cmp dword [0x454bc8], 0
jne 0x44e472
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e3fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc8], eax
cmp dword [0x454bc4], 0
jne 0x44e48d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bc4], eax
cmp dword [0x454bcc], 0
jne 0x44e4b1
push esp
push 0
push 0
push 0x44e3a0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x454bcc], eax
pop edx
ret
Function at 0x44e5a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e5bf
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004195a4
mov eax, dword [0x452ffc]
cmp word [eax + 2], 0
jne 0x44e5e7
mov eax, dword [0x452ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fc80
mov eax, dword [0x4530a4]
cmp word [eax + 2], 0
jne 0x44e601
mov eax, dword [0x4530a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fe78
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4116d4]
call fcn.004030a8
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 [0x41b780]
call fcn.004213c8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e788
mov eax, dword [0x452f24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421798
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450418
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452f24]
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.0040c144
test eax, eax
je 0x44e6f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408470
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c16c
test eax, eax
je 0x44e70a
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.00404080
mov eax, dword [0x452e28]
cmp byte [eax], 0
jne 0x44e73e
mov eax, ebx
call fcn.0044e8b0
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.004505f4
mov eax, ebx
call fcn.00450fb8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e77e
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44eb30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bb0]
cmp dword [eax + 0x30], 0
je 0x44ebda
cmp dword [ebx + 0x94], 0
jne 0x44ebd4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44eac0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ebd4
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 0x44eb9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ebd4
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.00413a3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44eba9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f73c
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 0x44f771
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.00403f00
jmp 0x44f77e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4507d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450811
mov eax, esi
call fcn.004370e0
test al, al
je 0x450811
mov eax, dword [ebx + 0x84]
call fcn.00436ddc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450811
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436ddc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x451288
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov dword [esp + 4], edx
mov dword [esp], eax
cmp dword [esp], 0
jne 0x4512aa
mov eax, dword [esp + 4]
call fcn.00403e10
jmp 0x45141f
mov eax, dword [esp]
call fcn.004040d0
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.00403f00
mov ebp, 1
mov edi, 1
cmp ebp, dword [esp + 8]
jg 0x4513e5
xor esi, esi
lea eax, [esp + 0x10]
lea edx, [ebp + esi]
cmp edx, dword [esp + 8]
jle 0x451304
mov byte [eax], 0
jmp 0x45130d
mov ecx, dword [esp]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
inc esi
inc eax
cmp esi, 3
jne 0x4512f5
mov al, byte [esp + 0x10]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [esp + 0x13], dl
shl eax, 4
mov dl, byte [esp + 0x11]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
and al, 0x3f
mov byte [esp + 0x14], al
shl edx, 2
mov al, byte [esp + 0x12]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
and dl, 0x3f
mov byte [esp + 0x15], dl
and al, 0x3f
mov byte [esp + 0x16], al
mov esi, 4
lea ebx, [esp + 0x13]
mov al, byte [ebx]
sub al, 0x1a
jb 0x451373
sub al, 0x1a
jb 0x451389
sub al, 0xa
je 0x45139f
dec al
je 0x4513af
jmp 0x4513bf
mov eax, dword [esp + 4]
call fcn.00404328
xor edx, edx
mov dl, byte [ebx]
add edx, 0x41
mov byte [eax + edi - 1], dl
jmp 0x4513d3
mov eax, dword [esp + 4]
call fcn.00404328
xor edx, edx
mov dl, byte [ebx]
add edx, 0x47
mov byte [eax + edi - 1], dl
jmp 0x4513d3
mov eax, dword [esp + 4]
call fcn.00404328
mov byte [eax + edi - 1], 0x2b
jmp 0x4513d3
mov eax, dword [esp + 4]
call fcn.00404328
mov byte [eax + edi - 1], 0x2f
jmp 0x4513d3
mov eax, dword [esp + 4]
call fcn.00404328
xor edx, edx
mov dl, byte [ebx]
sub edx, 4
mov byte [eax + edi - 1], dl
inc edi
inc ebx
dec esi
jne 0x45135f
add ebp, 3
cmp ebp, dword [esp + 8]
jle 0x4512ef
mov eax, dword [esp + 8]
mov ecx, 3
cdq
idiv ecx
mov esi, 3
sub esi, edx
dec esi
cmp esi, 2
je 0x45141f
mov ebp, dword [esp + 0xc]
sub ebp, esi
mov ebx, dword [esp + 0xc]
sub ebx, ebp
jl 0x45141f
inc ebx
mov eax, dword [esp + 4]
call fcn.00404328
mov byte [eax + ebp - 1], 0x3d
inc ebp
dec ebx
jne 0x45140d
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x451428
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov dword [esp], edx
mov esi, eax
test esi, esi
jne 0x451444
mov eax, dword [esp]
call fcn.00403e10
jmp 0x4515d0
mov eax, esi
call fcn.004040d0
mov dword [esp + 4], eax
test byte [esp + 4], 3
je 0x45146c
mov ecx, 0x4515e0
mov dl, 1
mov eax, dword [0x406c20]
call fcn.0040b390
call fcn.0040384c
mov eax, dword [esp + 4]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [esp + 8], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
xor edx, edx
call fcn.00403f00
mov ebx, 1
mov edi, 1
cmp ebx, dword [esp + 4]
jg 0x4515a4
mov edx, 4
lea eax, [esp + 0xc]
xor ecx, ecx
mov cl, byte [esi + ebx - 1]
cmp ecx, 0x3d
jg 0x4514c4
je 0x451501
sub ecx, 0x2b
je 0x4514f7
sub ecx, 4
je 0x4514fc
dec ecx
sub ecx, 0xa
jb 0x4514ec
jmp 0x451506
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4514d6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4514e1
jmp 0x451506
mov cl, byte [esi + ebx - 1]
sub cl, 0x41
mov byte [eax], cl
jmp 0x451532
mov cl, byte [esi + ebx - 1]
sub cl, 0x47
mov byte [eax], cl
jmp 0x451532
mov cl, byte [esi + ebx - 1]
add cl, 4
mov byte [eax], cl
jmp 0x451532
mov byte [eax], 0x3e
jmp 0x451532
mov byte [eax], 0x3f
jmp 0x451532
mov byte [eax], 0
jmp 0x451532
xor eax, eax
mov al, byte [esi + ebx - 1]
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0
lea eax, [esp + 0x10]
push eax
push 0
mov ecx, 0x451600
mov dl, 1
mov eax, dword [0x406c20]
call fcn.0040b3cc
call fcn.0040384c
inc ebx
inc eax
dec edx
jne 0x4514a5
mov eax, dword [esp]
call fcn.00404328
xor edx, edx
mov dl, byte [esp + 0xc]
shl edx, 2
xor ecx, ecx
mov cl, byte [esp + 0xd]
shr ecx, 4
or edx, ecx
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
call fcn.00404328
xor edx, edx
mov dl, byte [esp + 0xd]
shl edx, 4
xor ecx, ecx
mov cl, byte [esp + 0xe]
shr ecx, 2
or edx, ecx
mov byte [eax + edi], dl
mov eax, dword [esp]
call fcn.00404328
xor edx, edx
mov dl, byte [esp + 0xe]
shl edx, 6
xor ecx, ecx
mov cl, byte [esp + 0xf]
or edx, ecx
mov byte [eax + edi + 1], dl
add edi, 3
cmp ebx, dword [esp + 4]
jle 0x45149c
mov edx, esi
mov eax, 0x451624
call fcn.00404414
mov ebx, eax
test ebx, ebx
je 0x4515d0
mov eax, dword [esp + 4]
sub eax, ebx
inc eax
mov ebx, eax
mov edx, dword [esp + 8]
sub edx, ebx
inc edx
mov eax, dword [esp]
mov ecx, ebx
call fcn.00404370
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x4028cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4011f0
cmp edx, dword [eax]
je 0x4028ef
add eax, 8
inc ecx
cmp eax, 0x401280
jl 0x4028e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4011f0]
jne 0x402a1d
mov eax, dword [0x4044c0]
cmp eax, 1
je 0x4029f7
test eax, eax
jne 0x402920
cmp dword [0x401144], 1
je 0x4029f7
cmp edx, 0xfc
je 0x402a1d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402957
lea eax, [ebp - 0x1a4]
push 0x401884
push eax
call fcn.00402e80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40299a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x401880
push edi
call fcn.00403c80
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x401864
push eax
call fcn.00402e80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402e90
lea eax, [ebp - 0xa0]
push 0x401860
push eax
call fcn.00402e90
push dword [esi + 0x4011f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402e90
push 0x12010
lea eax, [ebp - 0xa0]
push 0x401838
push eax
call fcn.00403bee
add esp, 0x2c
pop edi
jmp 0x402a1d
lea eax, [ebp + 8]
lea esi, [esi + 0x4011f4]
push 0
push eax
push dword [esi]
call fcn.00402ff0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e70f
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x42e829
je 0x42e820
cmp eax, 0x80
jg 0x42e7a6
je 0x42e79d
cmp eax, 8
jg 0x42e76f
je 0x42e766
cmp eax, 0x80000000
je 0x42e75d
cmp eax, 2
je 0x42e754
cmp eax, 4
jne 0x42e90c
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x42e794
cmp eax, 0x20
je 0x42e78b
cmp eax, 0x40
jne 0x42e90c
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x42e7ec
je 0x42e7e3
cmp eax, 0x100
je 0x42e7da
cmp eax, 0x200
je 0x42e7d1
cmp eax, 0x400
jne 0x42e90c
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x42e817
cmp eax, 0x2000
je 0x42e80e
cmp eax, 0x4000
jne 0x42e90c
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x42e8b5
je 0x42e8ac
cmp eax, 0x80000
jg 0x42e87c
je 0x42e873
cmp eax, 0x10000
je 0x42e86a
cmp eax, 0x20000
je 0x42e861
cmp eax, 0x40000
jne 0x42e90c
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x42e8a3
cmp eax, 0x200000
je 0x42e89a
cmp eax, 0x400000
jne 0x42e90c
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x42e8f7
je 0x42e8ee
cmp eax, 0x1000000
je 0x42e8e5
cmp eax, 0x2000000
je 0x42e8dc
cmp eax, 0x4000000
jne 0x42e90c
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x42e924
cmp eax, 0x20000000
je 0x42e91b
cmp eax, 0x40000000
je 0x42e912
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4