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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x3a297fb
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.039453d0
cmp eax, edi
je 0x393a938
cmp word [eax], di
je 0x393a938
push edi
push 0x80
push 3
push edi
push 1
push 0xa0000000
push eax
call fcn.0398e670
mov esi, eax
cmp esi, 0xffffffff
je 0x393a931
push esi
push 0x1000000
push 2
push edi
push edi
push 0xf
lea edx, [esp + 0x3c]
push edx
call fcn.039c7700
push esi
call fcn.0398a3b0
push 2
push edi
push 2
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edi
lea edx, [esp + 0x4c]
push edx
call dword [0x3a5fdb4]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.039c6350
mov esi, eax
cmp esi, edi
jl 0x393a8f1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
lea ecx, [esp + 0x37c]
push ecx
push eax
mov dword [esp + 0x384], 0x1003f
call dword [0x3a5fe64]
mov ecx, dword [esp + 0x30]
push ecx
call dword [0x3a5fdb8]
mov edi, eax
xor eax, eax
mov dword [esp + 0x28], edi
cmp edi, eax
je 0x393a61a
mov edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jmp 0x393a622
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x48]
push edx
push 0x1c
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov esi, dword [edi + 0x34]
push eax
push esi
push ebx
call dword [0x3a5fe60]
cmp dword [esp + 0x64], 0x10000
jne 0x393a68b
mov edx, dword [edi + 0x50]
lea eax, [esp + 0x48]
push eax
push 0x1c
lea ecx, [esp + 0x5c]
push ecx
push 0
lea esi, [esi + edx - 4]
push esi
push ebx
call dword [0x3a5fe60]
cmp dword [esp + 0x64], 0x10000
je 0x393a8a1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x74]
push edx
push eax
push ecx
push ebx
call fcn.039d35f0
add esp, 0x14
lea ecx, [esp + 0x84]
mov esi, eax
call fcn.039d9be0
mov dword [esp + 0x660], 0
test esi, esi
jl 0x393a72c
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jb 0x393a6d9
mov edx, dword [edi + 0x50]
add edx, eax
cmp ecx, edx
jbe 0x393a6f8
mov edx, dword [esp + 0x14]
add edx, ecx
cmp edx, eax
jb 0x393a6f0
mov edi, dword [edi + 0x50]
add edi, eax
cmp edx, edi
mov edi, dword [esp + 0x28]
jbe 0x393a6f8
cmp eax, ecx
jb 0x393a72c
cmp ecx, edx
ja 0x393a72c
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x88]
call fcn.03949af0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
push ebx
call fcn.039d35f0
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x393a6c2
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x88]
call fcn.0397bf90
test esi, esi
jl 0x393a886
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x90], eax
jbe 0x393a75e
call fcn.03a01b13
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x393a76f
cmp eax, dword [esp + 0x84]
je 0x393a774
call fcn.03a01b13
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x40], edx
je 0x393a7c9
lea ecx, [esp + 0x3c]
call fcn.0397bda0
mov eax, dword [eax]
push 0x8000
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], 0
call dword [0x3a5fe5c]
mov esi, eax
push 0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x44]
call fcn.03936e80
test esi, esi
jge 0x393a745
jmp 0x393a886
test esi, esi
jl 0x393a886
push 1
mov ecx, 0xb3
lea esi, [esp + 0x380]
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x7c]
add ecx, 0xfffffffc
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x17c], ecx
lea ecx, [esp + 0xa8]
push ecx
push ebx
push edx
push 0x1fffff
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0xcc], 0x10007
call dword [0x3a5fe58]
mov esi, eax
test esi, esi
jl 0x393a882
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi]
push 0
push ecx
call dword [0x3a5fe54]
mov esi, eax
test esi, esi
jl 0x393a882
mov eax, dword [edi]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [0x3a5fe50]
test eax, eax
je 0x393a87c
lea esp, [esp]
cmp dword [esp + 0x1c], 0x103
jne 0x393a87c
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [0x3a5fe50]
test eax, eax
jne 0x393a860
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x660], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.03999990
test esi, esi
jl 0x393a8ef
mov ecx, dword [edi + 0x34]
push 2
xor eax, eax
push eax
push 2
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x44]
push ecx
push eax
push eax
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push ebx
push eax
call fcn.039c6350
mov esi, eax
test esi, esi
jl 0x393a8ef
mov ecx, dword [esp + 0x20]
push 1
push ecx
push ebx
call fcn.039d18b0
add esp, 0xc
mov esi, eax
xor edi, edi
mov edx, dword [esp + 0x24]
push edx
call fcn.0398a3b0
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x393a910
push eax
call dword [0x3a5fdb4]
push eax
call fcn.039c48c0
cmp esi, edi
jge 0x393a920
push esi
push ebx
call dword [0x3a5fe1c]
mov eax, esi
jmp 0x393a93a
mov eax, dword [esp + 0x20]
push eax
call fcn.03947990
add esp, 4
mov eax, esi
jmp 0x393a93a
mov eax, 0xc0000034
jmp 0x393a93a
mov eax, edi
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.03a00f6a
mov esp, ebp
pop ebp
ret