joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46491c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
and dword [ebp - 8], 0
push ebx
push esi
push edi
push eax
push 0x61
push 0x478448
mov dword [0x49cd58], 1
call fcn.0045449d
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x464a5a
push 4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
push dword [ebp - 4]
call fcn.004646df
test eax, eax
jne 0x464a5a
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x464a55
push ecx
push esi
call edi
test eax, eax
je 0x464a4c
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp esi, 2
jne 0x464a43
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp dword [esi + 0x1de], 0
je 0x464a39
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetDC]
push 0
push dword [esi + 0x1e6]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [esi + 0x1de]
push 9
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x464a20
xor eax, eax
push eax
push 0xffffffffffffffff
push 0x6c
push esi
mov dword [esi + 0x1de], eax
mov dword [esi + 0x1e6], eax
push dword [ebp - 4]
call fcn.00434e3e
push 0
push 0xffffffffffffffff
push 0x6a
push esi
push dword [ebp - 4]
call fcn.00434e3e
push 0
push 0xffffffffffffffff
push 0x6e
push esi
push dword [ebp - 4]
call fcn.00434e3e
jmp 0x464a2f
push 0
push dword [esi + 0x1de]
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
and dword [0x49cd58], 0
jmp 0x464a86
and dword [0x49cd58], 0
jmp 0x464a68
xor eax, eax
inc eax
jmp 0x464a5d
mov ecx, dword [ebp - 8]
and dword [0x49cd58], 0
test eax, eax
je 0x464a86
push 0
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push esi
mov dword [ebp - 8], eax
call edi
mov ecx, dword [ebp - 8]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 8], ecx
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x464a94
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 4], 0
je 0x464aa3
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x465157
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0x10], 0
push ebx
xor ebx, ebx
call fcn.0046b132
test eax, eax
jne 0x465175
xor eax, eax
inc eax
jmp 0x465282
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x46516d
push edi
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, edi
jne 0x465198
inc eax
jmp 0x465281
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x66
push dword [eax + 0x26]
call fcn.0043e427
mov esi, dword [ebp + 8]
push 0
push dword [ebp - 4]
push 0x66
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x32]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
call fcn.00453b1f
xor ecx, ecx
inc ecx
test eax, eax
mov eax, dword [ebp - 4]
je 0x4651ef
test eax, eax
cmove eax, ecx
mov dword [ebp - 4], eax
push 0
push eax
push 0x68
push esi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
cmp dword [ebp - 4], ebx
je 0x465244
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
shr eax, 0x10
cwde
push ecx
push eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
push 0x65
push dword [eax + 0x26]
call fcn.0043c164
test eax, eax
jne 0x465244
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0xc]
mov ebx, dword [eax + 0x3c]
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00465084
mov dword [ebp - 0x10], eax
push 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0x6a
push esi
call ebx
push 1
push dword [ebp - 0x10]
push 0x6c
push esi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x49d9fc]
mov dword [0x49da10], esi
push esi
call fcn.0046aecc
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c82b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x46c974
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0x10]
mov esi, eax
push 1
push 1
mov dword [esi + 0x1cc], ecx
lea ecx, [esi + 0x48]
push ecx
call fcn.0046bad9
push 0
push dword [esi + 0x1cc]
call fcn.0046ba5b
push 0x18
push dword [esi + 0x1cc]
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, 0x7fff
push eax
push 0
push ebx
mov dword [ebp + 0xc], eax
call fcn.0046f300
lea eax, [ebp + 0x10]
push eax
push 0x7fff
push 0
push ebx
push edi
call fcn.0046d8c0
mov dword [ebp - 8], eax
test eax, eax
jne 0x46c969
test byte [esi], 6
je 0x46c8dc
push esi
push edi
call fcn.0046f0ce
test eax, eax
je 0x46c8dc
shr eax, 0x10
mov dword [ebp - 4], 1
test ax, ax
jne 0x46c8e2
test dword [esi], 0x100
jne 0x46c8e2
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x1c0], 0
je 0x46c8f5
push 1
push 0x10
push esi
call fcn.0046bad9
push esi
push edi
call fcn.004738d2
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0
push esi
push edi
call fcn.00473428
push 0
push 0
push esi
push edi
call fcn.0046c440
push 0x80
push esi
push edi
call fcn.00470e77
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46c969
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [ebp + 8]
jne 0x46c963
movzx eax, word [0x49da34]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x46c963
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [eax + 0x48], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47016b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
xor esi, esi
push ebx
push dword [ebp + 8]
inc esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 8], eax
test eax, eax
je 0x4702dc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x11
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4702ce
mov eax, dword [edi + 0x48]
test al, 4
push 0
pop ecx
mov edx, eax
cmovne ecx, esi
and edx, 8
je 0x4701ce
mov eax, dword [edi + 0xb0]
cmp eax, dword [edi + 0xc4]
mov eax, dword [edi + 0x48]
cmove ebx, esi
and dword [ebp - 4], 0
and al, 6
cmp al, 2
mov eax, dword [ebp + 0xc]
cmove edx, dword [ebp - 4]
cmp eax, 0x25
ja 0x470259
je 0x470243
sub eax, 8
je 0x47026d
sub eax, 5
je 0x470220
sub eax, 0x16
je 0x470210
sub eax, 1
jne 0x4702ce
test ecx, ecx
jne 0x4702d0
push esi
push 0xffff8001
jmp 0x47024e
test ecx, ecx
jne 0x4702d0
push esi
push 0x7fff
jmp 0x47024e
test edx, edx
je 0x4702d0
mov eax, 0x102
xor esi, esi
push eax
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x4702d0
test ecx, ecx
jne 0x4702d0
push ecx
push 0xffffffffffffffff
push edi
push dword [ebp + 8]
call fcn.004702e4
jmp 0x4702d0
sub eax, 0x26
je 0x4702ad
sub eax, 1
je 0x4702a5
sub eax, 1
je 0x470280
sub eax, 6
jne 0x4702ce
test ecx, ecx
jne 0x4702d0
push 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046cc83
jmp 0x4702d0
test ebx, ebx
je 0x470296
mov eax, dword [edi + 0xf4]
xor ebx, ebx
dec eax
cmp dword [edi + 0xb4], eax
sete bl
test edx, edx
jne 0x4702ce
test ebx, ebx
jne 0x4702ce
test ecx, ecx
jne 0x4702d0
push esi
jmp 0x4702ca
test ecx, ecx
jne 0x4702d0
push ecx
push esi
jmp 0x47024e
test ebx, ebx
je 0x4702bc
xor ebx, ebx
cmp dword [edi + 0xb4], ebx
sete bl
test edx, edx
jne 0x4702ce
test ebx, ebx
jne 0x4702ce
test ecx, ecx
jne 0x4702d0
push 0xffffffffffffffff
push 0
jmp 0x47024e
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x473c18
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov esi, ebx
mov edi, ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x473dbd
push 1
call fcn.0044bc76
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx + 0xb0]
cmp eax, dword [ecx + 0xc4]
jge 0x473d55
push ebx
push ecx
call fcn.0046e6c2
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0xc], eax
mov edx, dword [eax + 0x18]
test edx, edx
je 0x473d4e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x1e0]
mov dword [eax + 0x48], ecx
mov ecx, dword [eax + 0x14]
lea eax, [ecx*2 + 1]
add eax, edx
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x473d49
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
inc ecx
imul ecx, ecx, 0x50
imul eax, edx, 0x30
add ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
add dword [ebp - 4], ecx
test edx, edx
jle 0x473d3b
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
lea ecx, [ebx + 0x74]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x14]
dec eax
cmp dword [ebp - 8], eax
jge 0x473cf5
mov eax, dword [ecx + 0x30]
jmp 0x473cf8
mov eax, dword [ebx + 0x18]
sub eax, dword [ecx]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x473d24
push eax
push edi
push esi
call dword [sym.imp.VCRUNTIME140.dll_memmove]
add edi, dword [ebp + 0xc]
add esp, 0xc
add esi, dword [ebp + 0xc]
cmp byte [edi - 1], 0xd
je 0x473d1d
mov byte [esi], 0xd
inc esi
mov ecx, dword [ebp - 0xc]
mov byte [esi], 0xa
inc esi
mov eax, dword [ebp - 8]
add ecx, 0x30
inc eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x14]
jl 0x473ce7
mov edi, dword [ebp - 0x14]
xor ebx, ebx
push edi
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0x18]
jmp 0x473d4e
mov ebx, 0x2714
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
je 0x473db6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x473dbb
call dword [sym.imp.USER32.dll_EmptyClipboard]
movzx eax, word [0x49da34]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x473da2
test edi, edi
je 0x473dae
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x473dae
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x473dae
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 0x2714
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x473dbb
mov ebx, 0x2714
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475ad9
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x478b30
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475b9d
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x475b8c
cmp dword [ebp - 0x110], 2
lea eax, [ebp - 0x108]
mov byte [ebp - 5], bl
jne 0x475b7d
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x475b8c
push eax
push edi
push esi
call fcn.00475bb1
xor ebx, ebx
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x475b9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 4

Function at 0x475da3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x478b78], eax
je 0x475dc5
cmp dword [0x478b78], ebx
jne 0x475e59
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x478b78
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x478b78
push 4
push edi
mov dword [0x478b78], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x478b78]
not eax
mov dword [0x47c834], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476089
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x478f10
call fcn.004767c8
push 1
call fcn.0047632c
pop ecx
test al, al
jne 0x475f32
push 7
call fcn.00476593
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004762f7
mov byte [ebp - 0x24], al
mov eax, dword [0x49dd84]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x475f2b
test eax, eax
jne 0x475f9c
mov dword [0x49dd84], ecx
push 0x4783d8
push 0x4783c8
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x475f7f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x476083
push 0x4783c4
push 0x4783bc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x49dd84], 2
jmp 0x475fa1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00476489
pop ecx
call fcn.00476587
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x475fd1
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fd1
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004767c2
call esi
call fcn.0047658d
mov esi, eax
cmp dword [esi], edi
je 0x475fef
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fef
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.004766a8
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004766db
test al, al
jne 0x476028
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x476031
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004764a6
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x476083
call fcn.0047680e
ret
call fcn.00475da3
jmp 0x475f13
Function at 0x441c980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4416e40]
xor edx, edx
cmp eax, edx
jne 0x441c9a6
xor eax, eax
mov byte [eax + 0x4416d40], al
inc eax
cmp eax, 0x100
jl 0x441c98e
mov dword [0x4416e40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4416d40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x441ca37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x441ca0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x441c9d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x441cab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x441cb03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x441caea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4423b50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4423ce8
cmp ebp, ebx
jle 0x4423ce8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4423bae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4423bb5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4423bc4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4423bcb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call 0x447157c
add esp, 4
cmp eax, ebx
je 0x4423bec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call 0x447157c
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4423cde
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4423cc5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4423cb1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4423ca6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4423cb4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4423cb4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4423c50
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4423c41
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x442b760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43e19f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0442c2e0
lea edx, [esp + 0x18]
push eax
push edx
call dword [fcn.043e4614]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [fcn.043e4440]
test eax, eax
je 0x442b809
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0442b3f0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [fcn.043e4474]
push edi
lea ecx, [esp + 0x4c]
call 0x44781d3
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call 0x4442170
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [fcn.043e40e0]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [fcn.043e4410]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [fcn.043e4480]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call 0x4478245
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14