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

Disassembly:
sub esp, 0x23c
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx + 0x2b8]
test eax, eax
push esi
push edi
je 0x41068a
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x41068a
mov ecx, dword [ebx + 0x294]
test ecx, ecx
je 0x410660
call fcn.00432200
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret
mov eax, dword [ebx + 0x3e0]
test eax, eax
jne 0x41068a
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x41068a
mov eax, dword [ebx + 0xcc]
push eax
call fcn.00410490
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x410697
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x4106cf
mov ecx, dword [ebx + 0xd0]
push ecx
mov ecx, dword [ebx + 0xc0]
call fcn.00410490
test eax, eax
je 0x4106dd
mov edx, dword [ebx + 0xd8]
push eax
mov eax, dword [ebx + 0xc8]
push edx
push eax
mov ecx, esi
call fcn.00552cb0
jmp 0x4106dd
mov ecx, dword [ebx + 0xc8]
push ecx
mov ecx, esi
call fcn.00552910
mov edx, dword [ebx + 0x10]
mov dword [0x22094f8], edx
fld dword [ebx + 0x14]
fsub dword [0x6bc868]
lea edx, [esp + 0x40]
push edx
fstp dword [0x22094fc]
mov eax, dword [ebx + 0x18]
mov dword [0x2209500], eax
fld dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
fchs
fstp dword [esp + 0x44]
lea eax, [esp + 0x14]
fld dword [ebx + 0x24]
push eax
fchs
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x50]
call fcn.005e40eb
fld dword [ebx + 0x28]
fld dword [ebx + 0x2c]
fld dword [ebx + 0x30]
fld st(1)
fmul dword [esp + 0x18]
fld st(1)
fmul dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
fmul dword [esp + 0x10]
lea ecx, [esp + 0x20]
fld st(2)
push ecx
fmul dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fxch st(1)
mov dword [esp + 0x28], edx
fmul dword [esp + 0x18]
mov edx, ecx
fxch st(1)
push edx
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
call fcn.005e40eb
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x18]
mov dword [esp + 0x40], eax
fmul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x10]
mov dword [esp + 0x4c], eax
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x10]
mov dword [esp + 0x44], ecx
fmul dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
fmul dword [esp + 0x20]
fsubp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fld dword [esp + 0x28]
mov dword [esp + 0x48], edx
fchs
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x44]
fchs
mov dword [esp + 0x70], ecx
fstp dword [esp + 0x54]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, 0x220aad0
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00548ec0
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x110]
push eax
movzx eax, byte [ebx + 0x283]
lea ecx, [esp + 0x38]
push ecx
movzx ecx, byte [ebx + 0x183]
lea edx, [esp + 0x38]
push edx
lea edx, [ecx + eax*2]
movzx eax, byte [ebx + 0x299]
lea eax, [eax + edx*2]
lea ecx, [eax + eax*4]
shl ecx, 6
push esi
add ecx, 0x220aad4
call fcn.00550a40
push fcn.004441b0
push 2
push 0x40
lea ecx, [esp + 0x98]
push ecx
call fcn.00405c90
cmp dword [ebx + 0xcc], 0x74
jge 0x410af4
mov eax, dword [ebx + 0xe0]
test eax, eax
jne 0x410af4
mov eax, dword [ebx + 0xe4]
test eax, eax
jne 0x410af4
xor ebp, ebp
jmp 0x410920
mov eax, dword [ebx + ebp*4 + 0x74]
test eax, eax
je 0x410aea
cmp ebp, 1
jne 0x4109e1
mov edx, dword [ebx + 0x78]
mov al, byte [edx + 0x4c]
cmp al, 5
je 0x410998
cmp al, 0x31
je 0x410998
cmp al, 0x32
je 0x410998
cmp al, 0xf
je 0x410998
cmp al, 0x41
je 0x410998
movzx eax, byte [ebx + 0x2a2]
mov ecx, dword [ebx + 0xc8]
push eax
mov eax, dword [esp + 0x20]
push ecx
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xdc]
push eax
push ecx
lea eax, [esp + 0x25c]
push eax
mov ecx, edx
call fcn.004295c0
lea edi, [esp + 0xcc]
jmp 0x410a74
movzx ecx, byte [ebx + 0x2a3]
mov eax, dword [ebx + 0xc8]
push ecx
push eax
mov eax, dword [ebx + 0xdc]
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
push ecx
push eax
lea ecx, [esp + 0x19c]
push ecx
mov ecx, edx
call fcn.004295c0
lea edi, [esp + 0xcc]
jmp 0x410a74
movzx ecx, byte [eax + 0x4c]
add ecx, 0xfffffff3
cmp ecx, 0x33
ja case.0x4109f4.15
movzx edx, byte [ecx + 0x410ba8]
jmp dword [edx*4 + 0x410ba0]
movzx ecx, byte [ebx + 0x2a1]
mov edx, dword [ebx + 0xc8]
push ecx
push edx
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x218]
jmp 0x410a59
movzx ecx, byte [ebx + 0x2a0]
mov edx, dword [ebx + 0xc8]
push ecx
push edx
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x1d8]
mov edx, dword [ebx + 0xdc]
push edx
push ecx
mov ecx, eax
call fcn.004295c0
mov edx, ebp
shl edx, 6
lea edi, [esp + edx + 0x8c]
mov esi, eax
mov eax, dword [ebx + ebp*4 + 0x74]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x410aac
mov edx, ebp
shl edx, 6
lea eax, [esp + edx + 0x8c]
push eax
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00556790
fld dword [0x22094f8]
mov eax, ebp
shl eax, 6
fadd dword [esp + eax + 0xbc]
fstp dword [esp + eax + 0xbc]
fld dword [0x22094fc]
fadd dword [esp + eax + 0xc0]
fstp dword [esp + eax + 0xc0]
lea eax, [esp + eax + 0xc4]
fld dword [0x2209500]
fadd dword [eax]
fstp dword [eax]
inc ebp
cmp ebp, 2
jl 0x410920
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, 0x220aad0
call fcn.005484e0
movzx edx, byte [ebx + 0x283]
movzx eax, byte [ebx + 0x183]
lea ecx, [eax + edx*2]
movzx edx, byte [ebx + 0x299]
lea eax, [edx + ecx*2]
lea ecx, [eax + eax*4]
shl ecx, 6
add ecx, 0x220aad4
call fcn.005519c0
mov eax, dword [ebx + 0xe0]
test eax, eax
jne 0x410b7a
mov eax, dword [ebx + 0xe4]
test eax, eax
jne 0x410b7a
lea edi, [esp + 0x8c]
lea esi, [ebx + 0x74]
mov ebp, 2
mov ecx, dword [esi]
test ecx, ecx
je 0x410b71
mov eax, dword [ebx + 0xc8]
mov edx, dword [ebx + 0xdc]
push edi
push eax
push edx
call fcn.00429870
add esi, 4
add edi, 0x40
dec ebp
jne 0x410b57
mov ecx, 0x220aad0
call fcn.00548860
mov ecx, 0x220aad0
call fcn.00548880
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x23c
ret