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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1020c6f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x103b15e1
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], ebx
call fcn.1000602d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0x108]
lea ebx, [esi + edi]
add edx, 0x104
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 9]
mov eax, dword [eax + 0xd]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x48]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 1
push eax
push edi
push edx
mov dword [ebp - 0x20], eax
call fcn.1002c730
add esp, 0x18
test eax, eax
cmove eax, dword [ebp - 0x1c]
test eax, eax
je 0x10031276
mov edx, dword [eax + 0x10]
mov esi, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
cmp edx, esi
ja 0x10031276
jb 0x1003125c
cmp ecx, edi
ja 0x10031276
add ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
adc eax, edx
cmp eax, esi
ja 0x10031372
jb 0x10031276
cmp ecx, edi
ja 0x10031372
movzx esi, word [ebx + 0x74]
mov dword [ebp - 0x1c], esi
lea eax, [esi + 5]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.100015f0
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
test edx, edx
jne 0x100312ac
pop edi
pop esi
lea eax, [edx - 0xc]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003260
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x64]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x6c]
mov dword [edx + 0x28], eax
mov eax, dword [ebx + 0x68]
mov dword [edx + 0x24], eax
mov eax, dword [ebx + 0x70]
mov dword [edx + 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx + 0x60]
mov dword [edx + 0x1c], eax
movzx eax, word [ebx + 0x76]
xor ebx, ebx
mov dword [edx + 0xc], edi
mov dword [edx + 0x34], esi
mov dword [edx + 0x20], ecx
mov dword [edx + 0x38], eax
test esi, esi
je 0x1003133f
mov esi, dword [ebp - 0x2c]
lea edi, [edx + 0x3c]
add esi, 0x78
nop
mov eax, dword [esi + 8]
movups xmm0, xmmword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push 0
mov dword [edi + 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
mov dword [edi + 8], ecx
push dword [esi]
movups xmmword [ebp - 0x14], xmm0
push dword [ebp - 0x30]
call fcn.100064dd
add esp, 0x14
mov dword [edi], eax
test eax, eax
je 0x10031385
inc ebx
add edi, 0xc
add esi, 0x20
cmp ebx, dword [ebp - 0x1c]
jl 0x10031300
mov edx, dword [ebp - 0x18]
push edx
push dword [edx + 0x18]
push dword [edx + 0x14]
push dword [edx + 0x10]
push dword [edx + 0xc]
push dword [ebp - 0x34]
call fcn.100329d0
add esp, 0x18
test eax, eax
je 0x10031372
push 0x2101
push 0x101b26e8
push 0x101b26c4
call fcn.10005632
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003260
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
call fcn.10004435
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 0xfffffffb
pop edi
pop esi
pop ebx
call fcn.10003260
mov esp, ebp
pop ebp
ret