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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x62a3b4]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov edx, dword [esi + 8]
sub edx, dword [esi]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
je 0x403b74
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov dword [esp + 0x14], edx
je 0x403b74
mov edx, dword [ecx + 8]
sub edx, dword [ecx]
mov dword [esp + 0x30], edx
je 0x403b74
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 4]
mov dword [esp + 0x10], edx
je 0x403b74
mov edx, dword [ebx]
test edx, edx
je 0x403b74
cmp dword [ebx + 0x30], 0
je 0x403b64
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x30], esi
mov esi, dword [esp + 0x40]
jne 0x4036b3
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
je 0x403b64
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
mov ecx, ebx
movups xmmword [esp + 0x48], xmm0
call fcn.00403438
mov ecx, dword [ebx + 0x24]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], edx
test ecx, ecx
jne 0x403717
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x28], ecx
jne 0x403717
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cdq
push 3
pop ecx
idiv ecx
push 3
mov ecx, eax
mov eax, edi
sub eax, dword [esp + 0x4c]
cdq
pop edi
idiv edi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x28]
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x60], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
lea edi, [ecx + eax]
mov eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], eax
add esi, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [ebx]
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], edi
jge 0x4037b4
mov dword [esp + 0x18], eax
cmp edx, esi
jge 0x4037b4
push dword [esp + 0x1c]
mov edx, dword [eax]
movzx eax, byte [ebx + 0x2c]
mov edi, dword [esp + 0x24]
mov ecx, dword [ebx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push edi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x64]
mov eax, dword [ebx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov esi, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 8]
mov dword [esp + 0x14], edi
sub edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x58], eax
jge 0x403842
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, ecx
cmp edx, dword [esp + 0x68]
jge 0x403842
push dword [esp + 0x1c]
mov edx, dword [eax]
movzx eax, byte [ebx + 0x2c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push edi
call dword [edx + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
jmp 0x403846
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov edx, ecx
mov dword [esp + 0x14], edx
jge 0x4038a3
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x68]
jge 0x4038a3
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push edi
call dword [edx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], edi
mov dword [esp + 0x18], edx
cmp eax, dword [esp + 0x28]
jge 0x403943
mov dword [esp + 0x18], edx
cmp dword [esp + 0x38], edi
jge 0x403943
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [edx]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call dword [edx + 0xc]
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x14], edx
sub edx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
mov ecx, edx
cmp dword [esp + 0x10], eax
jge 0x4039ca
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x38], eax
jge 0x4039ca
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [edx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call dword [edx + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
jmp 0x4039ce
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], edx
mov edx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x10], edx
cmp dword [esp + 0x2c], eax
jge 0x403a26
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], edx
cmp dword [esp + 0x38], eax
jge 0x403a26
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, ecx
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov ecx, edx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x44], eax
jge 0x403aa9
cmp edi, dword [esp + 0x50]
jge 0x403aa9
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [edx]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call dword [edx + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [ebx]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 8]
mov esi, edx
sub esi, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x28], eax
jge 0x403b21
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0x54]
jge 0x403b21
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call dword [edx + 0xc]
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 8]
mov ecx, dword [ebx]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
jmp 0x403b25
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], edx
cmp eax, dword [esp + 0x4c]
jge 0x403b74
cmp edi, dword [esp + 0x54]
jge 0x403b74
push dword [esp + 0x1c]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
jmp 0x403b71
mov edx, dword [edx]
push eax
movzx eax, byte [ebx + 0x2c]
push eax
push ecx
mov ecx, dword [ebx]
push esi
push edi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00542357
mov esp, ebp
pop ebp
ret 0x10