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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
cmp byte [esi], 0
mov ebx, ecx
mov dword [esp + 0x10], ebx
jne 0x4516ae
push ebp
mov ecx, esi
call fcn.004515e0
test al, al
jne 0x4516ae
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x4516c9
mov ecx, ebx
call fcn.00451c00
test al, al
jne 0x4516c9
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov eax, dword [ebx + 0x70]
test eax, eax
push edi
je 0x45177a
add esi, 4
push esi
mov ecx, ebx
call fcn.004514a0
test al, al
jne 0x4517f9
push 0
mov ecx, ebx
call fcn.00451a40
mov ecx, 0x17
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0047e0d0
mov ecx, eax
call fcn.0043fa50
mov esi, eax
push esi
mov ecx, ebp
call fcn.00481990
mov eax, dword [esi]
push 0
push 0x18
push 0
push esi
call dword [eax + 0x10c]
mov ecx, dword [esi]
push 0xffffffffffffffff
push 0x3c
push esi
call dword [ecx + 0xe4]
mov al, byte [ebp + 0x4d]
test al, al
je 0x4517f9
mov ebp, dword [ebp + 0x50]
sub ebp, 0
je 0x45175a
dec ebp
jne 0x4517f9
mov edx, dword [esi]
push 0x20
push 3
push 0
push esi
call dword [edx + 0x10c]
jmp 0x4517f9
mov eax, dword [esi]
push 0
push 3
push 0
push esi
call dword [eax + 0x10c]
mov ecx, dword [esi]
push 0
push 6
push 0
push esi
call dword [ecx + 0x10c]
jmp 0x4517f9
add esi, 4
mov ecx, 0x17
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0047e0d0
mov ecx, eax
call fcn.0043fa50
mov esi, eax
push esi
mov ecx, ebp
call fcn.00481990
mov edx, dword [esi]
push 0
push 0x18
push 0
push esi
call dword [edx + 0x10c]
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x3c
push esi
call dword [eax + 0xe4]
mov al, byte [ebp + 0x4d]
test al, al
je 0x4517f9
mov ebp, dword [ebp + 0x50]
sub ebp, 0
je 0x4517db
dec ebp
jne 0x4517f9
mov ecx, dword [esi]
push 0x20
push 3
push 0
push esi
call dword [ecx + 0x10c]
jmp 0x4517f9
mov edx, dword [esi]
push 0
push 3
push 0
push esi
call dword [edx + 0x10c]
mov eax, dword [esi]
push 0
push 6
push 0
push esi
call dword [eax + 0x10c]
mov ecx, dword [esp + 0x40]
lea edi, [ecx + 0x60]
mov edx, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
lea esi, [edx + 0x70]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
jne 0x451818
xor eax, eax
jmp 0x451820
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 5
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x70]
add ecx, eax
add ecx, edx
cmp ecx, 0x10000
ja 0x451854
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45183d
xor eax, eax
jmp 0x451844
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 1
mov edx, dword [ebx + 0x78]
add edx, dword [ebx + 0x74]
add edx, eax
cmp edx, 0x40000
jbe 0x45185d
push 1
mov ecx, ebx
call fcn.00451a40
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x64]
mov ebp, dword [edi + 4]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
cmp ebp, dword [edi + 8]
mov dword [esp + 0x40], eax
je 0x4519e4
mov esi, dword [esp + 0x48]
lea ebx, [eax + 0x14]
lea edi, [ebp + 0x10]
fld dword [edi - 0xc]
push ecx
fmul dword [esi + 0x18]
fld dword [ebp]
fmul dword [esi + 8]
faddp st(1)
fld dword [edi - 8]
fmul dword [esi + 0x28]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [esp]
push ecx
fld dword [edi - 8]
fmul dword [esi + 0x24]
fld dword [edi - 0xc]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [ebp]
fmul dword [esi + 4]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [esp]
push ecx
fld dword [edi - 8]
lea ecx, [esp + 0x30]
fmul dword [esi + 0x20]
fld dword [edi - 0xc]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [ebp]
fmul dword [esi]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [esp]
call fcn.00401530
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [ebx - 0x10], ecx
mov dword [ebx - 0xc], edx
fld dword [edi]
fmul dword [esi + 0x18]
push ecx
fld dword [edi + 4]
fmul dword [esi + 0x28]
faddp st(1)
fld dword [edi - 4]
fmul dword [esi + 8]
faddp st(1)
fstp dword [esp]
push ecx
fld dword [edi + 4]
fmul dword [esi + 0x24]
fld dword [edi]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [edi - 4]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp]
push ecx
fld dword [edi + 4]
lea ecx, [esp + 0x3c]
fmul dword [esi + 0x20]
fld dword [edi]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [edi - 4]
fmul dword [esi]
faddp st(1)
fstp dword [esp]
call fcn.00401530
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [ebx - 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [ebx - 8], eax
mov dword [ebx], edx
mov eax, dword [ecx + 0x120]
mov dword [ebx + 4], eax
call fcn.00482770
test al, al
je 0x4519b1
mov ecx, dword [esp + 0x44]
call fcn.00482790
fld dword [eax + 0x10]
fmul dword [edi + 0xc]
fld dword [edi + 8]
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x20]
fld dword [eax + 0x14]
fmul dword [edi + 0xc]
fld dword [eax + 4]
fmul dword [edi + 8]
faddp st(1)
fadd dword [eax + 0x24]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fstp dword [ebx + 8]
mov dword [ebx + 0xc], ecx
jmp 0x4519bd
lea edx, [edi + 8]
push edx
lea ecx, [ebx + 8]
call fcn.004477d0
add dword [esp + 0x40], 0x24
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
add ebp, 0x20
add edi, 0x20
add ebx, 0x24
cmp ebp, ecx
jne 0x451883
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, eax
mov bp, word [ebx + 0x70]
mov ecx, edi
call fcn.0040dae0
mov edi, dword [ebx + 0x70]
mov edx, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x78]
add edi, eax
mov dword [ebx + 0x70], edi
mov eax, dword [esi + 4]
lea ecx, [edx + ecx*2]
cmp eax, dword [esi + 8]
pop edi
je 0x451a1f
mov dx, word [eax]
add dx, bp
mov word [ecx], dx
mov edx, dword [esi + 8]
add eax, 2
add ecx, 2
cmp eax, edx
jne 0x451a09
mov ecx, esi
call fcn.00447490
mov ecx, dword [ebx + 0x78]
pop esi
add ecx, eax
pop ebp
mov dword [ebx + 0x78], ecx
mov al, 1
pop ebx
add esp, 0x2c
ret 0xc