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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
sub eax, dword [esi]
je 0x402e7e
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
je 0x402e7e
mov edi, dword [ecx + 8]
sub edi, dword [ecx]
mov dword [esp + 0x20], edi
je 0x402e7e
mov edi, dword [ecx + 0xc]
sub edi, dword [ecx + 4]
mov dword [esp + 0x18], edi
je 0x402e7e
mov edi, dword [ebx]
test edi, edi
je 0x402e7e
cmp dword [ebx + 0x30], 0
je 0x402e68
cmp dword [esp + 0x20], eax
jne 0x402b4c
cmp dword [esp + 0x18], edx
je 0x402e68
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
mov ecx, ebx
movdqu xmmword [esp + 0x28], xmm0
call fcn.004028d6
cmp dword [ebx + 0x24], 0
jne 0x402b8c
cmp dword [ebx + 0x28], 0
jne 0x402b8c
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cdq
push 3
pop ecx
idiv ecx
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
idiv ecx
mov dword [ebx + 0x28], eax
mov edx, dword [ebx + 0x24]
lea edi, [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x28]
movsd dword es:[edi], dword [esi]
push dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [eax + edx]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
lea esi, [eax + ecx]
mov eax, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x54], esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [ebx]
mov dword [esp + 0x44], eax
movzx eax, byte [ebx + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
sub ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], ebx
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 0x2c]
mov ecx, dword [ecx]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
movzx eax, byte [ecx + 0x2c]
mov ecx, dword [ecx]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00402a94
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x44]
sub esi, ecx
mov edx, dword [esp + 0x44]
push dword [esp + 0x3c]
mov dword [esp + 0x84], esi
mov eax, dword [eax]
mov dword [esp + 0x68], eax
add eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 4]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], eax
movzx eax, byte [ecx + 0x2c]
mov ecx, dword [ecx]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x8c]
add esp, 0x40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 0x2c]
mov ecx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 0x2c]
mov ecx, dword [ecx]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00402a94
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, ecx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x3c]
push dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], ecx
movzx eax, byte [edi + 0x2c]
mov ecx, dword [edi]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x7c]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [edi]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 8]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
movzx eax, byte [edi + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00402a94
mov eax, dword [esp + 0x8c]
add esp, 0x40
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
push dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00402a94
add esp, 0x10
jmp 0x402e7e
push dword [esp + 0xc]
movzx eax, byte [ebx + 0x2c]
mov edx, dword [edi]
push eax
push ecx
push esi
push dword [esp + 0x20]
mov ecx, edi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret 0x10