joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10184af0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
cmp eax, 1
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
jne 0x10184b89
test eax, eax
jle 0x10184c18
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add eax, 0xf
shr eax, 4
mov dword [esp + 0x2c], eax
mov ebp, esi
sub ecx, edi
mov eax, edi
sub ebp, edi
mov edx, 0x10
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec edx
mov byte [eax + ebp - 1], bl
jne 0x10184b33
mov eax, dword [esp + 0x24]
push esi
add eax, 4
push esi
push eax
call fcn.101848b0
mov ecx, dword [esp + 0x3c]
mov edx, esi
mov eax, ecx
add esp, 0xc
mov ebx, dword [edx]
add edi, 0x10
mov dword [eax], ebx
add esi, 0x10
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x10184b26
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
test eax, eax
jle 0x10184c18
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add eax, 0xf
add ecx, 4
shr eax, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov edx, edi
push esi
push edi
mov ebx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + 8]
push eax
mov dword [esp + 0x24], ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], edx
call fcn.101848b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, esi
sub ecx, esi
mov ebp, 0x10
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebp
jne 0x10184be3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edi, 0x10
mov dword [eax], ebx
add esi, 0x10
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x10184bae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10184c20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
xor ecx, ecx
cmp dword [eax], edi
jae 0x10184c33
xor eax, eax
pop edi
ret
test edi, edi
jbe 0x10184c65
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x20]
push esi
sub ebx, ebp
mov eax, ecx
xor edx, edx
div dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea esi, [ecx + ebp]
mov dl, byte [edx + eax]
mov al, byte [ebx + esi]
xor dl, al
inc ecx
cmp ecx, edi
mov byte [esi], dl
jb 0x10184c44
pop esi
pop ebp
pop ebx
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov eax, 1
pop edi
ret
Function at 0x10185980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x102677ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.10187fe0
mov eax, dword [0x1026e878]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov ecx, dword [0x1026e878]
lea ebp, [ebx + 0x30]
mov dword [ebp], ecx
mov byte [esp + 0x1c], 2
mov dword [ebx], 0x102773c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1030f86c
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x30]
mov dword [ebx + 0x28], ecx
push edx
mov ecx, ebp
call fcn.1008b9f0
mov eax, dword [ebx + 0x38]
mov ebp, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
cmp eax, edi
je 0x10185a60
push eax
call fcn.1024cbfa
add esp, 4
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
cmp esi, edi
je 0x10185a8d
cmp ebp, edi
jbe 0x10185a8d
push ebp
call fcn.1024cbd1
add esp, 4
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x10185a8d
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x34], ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10185ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x102677fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x102773c4
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x10185af4
push eax
call fcn.1024cbfa
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
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 + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.1008b870
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.1008b870
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10188010
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10188980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10267b7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100a21c0
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.1018a210
push 0xa
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 1
call fcn.101d1180
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 2
call fcn.1009e960
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov dword [esi + 0x30], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x10277448
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10188ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10267c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call fcn.1009ee90
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x10188fe9
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x10188f70
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.101d1540
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x10188f4b
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x10188fdf
push ebx
lea ebx, [edi + 0x68]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.101d1540
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x10188fa9
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x2c], ebp
call fcn.100a2450
mov ecx, dword [esp + 0x10]
call fcn.100a2510
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x10188fca
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x10188fd8
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x10188f83
pop ebx
lea ecx, [edi + 0x68]
call fcn.101d1210
jmp 0x10189061
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x10189061
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.101d1540
mov ecx, dword [esp + 0xc]
call fcn.100a2590
test eax, eax
jne 0x1018905b
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x28], ebp
jne 0x1018905b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x10189041
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x10189053
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.101d14b0
cmp dword [esp + 0x30], ebp
jne 0x10188ff8
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.1009eef0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x1018a720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10267e3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 4], 0
cmp word [eax], 0x4d4f
je 0x1018a76d
mov esi, dword [esp + 0x38]
push 0
push 0
mov ecx, esi
call fcn.100a4dc0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push edi
mov ebp, dword [esp + 0x48]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ecx, ecx
jbe 0x1018a7a1
and word [esp + 0x12], 0xefff
test byte [eax + 3], 0x10
je 0x1018a79d
or byte [esp + 0x13], 0x20
mov esi, ebp
mov edi, ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edi
call fcn.100a4db0
lea eax, [esp + 0x10]
push 0x20
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
call fcn.100a5310
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.100a5310
test esi, esi
je 0x1018a7e2
cmp esi, ebp
je 0x1018a7e2
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.100a4ed0
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.100a4f10
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x1018cb00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ebp, dword [esi + 4]
cmp ebp, ebx
je 0x1018cc8b
cmp dword [esi + 8], ebx
je 0x1018cc8b
cmp dword [esi + 0x10], ebx
je 0x1018cb92
lea eax, [esp + 0x14]
lea edi, [esi + 0x1c]
push ebx
push eax
push edi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
jne 0x1018cb77
mov ecx, dword [esi + 0x2c]
push 0x7530
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1018cb66
mov dword [esi + 0x14], 0xf0000003
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push ebx
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov dword [edi], ecx
cmp eax, ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
je 0x1018cc8b
mov eax, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
cmp edi, ebx
je 0x1018cbfc
cmp dword [esp + 0x10], ebx
je 0x1018cbfc
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, ebx
jne 0x1018cc18
cmp eax, ebx
je 0x1018cc18
cmp eax, 0x3e5
je 0x1018cc18
cmp eax, 0x217
jne 0x1018cc8b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp edi, ebx
je 0x1018cc50
push ebp
call dword [sym.imp.KERNEL32.dll_CancelIo]
cmp edi, 0x102
jne 0x1018cc8b
mov dword [esi + 0x14], 0xf0000003
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [esi + 8]
mov edi, eax
push edx
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esp + 0x18]
mov eax, edi
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
and eax, ecx
pop ebx
add esp, 0x20
ret 0xc
mov dword [esi + 0x14], 0xf0000001
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
Function at 0x1018cca0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ebp, dword [esi + 4]
cmp ebp, ebx
je 0x1018ce2b
cmp dword [esi + 0xc], ebx
je 0x1018ce2b
cmp dword [esi + 0x10], ebx
je 0x1018cd32
lea eax, [esp + 0x14]
lea edi, [esi + 0x1c]
push ebx
push eax
push edi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
jne 0x1018cd17
mov ecx, dword [esi + 0x2c]
push 0x7530
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1018cd06
mov dword [esi + 0x14], 0xf0000003
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push ebx
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov dword [edi], ecx
cmp eax, ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
je 0x1018ce2b
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
cmp edi, ebx
je 0x1018cd9c
cmp dword [esp + 0x10], ebx
jbe 0x1018cd9c
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, ebx
jne 0x1018cdb8
cmp eax, ebx
je 0x1018cdb8
cmp eax, 0x3e5
je 0x1018cdb8
cmp eax, 0x217
jne 0x1018ce2b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp edi, ebx
je 0x1018cdf0
push ebp
call dword [sym.imp.KERNEL32.dll_CancelIo]
cmp edi, 0x102
jne 0x1018ce2b
mov dword [esi + 0x14], 0xf0000003
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [esi + 0xc]
mov edi, eax
push edx
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esp + 0x18]
mov eax, edi
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
and eax, ecx
pop ebx
add esp, 0x20
ret 0xc
mov dword [esi + 0x14], 0xf0000001
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
Function at 0x1018dfd0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102680d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
cmp ebp, 0x640
push edi
mov esi, ecx
ja 0x1018e0b9
xor edi, edi
cmp ebp, edi
jbe 0x1018e0b9
lea eax, [esi + 0x74]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.1009ee90
mov eax, dword [esp + 0x34]
mov ebx, dword [esi + 0x64]
mov dword [esp + 0x2c], edi
lea ecx, [eax + eax*2]
shl ecx, 4
add ebx, ecx
cmp dword [ebx + 0x28], edi
jne 0x1018e0d0
mov esi, dword [esp + 0x38]
mov edi, dword [ebx + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [ebx]
push ecx
push ebp
xor esi, esi
push edx
push eax
mov dword [ebx + 0x28], 1
mov dword [esp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, esi
je 0x1018e097
cmp dword [esp + 0x38], ebp
jne 0x1018e15e
lea ecx, [esp + 0x18]
mov dword [ebx + 0x28], esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009eef0
mov eax, 1
jmp 0x1018e0bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1018e15e
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009eef0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
push ebp
mov dword [esp + 0x18], edi
call fcn.1024cbd1
mov edx, eax
add esp, 4
cmp edx, edi
mov dword [esp + 0x3c], edx
je 0x1018e0a8
mov esi, dword [esp + 0x38]
mov ecx, ebp
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx + 0x2c]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 4]
test eax, eax
jne 0x1018e11e
push 0x10
call fcn.1024cbd1
add esp, 4
test eax, eax
jne 0x1018e12c
mov edx, dword [esp + 0x3c]
jmp 0x1018e148
mov ecx, dword [eax]
mov dword [ebx + 8], ecx
mov ecx, dword [ebx + 0x10]
dec ecx
mov dword [ebx + 0x10], ecx
jmp 0x1018e130
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 0xc], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1018e159
mov dword [ecx], eax
jmp 0x1018e15b
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009eef0
mov eax, 1
jmp 0x1018e0bb
Function at 0x1018e180
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x102680f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x74]
lea ecx, [esp + 0x10]
push eax
call fcn.1009ee90
mov eax, dword [esp + 0x28]
xor edi, edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x64]
shl ecx, 4
add eax, ecx
mov edx, dword [eax + 0x20]
mov dword [edx], edi
mov ecx, dword [eax + 0x20]
mov dword [ecx + 4], edi
mov edx, dword [eax + 0x20]
mov dword [edx + 8], edi
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0xc], edi
mov dword [esp + 8], edi
mov edx, dword [eax + 0x20]
lea ecx, [esp + 8]
push edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax]
push ecx
push 0x640
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
pop edi
pop esi
jne 0x1018e232
cmp eax, 0x3e5
je 0x1018e232
cmp eax, 0x218
je 0x1018e232
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.1009eef0
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.1009eef0
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x1018e260
Capabilities:
Access peb ldr_data
Connect pipe
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10268118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x74]
push 1
push eax
lea ecx, [esp + 0x14]
call fcn.1009ee90
mov eax, dword [esp + 0x38]
mov esi, dword [ebx + 0x64]
xor edi, edi
lea ecx, [eax + eax*2]
mov dword [esp + 0x30], edi
shl ecx, 4
add esi, ecx
mov edx, dword [esi + 0x20]
mov dword [edx + 8], edi
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], edi
mov ecx, dword [esi + 0x20]
mov dword [ecx], edi
mov edx, dword [esi + 0x20]
mov dword [edx + 4], edi
mov eax, dword [esi + 0x24]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x24]
mov dword [ecx + 0xc], edi
mov edx, dword [esi + 0x24]
mov dword [edx], edi
mov eax, dword [esi + 0x24]
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x20]
mov edx, dword [esi]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1018e343
mov ecx, dword [esi + 0x20]
xor eax, eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov dword [esp + 0x28], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x217
call fcn.1018d850
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009eef0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
cmp eax, edi
je 0x1018e34e
cmp eax, 0x3e5
jne 0x1018e353
mov edi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009eef0
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x1018fa50
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10268385
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x91c
push esi
push edi
mov esi, dword [esp + 0x938]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x126]
mov word [esp + 0x124], 0
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x1030fc84]
test esi, esi
je 0x1018fb3c
test eax, eax
jne 0x1018fafb
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x1030fc84], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x1018faef
cmp dword [esp + 0x14], 5
jb 0x1018faef
mov ecx, dword [str.GlobalOCULAR_]
mov dword [0x1030fc88], ecx
jmp 0x1018fafb
mov edx, dword [0x102eb498]
mov dword [0x1030fc88], edx
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x102eb498]
jne 0x1018fb10
mov eax, dword [0x1030fc88]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push esi
push eax
lea eax, [esp + 0x134]
push str._s__s__08x__08x
push eax
call fcn.10079fd1
add esp, 0x18
jmp 0x1018fbcb
test eax, eax
jne 0x1018fb90
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x1030fc84], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x1018fb86
cmp dword [esp + 0x14], 5
jb 0x1018fb86
mov edx, dword [str.GlobalOCULAR_]
mov dword [0x1030fc88], edx
jmp 0x1018fb90
mov eax, dword [0x102eb498]
mov dword [0x1030fc88], eax
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x102eb498]
jne 0x1018fba5
mov eax, dword [0x1030fc88]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push eax
lea eax, [esp + 0x130]
push str._s___08x__08x
push eax
call fcn.10079fd1
add esp, 0x14
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xc]
call fcn.10090450
mov esi, dword [esp + 0x934]
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x930], 1
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x92c], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x924]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x928
ret