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

Disassembly:
push 0xffffffffffffffff
push 0x3a333d6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
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.03986650
mov edi, dword [esp + 0x70]
add esp, 0xc
test edi, edi
je 0x39c4b0a
mov edx, dword [edi]
or edx, dword [edi + 4]
jne 0x39c4b0e
lea edi, [esp + 0x24]
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x168]
add esi, dword [eax + 0xf8]
mov ebp, dword [eax + 0x16c]
adc ebp, dword [eax + 0xfc]
mov ebx, dword [esp + 0x60]
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebp
call fcn.039d03e0
add esp, 4
test al, al
jne 0x39c4c0f
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x100], 0
jne 0x39c4c0f
mov eax, esi
and eax, 0xffff
xor ecx, ecx
or eax, ecx
jne 0x39c4c0f
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 [0x3a5fe10]
mov edx, dword [esp + 0x74]
xor esi, esi
cmp eax, esi
mov dword [edx], eax
jl 0x39c4ddf
push 0xd8
call fcn.0393d940
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], esi
cmp eax, esi
je 0x39c4bd1
mov ecx, eax
call fcn.039c3260
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.039c2af0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
push esi
push eax
jmp 0x39c4dd7
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 4]
jg 0x39c4c31
jl 0x39c4c22
mov edx, dword [esp + 0x24]
cmp edx, dword [edi]
jae 0x39c4c31
mov eax, dword [esp + 0x74]
mov dword [eax], 0xc0000040
jmp 0x39c4ddf
mov al, byte [esp + 0x68]
test al, 0x44
je 0x39c4c48
mov ecx, dword [esp + 0x74]
mov dword [ecx], 0xc0000022
jmp 0x39c4ddf
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 [0x3a5fe10]
mov ebp, dword [esp + 0x74]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp], eax
jl 0x39c4ddf
mov eax, dword [edi]
mov ebx, dword [0x3a5fdb4]
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 [0x3a5fe0c]
mov esi, eax
test esi, esi
jge 0x39c4d06
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x19
test al, 1
je 0x39c4cf3
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x39c4cf3
mov edx, dword [0x3a56b80]
push edx
push str.__NtCreateSection____0__ERR2__
call fcn.039efdd0
mov eax, dword [esp + 0x14]
push eax
call dword [0x3a5fe44]
mov dword [ebp], esi
jmp 0x39c4ddf
mov ebp, dword [esp + 0x70]
push 0
push 0
push ebp
call fcn.03986600
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push ebp
call fcn.0398beb0
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x19
add esp, 0x1c
test dl, 1
je 0x39c4d60
mov edx, dword [esp + 0x78]
test edx, edx
je 0x39c4d60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x39c4d60
push ecx
push eax
push str.__ReadFile____return__x_out_of__x_bytes_
push edx
call fcn.039f0800
add esp, 0x10
mov eax, dword [esp + 0x1c]
push eax
call ebx
push eax
call dword [0x3a5fe40]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
push 0xd8
mov dword [ebx], ecx
call fcn.0393d940
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], 1
test eax, eax
je 0x39c4da0
mov ecx, eax
call fcn.039c3260
mov esi, eax
jmp 0x39c4da2
xor esi, esi
mov dword [esp + 0x4c], 0xffffffff
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x7c]
push edi
push ebp
push edi
push ecx
push 0
push edx
push eax
mov ecx, esi
call fcn.039c2af0
mov ecx, dword [ebx]
push esi
push ecx
call fcn.039c4a80
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