joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40667f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b3ccc
call fcn.004a2e80
sub esp, 0xc
push esi
push edi
mov esi, ecx
call fcn.004078fd
cmp eax, 0xffffffff
je 0x4066b4
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x4066b4
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.00406e48
test al, al
je 0x40671a
mov ecx, esi
call fcn.004094f6
mov edi, eax
cmp edi, 1
je 0x4066d5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4066d1
mov al, 1
jmp 0x40671c
test edi, edi
je 0x40671a
lea ecx, [ebp - 0x18]
call fcn.004029b0
and dword [ebp - 4], 0
lea edx, [ebp - 0x18]
cmp edi, 1
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.00409098
push dword [ebp - 0x18]
test al, al
je 0x406714
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004a2e6c
test esi, esi
pop ecx
setne al
jmp 0x40671c
call fcn.004a2e6c
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4069e6
Capabilities:
Move file

Disassembly:
mov eax, 0x4b3f15
call fcn.004a2e80
sub esp, 0x1c
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov dword [ebp - 0x10], eax
call fcn.004094f6
mov ecx, ebx
mov edi, eax
call fcn.004094f6
mov esi, eax
cmp edi, 1
je 0x406a31
cmp esi, 1
je 0x406a29
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x406a29
mov al, 1
jmp 0x406aa8
test edi, edi
jne 0x406a31
test esi, esi
je 0x406aa6
lea ecx, [ebp - 0x28]
call fcn.004029b0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004029b0
mov byte [ebp - 4], 1
cmp edi, 1
je 0x406a57
cmp esi, 1
je 0x406a57
mov al, 1
jmp 0x406a59
xor al, al
mov ecx, dword [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040948a
push dword [ebp - 0x1c]
test al, al
je 0x406a97
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp - 0x1c]
mov esi, eax
call fcn.004a2e6c
push dword [ebp - 0x28]
call fcn.004a2e6c
test esi, esi
pop ecx
pop ecx
setne al
jmp 0x406aa8
call fcn.004a2e6c
push dword [ebp - 0x28]
call fcn.004a2e6c
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406b1d
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4b3ccc
call fcn.004a2e80
sub esp, 0xc
push esi
push edi
mov edi, ecx
call fcn.004094f6
mov esi, eax
cmp esi, 1
je 0x406b4d
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406b49
mov al, 1
jmp 0x406b94
test esi, esi
je 0x406b92
lea ecx, [ebp - 0x18]
call fcn.004029b0
and dword [ebp - 4], 0
lea edx, [ebp - 0x18]
cmp esi, 1
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.00409098
push dword [ebp - 0x18]
test al, al
je 0x406b8c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004a2e6c
test esi, esi
pop ecx
setne al
jmp 0x406b94
call fcn.004a2e6c
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x406ed6
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, edx
and edx, 0x3fff
mov eax, esi
and eax, 0xf0000000
cmove edx, esi
pop esi
jmp fcn.00406e48

Function at 0x4078fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4b3ccc
call fcn.004a2e80
sub esp, 0xc
push esi
push edi
mov edi, ecx
call fcn.004094f6
mov esi, eax
cmp esi, 1
je 0x40792a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40796f
test esi, esi
je 0x40796c
lea ecx, [ebp - 0x18]
call fcn.004029b0
and dword [ebp - 4], 0
lea edx, [ebp - 0x18]
cmp esi, 1
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.00409098
push dword [ebp - 0x18]
test al, al
je 0x407966
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004a2e6c
pop ecx
mov eax, esi
jmp 0x40796f
call fcn.004a2e6c
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x407a5d
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4b3ff2
call fcn.004a2e80
sub esp, 0x24
push ebx
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
call fcn.00401659
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x407a90
xor al, al
jmp 0x407b32
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.00406eef
mov esi, dword [ebp - 0x20]
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x407b28
cmp edi, dword [ebp - 0x1c]
ja 0x407b28
lea ecx, [ebp - 0x30]
call fcn.004029b0
mov byte [ebp - 4], 1
mov edx, ebx
mov dword [ebp - 0x1c], edx
mov eax, ebx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x407b1a
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x407b09
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b41
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
call fcn.00401999
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.00401613
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x407ad3
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x30]
cmp edx, edi
sete bl
call fcn.004a2e6c
pop ecx
push esi
call fcn.004a2e6c
pop ecx
mov al, bl
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x408057
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 5], 0
je 0x408079
cmp byte [ecx + 6], 0
je 0x408079
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov al, 1
jmp 0x4080b4
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40809f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40809f
xor al, al
jmp 0x4080b3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40997b
Capabilities:
Get disk size

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push str.GetDiskFreeSpaceExW
push 0x4ba5b4
mov esi, edx
mov byte [esp + 0x1b], 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
test eax, eax
je 0x4099e1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push ebp
call eax
mov ecx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
setne byte [esp + 0x13]
mov eax, dword [esp + 0x2c]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi], eax
mov dword [edi + 4], ecx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x409a04
xor al, al
jmp 0x409a47
mov eax, dword [esp + 0x1c]
mul dword [esp + 0x20]
cmp byte [esp + 0x13], 0
mov ebp, eax
mov dword [esi + 4], edx
mov dword [esi], ebp
jne 0x409a45
mov eax, edx
mul dword [esp + 0x14]
mov ecx, eax
mov eax, ebp
mul dword [esp + 0x14]
add ecx, edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov eax, dword [esi + 4]
mul dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esi]
mul dword [esp + 0x18]
add ecx, edx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8

Function at 0x40af1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov edx, SysReAllocStringLen
push edi
lea ecx, [ebp - 0x10]
mov eax, dword [esi]
and dword [esi + 4], 0
mov byte [eax], 0
call fcn.00487670
cmp dword [ebp - 0x10], 0x80000004
jb 0x40af72
xor edi, edi
push ebx
lea edx, [edi - 0x7ffffffe]
lea ecx, [ebp - 0x10]
call fcn.00487670
xor ebx, ebx
mov edx, dword [ebp + ebx*4 - 0x10]
mov ecx, esi
call fcn.0040ac20
inc ebx
cmp ebx, 4
jb 0x40af5a
inc edi
cmp edi, 3
jb 0x40af4a
pop ebx
mov ecx, esi
call fcn.00403bb5
mov ecx, esi
call fcn.00403b5b
cmp dword [esi + 4], 0
jne 0x40afb8
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.00487670
xor edi, edi
inc edi
mov edx, edi
mov ecx, esi
shr edx, 1
xor edx, edi
mov edx, dword [ebp + edx*4 - 0x10]
call fcn.0040ac20
inc edi
cmp edi, 4
jb 0x40af93
mov ecx, esi
call fcn.00403bb5
mov ecx, esi
call fcn.00403b5b
pop edi
pop esi
leave
ret
Function at 0x411f17
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4b44e0
call fcn.004a2e80
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.004028b8
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.004028b8
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x18]
call fcn.004028b8
lea eax, [esi + 0x24]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x24]
call fcn.004028b8
lea eax, [esi + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x30]
call fcn.004028b8
mov al, byte [esi + 0x3c]
lea ecx, [edi + 0x40]
mov byte [edi + 0x3c], al
lea eax, [esi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.004028b8
lea eax, [esi + 0x4c]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x4c]
call fcn.004028b8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x411faa
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4b44e0
call fcn.004a2e80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004029b0
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004029b0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004029b0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004029b0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004029b0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
mov byte [esi + 0x3c], 0
call fcn.004029b0
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004029b0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x413a90
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x4b45cb
call fcn.004a2e80
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x2c]
push edx
call fcn.004028b8
mov ecx, dword [ebp - 0x2c]
xor edi, edi
push 0x3a
pop edx
mov dword [ebp - 4], edi
call fcn.00402f9c
mov esi, eax
test esi, esi
js 0x413c41
mov ecx, dword [ebp - 0x2c]
push 0x3a
pop edx
lea ecx, [ecx + esi*2]
add ecx, 2
call fcn.00402f9c
lea ebx, [esi + 1]
or ecx, 0xffffffff
add ebx, eax
test eax, eax
cmovs ebx, ecx
test ebx, ebx
js 0x413c41
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
lea eax, [eax + ebx*2]
add eax, 2
push eax
call fcn.0040297a
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], al
cmp ebx, dword [ebp - 0x28]
jae 0x413b18
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x28], ebx
mov word [eax + ebx*2], cx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
add ecx, 2
lea ecx, [ecx + esi*2]
call fcn.004141b9
test al, al
je 0x413c32
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 2]
cmp eax, 0x7ffffffe
ja 0x413c32
test bl, 1
jne 0x413c32
cmp esi, dword [ebp - 0x28]
jae 0x413b5c
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov word [eax + esi*2], cx
mov dword [ebp - 0x10], edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push 4
call fcn.00412b1e
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x413b81
mov edi, str.Cannot_open_mapping
jmp 0x413c25
push ebx
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x413b9e
mov edi, str.MapViewOfFile_error
jmp 0x413c25
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004029b0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp word [eax], di
je 0x413bc0
mov edi, str.Unsupported_Map_data
jmp 0x413c13
xor eax, eax
shr ebx, 1
inc eax
cmp ebx, eax
jbe 0x413c08
mov esi, dword [ebp - 0x14]
movzx eax, word [esi + eax*2]
test ax, ax
jne 0x413bf1
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0041229c
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov word [eax], cx
jmp 0x413bfa
push eax
lea ecx, [ebp - 0x38]
call fcn.00401563
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, ebx
jb 0x413bcc
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x34], 0
je 0x413c13
mov edi, str.Map_data_error
push dword [ebp - 0x38]
call fcn.004a2e6c
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test esi, esi
je 0x413c37
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413c37
mov edi, str.Unsupported_Map_data_size
lea ecx, [ebp - 0x44]
call fcn.004120fa
jmp 0x413c46
mov edi, str.Incorrect_Map_command
push dword [ebp - 0x2c]
call fcn.004a2e6c
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41c144
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
or esi, 0xffffffff
xor edi, edi
test edx, edx
je 0x41c167
movzx eax, byte [edi + ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x4dc680]
inc edi
cmp edi, edx
jb 0x41c14f
not esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x41d827
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 4]
xor edx, edx
mov ecx, dword [ecx]
inc edx
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov edi, edx
mov dword [esp + 0x1c], edi
mov ebp, 0x159a55e5
mov dword [esp + 0x18], edx
mov ebx, 0x1f123bb5
test eax, eax
je 0x41d9de
movzx eax, bp
imul eax, eax, 0x9069
shr ebp, 0x10
add ebp, eax
movzx eax, bx
imul eax, eax, 0x4650
mov edx, ebp
shr ebx, 0x10
shl edx, 0x10
add ebx, eax
add edx, ebx
xor edx, dword [esp + 0x34]
mov eax, edx
shr edx, 1
and eax, 1
je 0x41d9e8
cmp esi, 0x400
jb 0x41d9e8
xor eax, eax
mov ecx, edx
and ecx, 3
shr edx, 2
inc eax
inc ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
inc eax
mov dword [esp + 0x10], eax
mov eax, edx
shr edx, 3
and eax, 7
je 0x41d98b
xor eax, eax
mov ecx, edx
inc eax
shr edx, 2
and ecx, 3
inc ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [esp + 0x10], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
inc eax
shl eax, cl
cmp eax, esi
jae 0x41d8f4
xor eax, eax
inc ecx
inc eax
shl eax, cl
cmp eax, esi
jb 0x41d8e6
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x30]
cmp edi, ecx
push 0x15
cmova edi, ecx
pop eax
cmp eax, edi
mov dword [esp + 0x28], edi
sbb eax, eax
and eax, 0x10
add eax, 0xf
mov dword [esp + 0x1c], eax
mov ecx, eax
movzx eax, bp
imul eax, eax, 0x9069
and ecx, edx
shr ebp, 0x10
add ecx, 6
add ebp, eax
movzx eax, bx
imul eax, eax, 0x4650
mov edx, ebp
shr ebx, 0x10
shl edx, 0x10
mov dword [esp + 0x24], ebp
add ebx, eax
mov eax, dword [esp + 0x1c]
add edx, ebx
xor edx, dword [esp + 0x34]
cmp ecx, edi
ja 0x41d912
xor edi, edi
inc edi
shl edi, cl
dec edi
and edi, edx
cmp edi, esi
jb 0x41d986
mov edi, dword [esp + 0x28]
mov ecx, ebp
movzx eax, cx
imul ebp, eax, 0x9069
movzx eax, bx
imul eax, eax, 0x4650
shr ebx, 0x10
shr ecx, 0x10
add ebp, ecx
add ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, ebx
xor edx, dword [esp + 0x34]
jmp 0x41d912
inc edi
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
sub ecx, esi
cmp dword [esp + 0x10], ecx
cmovbe ecx, dword [esp + 0x10]
add eax, esi
and dword [esp + 0x24], 0
mov edx, eax
add esi, ecx
mov dword [esp + 0x28], eax
sub edx, edi
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x41d9d0
mov esi, dword [esp + 0x24]
mov edi, eax
mov al, byte [edx]
mov byte [edi], al
inc edi
inc edx
inc esi
cmp esi, ecx
jb 0x41d9bd
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp esi, dword [esp + 0x20]
jb 0x41d85c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov byte [ecx + esi], dl
inc esi
jmp 0x41d9d4
Function at 0x41d9ee
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov edx, 0x1f123bb5
push edi
mov edi, dword [ecx]
xor ecx, ecx
test esi, esi
je 0x41da1c
movzx eax, dx
imul eax, eax, 0x4650
shr edx, 0x10
add edx, eax
mov al, dl
xor al, byte [esp + 0xc]
mov byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x41da00
pop edi
pop esi
ret 4

Function at 0x41fa32
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x41fb47
mov eax, dword [esp + 4]
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
add ecx, eax
xor ecx, eax
sub edx, 1
jne 0x41fa3e
mov eax, ecx
ret 4
Function at 0x41fc8d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b5144
call fcn.004a2e80
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
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 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
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
call fcn.0041fd30
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.004166fc
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x4b540e
call fcn.004a2e80
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
call fcn.004029b0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00421ec1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42202e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b541a
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.004220d5
lea ecx, [esi + 0x78]
call fcn.004220d5
push dword [esi + 0x30]
call fcn.004a2e6c
push dword [esi + 0x24]
call fcn.004a2e6c
push dword [esi + 0x18]
call fcn.004a2e6c
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x422088
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x42209c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4220b0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4220c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x422127
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3be0
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
call fcn.0042df3a
lea ecx, [esi + 0x30]
call fcn.004220d5
push dword [esi + 0x24]
call fcn.004a2e6c
pop ecx
lea ecx, [esi + 0xc]
call fcn.004014dd
mov ecx, esi
call fcn.00421ff4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4234e4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b5529
call fcn.004a2e80
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
lea ecx, [edi + 0x10]
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.004028b8
and dword [ebp - 4], 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00423436
mov eax, dword [esi + 0x28]
lea ecx, [edi + 0x34]
mov dword [edi + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
mov al, byte [esi + 0x2d]
mov byte [edi + 0x2d], al
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.0042348d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
mov eax, 0x4b559e
call fcn.004a2e80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
xor edi, edi
mov dword [esi], fcn.00425c2c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.004029b0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.004029b0
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret