Function at 0x8da5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x9510f6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x70]
push 0
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00867440
mov edi, dword [esp + 0x70]
add esp, 0xc
test edi, edi
je 0x8da5fa
mov edx, dword [edi]
or edx, dword [edi + 4]
jne 0x8da5fe
lea edi, [esp + 0x24]
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x170]
add esi, dword [eax + 0xf8]
mov ebp, dword [eax + 0x174]
adc ebp, dword [eax + 0xfc]
mov ebx, dword [esp + 0x60]
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebp
call fcn.008e6af0
add esp, 4
test al, al
jne 0x8da6ff
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x100], 0
jne 0x8da6ff
mov eax, esi
and eax, 0xffff
xor ecx, ecx
or eax, ecx
jne 0x8da6ff
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x68]
add eax, esi
adc ecx, ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x5c]
push ebp
push edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push ebx
mov ebx, dword [esp + 0x70]
push ebx
push ecx
call dword [0x9822f8]
mov edx, dword [esp + 0x74]
xor esi, esi
cmp eax, esi
mov dword [edx], eax
jl 0x8da8c9
push 0xd8
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], esi
cmp eax, esi
je 0x8da6c1
mov ecx, eax
call fcn.008d89e0
mov esi, eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x70]
push 1
push 0
push 0
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x44]
push edx
push eax
push edi
push ecx
push 0
push ebx
push ebp
mov ecx, esi
call fcn.008d8280
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
push esi
push eax
jmp 0x8da8c1
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 4]
jg 0x8da721
jl 0x8da712
mov edx, dword [esp + 0x24]
cmp edx, dword [edi]
jae 0x8da721
mov eax, dword [esp + 0x74]
mov dword [eax], 0xc0000040
jmp 0x8da8c9
mov al, byte [esp + 0x68]
test al, 0x44
je 0x8da738
mov ecx, dword [esp + 0x74]
mov dword [ecx], 0xc0000022
jmp 0x8da8c9
and al, 0xf0
movzx esi, al
neg esi
push 0
sbb esi, esi
push 0x8000000
and esi, 0x3c
add esi, 4
push esi
push edi
push ebx
push 0xf000f
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0
call dword [0x9822f8]
mov ebp, dword [esp + 0x74]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp], eax
jl 0x8da8c9
mov eax, dword [edi]
mov ebx, dword [0x9822a0]
push esi
push ecx
push 2
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x30], eax
push ecx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
call ebx
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [0x9822f4]
mov esi, eax
test esi, esi
jge 0x8da7f1
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0x19
test al, 1
je 0x8da7de
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x8da7de
push 0xffffffffffffffff
push str.__NtCreateSection____0__ERR2__
call fcn.0090a030
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x98232c]
mov dword [ebp], esi
jmp 0x8da8c9
mov ebp, dword [esp + 0x70]
push 0
push 0
push ebp
call fcn.008673f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
push ebp
call fcn.0086cbd0
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0x19
add esp, 0x1c
test al, 1
je 0x8da84a
mov edx, dword [esp + 0x78]
test edx, edx
je 0x8da84a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x8da84a
push ecx
push eax
push str.__ReadFile____return__x_out_of__x_bytes_
push edx
call fcn.0090aa60
add esp, 0x10
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
push eax
call dword [0x982328]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
push 0xd8
mov dword [ebx], edx
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], 1
test eax, eax
je 0x8da88a
mov ecx, eax
call fcn.008d89e0
mov esi, eax
jmp 0x8da88c
xor esi, esi
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x7c]
push edi
push ebp
push edi
push edx
push 0
push eax
push ecx
mov ecx, esi
call fcn.008d8280
mov edx, dword [ebx]
push esi
push edx
call fcn.008da570
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret