joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444ddc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47684c]
cmp byte [eax + 0xc], 0
je 0x444f49
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444f42
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477b2c], 0
jne 0x444e30
push 0x444f50
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444f58
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b2c], eax
cmp dword [0x472c44], 0
jne 0x444f2b
push 0x444f68
call sub.kernel32.dll_LoadLibraryA
mov dword [0x472c44], eax
cmp dword [0x472c44], 0
je 0x444f2b
push 0x444f74
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b30], eax
push 0x444f84
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b34], eax
push 0x444f98
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b38], eax
push 0x444fb0
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b3c], eax
push 0x444fc8
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b40], eax
push 0x444fdc
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b44], eax
push 0x444ff4
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b48], eax
push 0x44500c
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b4c], eax
push 0x445028
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b50], eax
push 0x445034
mov eax, dword [0x472c44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444f49
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448e18
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.0040460c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448e67
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.0040487c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450690]
test si, 4
je 0x450654
or bl, 1
test si, 8
je 0x45065e
or bl, 4
test si, 1
je 0x450668
or bl, 8
test si, 2
je 0x450672
or bl, 0x10
test si, 0x10
je 0x45067c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45068b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450694
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4506cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4506ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4506bc
or bl, 4
test esi, 0x20000000
je 0x4506c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456d90
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456da2
add esp, 0xfffffff0
call fcn.00403bb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a950
mov eax, dword [0x4764b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x457134
mov eax, dword [0x4764c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x457140
mov eax, ebx
call fcn.0045714c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412b68]
call fcn.00403850
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412b68]
call fcn.00403850
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412b68]
call fcn.00403850
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412b68]
call fcn.00403850
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412b68]
call fcn.00403850
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, 0x453564
push eax
push 0
push 0
mov eax, dword [0x476628]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c458]
call fcn.0041dbf0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c458]
call fcn.0041dbf0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c458]
call fcn.0041dbf0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045759c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457464
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457464
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457464
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456edf
call fcn.00403c10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457248
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 0x4573f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4573d4
mov dl, 1
mov eax, dword [0x412f84]
call fcn.00403850
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040460c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4573c3
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.0044513c
test al, al
je 0x4573b6
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, 0x457404
lea eax, [ebp - 0x254]
call fcn.00409ab4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4573b6
xor eax, eax
push ebp
push 0x4573af
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 0x45743c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457398
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040487c
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 0x457398
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040487c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4573b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4572b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416ae8
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 0x4573fa
lea eax, [ebp - 0x260]
call fcn.0040460c
ret

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

Disassembly:
push ecx
mov eax, dword [0x477b78]
cmp byte [eax + 0xa5], 0
jne 0x457dad
cmp dword [0x477b90], 0
jne 0x457d6e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457cf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x477b90], eax
cmp dword [0x477b8c], 0
jne 0x457d89
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x477b8c], eax
cmp dword [0x477b94], 0
jne 0x457dad
push esp
push 0
push 0
push 0x457c9c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x477b94], eax
pop edx
ret
Function at 0x458440
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477b78]
cmp dword [eax + 0x30], 0
je 0x4584ea
cmp dword [ebx + 0x94], 0
jne 0x4584e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4583d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4584e4
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 0x4584aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4584e4
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.00414ee4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4584b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459048
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 0x45907d
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.004046fc
jmp 0x45908a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404660
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a23c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a27d
mov eax, esi
call fcn.00440718
test al, al
je 0x45a27d
mov eax, dword [ebx + 0x84]
call fcn.00440414
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a27d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440414
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45ce60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45cfd1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cfac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004047f4
lea eax, [ebp - 0x118]
mov edx, 0x45cfe8
call fcn.004048d4
mov eax, dword [ebp - 0x118]
call fcn.00404acc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45cf1e
lea eax, [ebp - 0x111]
call fcn.0040942c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004046fc
jmp 0x45cf25
mov eax, esi
call fcn.0040460c
cmp bl, 0x61
jae 0x45cf46
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d3b4
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404660
jmp 0x45cf60
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d328
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404660
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x45cff4
call fcn.00409b4c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cfb3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x46233c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x462435
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00463d60
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409268
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00462d28
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040914c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00462d9c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46243c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404630
ret
Function at 0x462444
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x46254d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00463d60
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x462513
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409268
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00462d28
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040914c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00462d9c
jmp 0x462525
xor edx, edx
mov eax, ebx
call fcn.00462d28
xor edx, edx
mov eax, ebx
call fcn.00462d9c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462554
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404630
ret

Function at 0x463fc4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x464022
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.004640a0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x46400a
lea eax, [ebp - 4]
call fcn.004640a0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x46400c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464029
lea eax, [ebp - 4]
call fcn.0040460c
ret

Function at 0x464030
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x464094
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004640a0
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46409b
lea eax, [ebp - 4]
call fcn.0040460c
ret
Function at 0x4695cc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00469800
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00469800
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x469640
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x469665
inc esi
mov eax, edi
call fcn.00469624
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004695cc
inc ebx
dec esi
jne 0x46964f
pop edi
pop esi
pop ebx
ret

Function at 0x4696f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x469769
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046966c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00469624
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004695cc
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x469734
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469770
lea eax, [ebp - 4]
call fcn.0040460c
ret
Function at 0x46a3dc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a5c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x46a57c
mov eax, dword [ebp - 4]
call fcn.0046bd64
cmp ebx, eax
jge 0x46a57c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00460a00
mov edx, dword [0x461ddc]
call fcn.00403a3c
mov esi, eax
mov eax, esi
call fcn.00462cbc
test al, al
je 0x46a572
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x46a566
xor eax, eax
push ebp
push 0x46a55f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046a994
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00416ba4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404b24
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046a758
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5aa
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x46a55e
mov eax, dword [ebp - 4]
call fcn.0046aa18
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409634
jmp 0x46a5aa
mov eax, dword [ebp - 8]
call fcn.0040460c
jmp 0x46a5aa
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00408b84
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x412940]
call fcn.0040c58c
call fcn.00404020
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5c7
lea eax, [ebp - 0x54]
call fcn.0040460c
ret
Function at 0x47150c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x471588
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403298
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 5
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47158f
lea eax, [ebp - 4]
call fcn.0040460c
ret

Function at 0x471868
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x4719e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.00470828
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00470848
mov ebx, eax
jmp 0x4719b5
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.0040487c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409268
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004083d8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004083d8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404a18
je 0x47198c
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.0040487c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004083d8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004083d8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404a18
jne 0x4719a6
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00470868
mov ebx, eax
test ebx, ebx
jne 0x4718e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719ea
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404630
lea eax, [ebp - 4]
call fcn.0040460c
ret