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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10062e17
push eax
mov dword fs:[0], esp
sub esp, 0xd0
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
je 0x1003e736
push dword [ebp + 8]
lea ecx, [esp + 0x60]
call fcn.1000bca3
xor ebx, ebx
lea ecx, [esp + 0x50]
push 2
mov dword [esp + 0xe8], ebx
call fcn.10001a5a
mov byte [esp + 0xe4], 1
lea eax, [esp + 0x24]
push ebx
mov dword [esp + 0x14], 0x56915a13
lea edx, [esp + 0x54]
mov dword [esp + 0x18], 0xf47a6d
mov ecx, 0x2d6f
push 0x1536
mov dword [esp + 0x30], 8
mov dword [esp + 0x4c], 0x4709
push eax
call fcn.1003edef
add esp, 0xc
mov dword [esp + 0x24], ebx
jmp 0x1003e3e6
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0xc8], 0x336fde00
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 4
jl 0x1003e3d3
mov dword [esp + 0x10], 1
push 0xffffffffffffffff
pop esi
cmp dword [esp + 0x10], ebx
jl 0x1003e5e8
mov edi, 0x3452c795
mov dword [esp + 0x18], 0xfffffff9
lea ecx, [esp + 0xa4]
mov dword [esp + 0x20], 6
mov dword [esp + 0x20], 0x74b4fbf6
push 2
call fcn.10001a5a
push ecx
lea eax, [esp + 0xa8]
mov byte [esp + 0xe8], 2
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x44], 0xb643e267
push eax
push ecx
xor dl, dl
mov ecx, 0x74cd
call fcn.1003e085
add esp, 0x10
lea eax, [esp + 0x28]
lea edx, [esp + 0x14]
push 0x7dc4
push eax
push 1
push ecx
push ecx
call fcn.1003e1e1
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp dword [esp + 0x14], eax
jne 0x1003e5be
cmp dword [esp + 0x18], ebx
jne 0x1003e4e7
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x18]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x18]
sete cl
xor edx, edx
add ecx, 0x307ecdf1
cmp ecx, eax
setge dl
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
sub ecx, eax
cmp dword [esp + 0x14], ecx
jl 0x1003e4d6
cmp dword [esp + 0x18], ebx
je 0x1003e4d6
xor ecx, ecx
inc ecx
jmp 0x1003e4d8
mov ecx, ebx
mov eax, dword [esp + 0x18]
imul eax, ecx
test eax, eax
je 0x1003e5be
mov dword [esp + 0x38], 0xfffffff9
mov dword [esp + 0x20], 0xd053a657
mov dword [esp + 0x20], 0x88bb1b5b
mov dword [esp + 0x20], 0x84a8a623
mov dword [esp + 0x20], 0xf634c5d1
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x14], 1
cmp dword [esp + 0x14], ebx
jl 0x1003e5a2
push ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], esi
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0xf41af53c
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], 0x1494d85
push eax
lea eax, [esp + 0x5c]
mov ecx, 0x2719
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x38]
call fcn.10040580
lea eax, [esp + 0x5c]
mov edx, 0x68a5
push eax
push ebx
push 0x2c18
mov ecx, 0x3489
call fcn.1003e063
add esp, 0x2c
dec dword [esp + 0x14]
jns 0x1003e539
lea eax, [esp + 0x44]
mov edx, 0x19e4
push eax
push 0x1dff
push ebx
push ecx
push ecx
call fcn.1003e1e1
add esp, 0x14
jmp 0x1003e5ca
mov edx, 0x7657
xor cl, cl
call fcn.1003e79a
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe4], 1
call fcn.10001abc
dec dword [esp + 0x10]
jns 0x1003e407
push ecx
push 0x696
push 0x50e1
push ecx
mov dl, 1
mov byte [esp + 0x2f], bl
lea ecx, [esp + 0x2f]
call fcn.1003e085
add esp, 0x10
mov byte [esp + 0xe4], bl
lea ecx, [esp + 0x50]
call fcn.10001abc
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x64]
call fcn.10042756
push ecx
mov dword [esp + 0x30], eax
call fcn.1003e0c5
pop ecx
cmp dword [esp + 0x2c], esi
je 0x1003e64a
lea eax, [esp + 0x2c]
mov edx, 0x5319
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10041668
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [esp + 0x30]
push ecx
push ecx
push eax
lea edx, [esp + 0x6c]
call fcn.1003e778
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.1004129f
mov dword [esp + 0x3c], 0xce57bf5c
add esp, 0xc
mov dword [esp + 0x34], 0xa5166941
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], 0x99e885dc
mov dword [esp + 0x10], 0x128a
mov dword [esp + 0x10], 0x72585faf
mov dword [esp + 0x10], ebx
jmp 0x1003e6d5
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], 2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1003e6c5
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov eax, dword [esp + 0x78]
dec dword [esp + 0x78]
mov eax, dword [esp + 0x20]
cmp eax, 0xfffffffe
setg cl
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, 0xe68fc786
setne cl
imul ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [ebp + 0x20]
add eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x5c]
cmp ecx, eax
je 0x1003e72f
push esi
push ebx
push eax
call fcn.1000c322
push ebx
lea ecx, [esp + 0x60]
jmp 0x1003e75c
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xb0]
push 0xffffffffffffffff
push dword [edx]
push eax
call fcn.100427dc
mov ecx, dword [ebp + 0x14]
push eax
call fcn.10029dd9
push 0
lea ecx, [esp + 0xb4]
push 1
call fcn.1000c4ec
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret