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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x290
mov esi, esp
mov dword [esi + 0x278], ebp
movsd xmm0, qword [ebp + 0x1c]
lea eax, [esi + 0x280]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10037910
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x84]
mov dword [esi + 0x14], eax
sub esp, 0x14
movsd qword [esp + 0xc], xmm0
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.10020e20
add esp, 0x14
cmp eax, 0x64
jb 0x10031bd8
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x288], eax
lea eax, [esi + 0x7c]
push eax
call fcn.10026a70
add esp, 4
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x80]
xor edx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
sub esp, 0x18
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [esi + 0x14]
mov dword [esp], eax
mov dword [esp + 0xc], str._.0Lf
call fcn.10039759
add esp, 0x18
mov dword [esi + 4], eax
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10031e37
mov eax, dword [esi + 4]
add eax, eax
push eax
call fcn.10045090
add esp, 4
test eax, eax
je 0x10031e44
mov dword [esi + 0x1c], eax
jmp 0x10031be8
mov dword [esi + 4], eax
lea eax, [esi + 0x1b0]
mov dword [esi + 0x1c], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 8], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x288], 0
lea eax, [esi + 0x10]
push eax
call fcn.10022700
mov dword [esi + 0x288], 1
lea ecx, [esi + 0x10]
push 0x100dc0f8
call fcn.100332d8
mov edx, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esi + 4]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x1c]
push edx
push eax
mov dword [esi + 0x68], ecx
call dword [edi + 0x28]
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
je 0x10031c52
mov edx, dword [esi + 0x14]
cmp byte [edx], 0x2d
sete al
jmp 0x10031c54
xor eax, eax
lea ebx, [esi + 0x50]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x38]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x28]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
mov dword [esi + 0x288], 2
movzx eax, al
movzx ecx, byte [ebp + 0x10]
mov dword [esi], ecx
lea ecx, [esi + 0x74]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0x24]
push edx
lea ecx, [esi + 0x26]
push ecx
lea edx, [esi + 0x78]
push edx
lea edx, [esi + 0x10]
push edx
mov dword [esi + 0x64], eax
push eax
push dword [esi]
call fcn.10031f3e
add esp, 0x28
mov edi, dword [esi + 0x74]
mov ebx, dword [esi + 4]
mov edx, ebx
sub edx, edi
jle 0x10031cd5
movzx eax, byte [esi + 0x33]
test al, al
jns 0x10031cc4
mov eax, dword [esi + 0x2c]
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x10031ccf
mov ecx, dword [esi + 0x3c]
lea edx, [edi + edx*2]
inc edx
jmp 0x10031cee
movzx eax, byte [esi + 0x33]
test al, al
jns 0x10031ce0
mov eax, dword [esi + 0x2c]
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x10031ceb
mov ecx, dword [esi + 0x3c]
lea edx, [edi + 2]
add eax, edx
add eax, ecx
cmp eax, 0x65
mov dword [esi + 0x60], edi
jb 0x10031d16
add eax, eax
push eax
call fcn.10045090
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10031e4f
mov eax, dword [esi]
mov dword [esi + 0x18], eax
jmp 0x10031d25
lea eax, [esi + 0xe8]
mov dword [esi + 0x18], eax
mov dword [esi], 0
movzx eax, word [esi + 0x24]
movzx ecx, word [esi + 0x26]
mov edi, dword [esi + 0x1c]
lea edx, [edi + ebx*2]
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esi]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x288], 3
push dword [esi + 0x60]
lea ebx, [esi + 0x28]
push ebx
lea ebx, [esi + 0x38]
push ebx
lea ebx, [esi + 0x50]
push ebx
push eax
push ecx
lea eax, [esi + 0x78]
push eax
push dword [esi + 0x64]
push dword [esi + 0x68]
push edx
push edi
push dword [esi + 4]
lea eax, [esi + 0x6c]
push eax
lea eax, [esi + 0x70]
push eax
push dword [esi + 0x18]
call fcn.100320bc
add esp, 0x3c
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x6c]
mov edi, dword [esi]
mov dword [esi + 0x20], edi
mov edi, dword [esi + 0x70]
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x18]
push ecx
push dword [ebp + 8]
call fcn.1002b3e0
add esp, 0x1c
cmp dword [esi], 0
je 0x10031db7
push dword [esi]
call fcn.100450d0
add esp, 4
cmp byte [esi + 0x33], 0
mov edi, dword [esi + 0x4c]
jns 0x10031dcb
push dword [esi + 0x28]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x10031ddc
push dword [esi + 0x38]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x5b], 0
jns 0x10031ded
push dword [esi + 0x50]
call fcn.10099c44
add esp, 4
mov ecx, dword [esi + 0x10]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x10031e01
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10031e11
push eax
call fcn.100450d0
add esp, 4
test edi, edi
je 0x10031e1e
push edi
call fcn.100450d0
add esp, 4
mov eax, dword [esi + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.10037aac
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call fcn.10037aac
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov dword [esi + 0x288], 3
call fcn.10037aac
nop
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x28c]
mov ebp, dword [esi + 0x278]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10031e84
push eax
call fcn.100450d0
add esp, 4
add esp, 0x3c
pop ebp
ret