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

Disassembly:
sub esp, 0x80
lea eax, [esp + 0x20]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00414980
mov edi, dword [esp + 0x9c]
add esp, 4
xorps xmm0, xmm0
mov edx, dword [edi + 8]
mov eax, edx
mov esi, dword [edi + 0xc]
or eax, esi
je 0x410443
mov eax, dword [edi]
movlpd qword [esp + 0x28], xmm0
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
mov ebp, dword [eax + 0x50]
mov eax, ebp
mov dword [esp + 0x10], ecx
test esi, esi
jb 0x410417
ja 0x410169
test edx, edx
je 0x410417
mov eax, dword [esp + 0x2c]
mov esi, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov ebx, eax
mov eax, dword [edi]
add ebx, ebx
mov edx, dword [eax + ebx*8]
mov ecx, dword [edx + 0x54]
mov eax, dword [edx + 0x50]
cmp ecx, dword [esp + 0x10]
ja 0x4101b0
jb 0x4101a2
cmp eax, esi
jae 0x4101b0
mov esi, eax
mov eax, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jmp 0x4101b4
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x24]
ja 0x4103ec
jb 0x4101c8
cmp esi, dword [edi + 0x20]
ja 0x4103ec
push dword [edx + 0x38]
call fcn.00418eb0
mov ecx, dword [edi]
add esp, 4
movzx eax, ax
cdq
mov ecx, dword [ecx + ebx*8]
mov esi, dword [ecx + 0x50]
mov dword [esp + 0x28], esi
mov esi, dword [ecx + 0x54]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x50]
add esi, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
adc ecx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
adc ecx, edx
add esi, 0x1e
adc ecx, 0
cmp ecx, eax
jb 0x410217
ja 0x41020f
cmp esi, ebp
jbe 0x410217
mov eax, ecx
mov ebp, esi
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x24]
ja 0x4103ec
jb 0x41022b
cmp ebp, dword [edi + 0x20]
ja 0x4103ec
mov esi, dword [esp + 0x94]
push 0
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esi]
call fcn.004129f0
mov ecx, dword [esi]
add esp, 0x10
test eax, eax
js 0x4103cc
push dword [esp + 0x9c]
lea eax, [esp + 0x34]
push 1
push 0
push ecx
push eax
call fcn.00414b20
and eax, edx
add esp, 0x14
cmp eax, 0xffffffff
je 0x4103af
mov esi, dword [edi]
mov esi, dword [esi + ebx*8]
mov ax, word [esi + 0xa]
cmp ax, word [esp + 0x3a]
jb 0x410382
mov eax, dword [esi + 0x10]
cmp eax, dword [esp + 0x40]
jne 0x410382
mov eax, dword [esi + 0x18]
cmp eax, dword [esp + 0x48]
jne 0x410382
mov eax, dword [esi + 0x1c]
cmp eax, dword [esp + 0x4c]
jne 0x410382
push dword [esp + 0x68]
push dword [esi + 0x38]
call fcn.00418d50
add esp, 8
test eax, eax
je 0x410382
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
cmp dword [esi + 0x20], edx
jne 0x410301
cmp dword [esi + 0x28], ecx
jne 0x410301
mov edi, dword [esp + 0x5c]
cmp dword [esi + 0x2c], edi
mov edi, dword [esp + 0x98]
jne 0x410301
cmp dword [esi + 0x30], eax
jne 0x410301
mov edi, dword [esp + 0x64]
cmp dword [esi + 0x34], edi
mov edi, dword [esp + 0x98]
je 0x410318
test byte [esp + 0x3c], 8
je 0x410382
test edx, edx
jne 0x410382
or ecx, dword [esp + 0x5c]
jne 0x410382
or eax, dword [esp + 0x64]
jne 0x410382
mov eax, dword [edi]
push dword [esp + 0x6c]
mov eax, dword [eax + ebx*8]
push dword [eax + 0x3c]
call fcn.004165b0
mov ecx, dword [edi]
mov ecx, dword [ecx + ebx*8]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi]
mov eax, dword [eax + ebx*8]
mov byte [eax + 4], 1
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x78], 0
call fcn.00414820
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x20], eax
adc ecx, 0
mov dword [esp + 0x24], ecx
cmp ecx, dword [edi + 0xc]
ja 0x41040f
jb 0x410379
cmp eax, dword [edi + 8]
jae 0x41040f
mov esi, dword [esp + 0x18]
jmp 0x410187
push 0
push 0x15
push dword [esp + 0xa4]
call fcn.00412310
lea eax, [esp + 0x3c]
push eax
call fcn.00414820
add esp, 0x10
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
lea eax, [esp + 0x30]
push eax
call fcn.00414820
add esp, 4
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
push ecx
push dword [esp + 0xa0]
call fcn.00412290
add esp, 8
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
push 0
push 0x13
push dword [esp + 0xa4]
call fcn.00412310
add esp, 0xc
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub ebp, eax
sbb ecx, dword [esp + 0x10]
cmp ecx, 0x7fffffff
jb 0x410451
ja 0x41042c
cmp ebp, 0xffffffff
jb 0x410451
pop edi
or ebp, 0xffffffff
mov ecx, 0x7fffffff
pop esi
mov eax, ebp
mov edx, ecx
pop ebp
pop ebx
add esp, 0x80
ret
movlpd qword [esp + 0x28], xmm0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebp
mov edx, ecx
pop ebp
pop ebx
add esp, 0x80
ret