joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e4de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x450f9e
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x45680c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.00402de7
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402de7
or dword [esi + 0x64], 0xffffffff
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00402de7
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x457040
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43ec22
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4510ce
call fcn.0044c320
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x45680c
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.00402de7
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402de7
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x4570a4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x43ec84
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x451101
call fcn.0044c320
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00420c69
push dword [esi + 0x24]
call fcn.0040386c
push dword [esi + 0x18]
call fcn.0040386c
push dword [esi + 0xc]
call fcn.0040386c
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x456844
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43f0ce
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc

Function at 0x43f2d6
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x45377c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret
Function at 0x441cf3
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4513f8
call fcn.0044c320
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push 0xedb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
push 0
sete bl
mov al, bl
neg al
sbb eax, eax
and al, 0xd6
add eax, 0x2a
movzx eax, ax
push eax
push 0xcc
push dword [esi + 0x4c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea edi, [esi + 0x50]
push dword [ebp - 0x10]
push 0xcc
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
call fcn.00402de7
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x4c]
call fcn.0040b000
push dword [ebp - 0x1c]
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040b000
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xeda
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
neg bl
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 5
push ebx
push eax
call esi
push ebx
push dword [edi]
call esi
push dword [ebp - 0x1c]
call fcn.0040386c
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x441e8f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45142b
call fcn.0044c320
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi], 0x45680c
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], al
mov byte [esi + 0x24], al
mov byte [esi + 0x25], al
mov byte [esi + 0x26], al
mov byte [esi + 0x27], al
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
mov byte [esi + 0x32], al
mov byte [esi + 0x33], al
mov byte [esi + 0x3c], al
mov byte [esi + 0x3d], al
lea ecx, [esi + 0x48]
mov byte [esi + 0x3e], al
mov byte [esi + 0x3f], al
call fcn.00402de7
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x14], 0xffffffff
mov dword [esi], 0x457760
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4464cf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
mov ecx, edi
call fcn.00445dfc
mov ecx, dword [edi + 0xf0]
mov edx, 0x4577d0
mov ecx, dword [ecx]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x12
and cl, 1
mov byte [ebp - 0xc], cl
mov ecx, eax
shr ecx, 0xe
and cl, 1
shr eax, 0x10
mov byte [ebp - 8], cl
mov ecx, dword [edi + 0x10]
and al, 1
mov byte [ebp - 4], al
call fcn.004022c2
test al, al
je 0x446539
mov ecx, dword [esi + 8]
and byte [ebp - 8], 0
and byte [ebp - 4], 0
call fcn.0044409e
cmp eax, 0xd
jne 0x446539
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x10]
mov edx, 0x45546c
call fcn.004022c2
test al, al
je 0x44656b
lea eax, [esi + 0xc]
push 0
push eax
mov ecx, esi
call fcn.004460ba
cmp eax, 0xffffffff
jne 0x44655f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44656b
and byte [ebp - 8], 0
and byte [ebp - 4], 0
mov eax, dword [edi]
mov ecx, dword [esi + 8]
shr eax, 0x13
and al, 1
mov byte [esi + 0x19], al
mov eax, dword [edi]
shr eax, 0xf
and al, 1
mov byte [esi + 0x25], al
mov eax, dword [edi]
and byte [esi + 0x3d], 0
shr eax, 0x11
and al, 1
mov byte [esi + 0x31], al
call fcn.00443a7e
mov ebx, eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 0xc]
call fcn.00445f90
lea eax, [esi + 0x24]
mov ecx, esi
push eax
lea eax, [ebx + 0x1c]
push eax
push dword [ebp - 8]
call fcn.00445f90
lea eax, [esi + 0x30]
mov ecx, esi
push eax
lea eax, [ebx + 0x1a]
push eax
push dword [ebp - 4]
call fcn.00445f90
lea eax, [esi + 0x3c]
mov ecx, esi
push eax
lea eax, [ebx + 0x1e]
push eax
push 1
call fcn.00445f90
cmp byte [ebp - 0xc], 0
je 0x446617
cmp byte [ebx + 0x19], 0
jne 0x446617
test byte [edi], 1
jne 0x446617
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x1c]
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4486c7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x451af7
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x458080
mov dword [esi + 4], 0x458068
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x45804c
mov dword [esi + 4], 0x458034
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4486d3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x451af7
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x458080
mov dword [esi + 4], 0x458068
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x45804c
mov dword [esi + 4], 0x458034
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4488f1
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x451b6f
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00413032
lea ecx, [esi + 0x30]
call fcn.00402de7
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x448cb5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x451d5d
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4580ec
mov dword [esi + 0xc], 0x4580dc
mov dword [esi + 0x10], 0x4580b8
mov dword [esi + 0x14], 0x45809c
mov dword [esi + 0x18], 0x4544cc
mov dword [esi + 0x1c], 0x454498
mov dword [esi + 0x20], 0x4544dc
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x3c]
mov byte [esi + 0x2a], bl
mov byte [esi + 0x2b], bl
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], 1
mov byte [esi + 0x2e], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
call fcn.00402de7
lea ecx, [esi + 0x48]
mov dword [ebp - 4], ebx
call fcn.00402de7
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402de7
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 4
mov dword [esi + 0x94], ebx
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
call fcn.00402de7
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 5
call fcn.00402de7
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 6
call fcn.00402de7
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 7
call fcn.00402de7
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 8
call fcn.00402de7
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 9
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4567a8
mov dword [esi + 4], 0x456794
mov dword [esi + 8], 0x456780
mov dword [esi + 0xc], 0x456770
mov dword [esi + 0x10], 0x45674c
mov dword [esi + 0x14], 0x456730
mov dword [esi + 0x18], 0x456720
mov dword [esi + 0x1c], 0x456710
mov dword [esi + 0x20], 0x456700
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x448cc1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x451d5d
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4580ec
mov dword [esi + 0xc], 0x4580dc
mov dword [esi + 0x10], 0x4580b8
mov dword [esi + 0x14], 0x45809c
mov dword [esi + 0x18], 0x4544cc
mov dword [esi + 0x1c], 0x454498
mov dword [esi + 0x20], 0x4544dc
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x3c]
mov byte [esi + 0x2a], bl
mov byte [esi + 0x2b], bl
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], 1
mov byte [esi + 0x2e], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
call fcn.00402de7
lea ecx, [esi + 0x48]
mov dword [ebp - 4], ebx
call fcn.00402de7
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402de7
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 4
mov dword [esi + 0x94], ebx
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
call fcn.00402de7
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 5
call fcn.00402de7
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 6
call fcn.00402de7
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 7
call fcn.00402de7
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 8
call fcn.00402de7
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 9
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4567a8
mov dword [esi + 4], 0x456794
mov dword [esi + 8], 0x456780
mov dword [esi + 0xc], 0x456770
mov dword [esi + 0x10], 0x45674c
mov dword [esi + 0x14], 0x456730
mov dword [esi + 0x18], 0x456720
mov dword [esi + 0x1c], 0x456710
mov dword [esi + 0x20], 0x456700
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x448e2b
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x451d86
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.00402de7
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402de7
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov dword [esi + 0x2c], ebx
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x449c33
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x451ffc
call fcn.0044c320
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x45680c
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
call fcn.00402de7
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 1
mov dword [esi], 0x45820c
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x44bf50
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x44bf78
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44bf87
mov eax, 1
ret 4

Function at 0x44bf90
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 4
mov edi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
mov esi, eax
add esp, 0x18
mov dword [edi], esi
test esi, esi
je 0x44bfd6
mov edx, dword [esp + 0x10]
push edx
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x44bfd6
mov eax, edi
pop edi
pop esi
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44bfd1
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x44c21b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c271
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4584a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c264
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x44c273
xor eax, eax
pop esi
leave
ret 4
Function at 0x44c940
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x44cae0
test edx, 3
je 0x44c972
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x44c957
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x44c980
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x44cad9
xor eax, dword [edi + edx]
jmp 0x44caa7
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x44caf7
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x44cae4
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x401285
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x40]
push esi
push 0x40
push 0
push eax
call fcn.00404410
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x40]
push 0
push 0x40
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x4012be
xor eax, eax
jmp 0x40131e
mov eax, 0x5a4d
cmp word [ebp - 0x40], ax
jne 0x4012ba
push ebx
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x138]
push 0
push eax
call fcn.00404410
add esp, 0xc
lea eax, [ebp - 0x138]
push 0
push ebx
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
pop ebx
test eax, eax
je 0x4012ba
cmp dword [ebp - 0x138], 0x4550
jne 0x4012ba
mov ax, word [ebp - 0x122]
not ax
movzx eax, ax
shr eax, 0xd
and eax, 1
pop esi
leave
ret
Function at 0x4014c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push 4
push 0x1000
add eax, 0x1b8
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x4016b9
and dword [ebp - 4], 0
push edi
push 0x40
pop edi
push edi
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.00404410
add esp, 0xc
mov eax, 0x5a4d
mov word [ebp - 0xc8], ax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc8]
push eax
push ebx
mov dword [ebp - 0x8c], edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
call edi
test eax, eax
je 0x4016b6
cmp dword [ebp - 4], 0x40
jne 0x4016b6
push pe_nt_image_headers32
lea eax, [ebp - 0x1c0]
push 0
push eax
add ebx, 0x40
call fcn.00404410
xor eax, eax
add esp, 0xc
inc eax
mov word [ebp - 0x1ba], ax
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x1c0]
push eax
push ebx
push esi
mov dword [ebp - 0x1c0], 0x4550
mov dword [ebp - 0x1ac], 0x200000e0
call edi
test eax, eax
je 0x4016b6
mov eax, pe_nt_image_headers32
cmp dword [ebp - 4], eax
jne 0x4016b6
add ebx, eax
xor eax, eax
push 0xa
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [str..detour]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4416a0]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x44], eax
mov eax, ebx
sub eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x58
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x48]
push eax
push ebx
push esi
call edi
test eax, eax
je 0x4016b6
cmp dword [ebp - 4], 0x28
jne 0x4016b6
push 0x40
lea eax, [ebp - 0x88]
push 0
push eax
add ebx, 0x28
call fcn.00404410
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x7c], eax
push 0x40
pop ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
push ebx
push esi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], ecx
call edi
test eax, eax
je 0x4016b6
cmp dword [ebp - 4], 0x40
jne 0x4016b6
mov esi, dword [ebp + 0xc]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x1c], 0
add eax, 0x18
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
push 0x18
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push eax
add ebx, 0x40
push ebx
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call edi
test eax, eax
je 0x4016b6
cmp dword [ebp - 4], 0x18
jne 0x4016b6
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp + 8]
call edi
test eax, eax
je 0x4016b6
cmp dword [ebp - 4], esi
jne 0x4016b6
xor eax, eax
inc eax
jmp 0x4016b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10