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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x1039bb8
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x1039b9c
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x1039911
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x1039900
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x1039900
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x1039900
cmp dword [edx + 4], 1
jne 0x1039900
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae 0x1039947
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0x10f9104], ecx
ja 0x1039936
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0104f680
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x1039b8b
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call fcn.010502c0
cmp dword [esp + 0x10], 0xffffffff
jne 0x1039b7a
mov eax, dword [esp + 0x34]
lea ecx, [eax + 0x23]
cmp byte [eax + 0x23], 1
ja 0x1039b68
xor edx, edx
test edx, edx
je 0x10399bd
lea ebx, [0xff6580]
cmp edx, ebx
jne 0x10399ce
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0104fcc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x23], 4
ja 0x1039b55
xor ebx, ebx
test ebx, ebx
jne 0x1039ad1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp ecx, 8
jge 0x1039aa5
xor edx, edx
test dl, dl
je 0x1039a70
mov edx, 1
test dl, dl
je 0x1039a33
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
cmp ecx, 8
jge 0x1039a4f
xor eax, eax
test al, al
jne 0x1039a22
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov dword [esp], eax
lea eax, [0xfa8a30]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.0100a550
movzx eax, byte [esp + 0xc]
jmp 0x1039a3a
cmp ecx, 0x11
jge 0x1039a79
xor edx, edx
jmp 0x1039a1e
mov dword [esp], eax
lea ecx, [0xfab7b9]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.0100a550
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x1039a1e
mov dword [esp], eax
lea ecx, [0xfa8a48]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.0100a550
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x1039a15
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.010501c0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x1039b48
cmp eax, 0x100000
jae 0x1039bad
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0104fd40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x1039a02
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x1039a02
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x30]
lea ebp, [esi + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x10399fa
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x10399af
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov ecx, 0x100000
call fcn.01062790
nop
call fcn.010611c0
jmp fcn.010398d0