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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3b4
mov eax, dword [0x8026cc]
test eax, eax
push ebx
push esi
push edi
je 0x631443
mov eax, dword [0x8026c8]
test eax, eax
je 0x631443
cmp dword [0x8654a4], 6
jne 0x631443
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
xor ecx, ecx
cmp eax, 4
setne cl
cmp eax, 4
mov esi, dword [ecx*4 + 0x8900ac]
mov ecx, 0x89e7a0
jne 0x631029
push 0
jmp 0x63102b
push 1
call fcn.005ed700
mov ecx, dword [0x890080]
push eax
call fcn.005f0bb0
movsx ecx, word [eax + 8]
mov edx, dword [esi + 0x234]
test edx, edx
mov eax, dword [esi + 0x238]
mov dword [esp + 0x78], ecx
jne 0x631083
mov edx, dword [esi + 0x58]
test edx, edx
jne 0x631083
test eax, eax
je 0x631071
mov eax, dword [eax + 0xc]
cmp eax, 2
je 0x631083
cmp eax, 4
je 0x631083
cmp eax, 0x14
je 0x631083
mov eax, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, ecx
inc ecx
jmp 0x63109b
mov edx, dword [0x890080]
mov ecx, dword [edx + 0x18]
mov eax, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
xor eax, eax
cmp eax, ecx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x20], eax
jge 0x631443
lea eax, [eax*4 + 0x1c]
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
mov ecx, dword [0x890080]
mov edx, dword [esp + 0x7c]
mov esi, dword [eax + ecx]
push edi
push edx
push esi
call fcn.0060d2f0
add esp, 0xc
test eax, eax
je 0x631423
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x2c8]
push edx
mov ecx, esi
call fcn.005f65a0
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x1c4]
push ecx
mov ecx, esi
call fcn.005ec570
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x5b0]
mov ebx, dword [esi + 0x554]
mov edx, 1
shl edx, cl
test eax, edx
lea eax, [esi + 0x560]
jne 0x631134
lea eax, [esi + 0xd0]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00401310
mov eax, dword [esi + 0x424]
add esp, 8
cmp eax, 3
jl 0x631170
fld dword [esp + 0x50]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x58]
jmp 0x6313ad
fld dword [esp + 0x34]
fmul dword [0x7d7d3c]
fld dword [esp + 0x3c]
fmul dword [0x7d7d3c]
fld dword [esp + 0x38]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fadd dword [esp + 0x14]
fadd st(1)
fadd st(2)
fstp dword [esp + 0x80]
fld dword [esp + 0x30]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fadd dword [esp + 0x18]
fadd dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x38]
fmul dword [0x7842a0]
fadd dword [esp + 0x18]
fadd st(1)
fadd st(2)
fstp dword [esp + 0x88]
fstp st(0)
fld dword [esp + 0x3c]
fadd dword [esp + 0x18]
fadd dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x8c]
fstp st(0)
fld dword [esp + 0x44]
fmul dword [0x7d7d3c]
fld dword [esp + 0x4c]
fmul dword [0x7d7d3c]
fld dword [esp + 0x48]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x18]
fld dword [esp + 0x40]
fadd dword [esp + 0x18]
fadd st(1)
fadd st(2)
fstp dword [esp + 0x90]
fld dword [esp + 0x40]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x14]
fld dword [esp + 0x44]
fadd dword [esp + 0x14]
fadd dword [esp + 0x18]
fadd st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x48]
fmul dword [0x7842a0]
fadd dword [esp + 0x14]
fadd st(1)
fadd st(2)
fstp dword [esp + 0x98]
fstp st(0)
fld dword [esp + 0x4c]
fadd dword [esp + 0x14]
fadd dword [esp + 0x18]
fadd st(1)
fstp dword [esp + 0x9c]
fstp st(0)
fld dword [esp + 0x58]
fmul dword [0x7d7d3c]
fld dword [esp + 0x54]
fmul dword [0x7d7d3c]
fld st(0)
fadd st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x5c]
lea ecx, [esp + 0x80]
fmul dword [0x7d7d3c]
push ecx
fld dword [esp + 0x54]
lea edx, [esp + 0x34]
fadd st(1)
push edx
fadd dword [esp + 0x20]
fstp dword [esp + 0xa8]
fld dword [esp + 0x58]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x1c]
fadd st(1)
fadd st(3)
fstp dword [esp + 0xac]
fld dword [esp + 0x60]
fmul dword [0x7842a0]
fadd dword [esp + 0x1c]
fadd st(1)
fadd st(2)
fstp dword [esp + 0xb0]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x64]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0xb4]
fld dword [esp + 0x6c]
fmul dword [0x7d7d3c]
fld dword [esp + 0x74]
fmul dword [0x7d7d3c]
fld dword [esp + 0x70]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x68]
fadd dword [esp + 0x20]
fadd st(1)
fadd st(2)
fstp dword [esp + 0xb8]
fld dword [esp + 0x68]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x6c]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0xbc]
fld dword [esp + 0x70]
fmul dword [0x7842a0]
fadd dword [esp + 0x1c]
fadd st(1)
fadd st(2)
fstp dword [esp + 0xc0]
fstp st(0)
fld dword [esp + 0x74]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0xc4]
fstp st(0)
call fcn.00401310
add esp, 8
cmp dword [esp + 0x1c], 2
jne 0x6313c8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
xor eax, eax
cmp edx, ecx
setne al
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x5b0]
mov edx, 1
shl edx, cl
test eax, edx
lea eax, [esi + 0x5a0]
jne 0x6313e5
lea eax, [esi + 0x50]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
push 1
push 0
push 0x401
lea ecx, [esp + 0x1d4]
push ecx
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x2dc]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
push 0x7f3f00
push edi
mov ecx, ebx
call fcn.00620860
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jl 0x6310c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret