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

Disassembly:
sub esp, 0x12c
push ebx
push ebp
mov ebx, 0x77dc8c
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xfa
test byte [ebx + 0x20], 4
je 0x450eeb
mov al, byte [ebx + 0x21]
cmp al, 2
je 0x450aac
cmp al, 3
je 0x450aac
mov eax, 0x7841f0
mov ecx, 0x4b9340
jmp 0x450ab4
mov eax, 0x784a00
lea ecx, [ebx - 0x18]
lea edi, [ebx - 0x44]
push 0
push edi
push ecx
push eax
call fcn.00460ce0
mov ecx, dword [0x7841ec]
lea eax, [ebx - 0x44]
add esp, 0x10
cmp eax, ecx
jne 0x450af3
mov al, byte [0x784e25]
push edi
test al, al
je 0x450ae2
push 0x4b9340
jmp 0x450aeb
mov eax, dword [0x4d67a4]
add eax, 0x10
push eax
call fcn.00423930
add esp, 8
mov al, byte [ebx + 0x21]
cmp al, 2
je 0x450afe
cmp al, 3
jne 0x450b47
fld dword [ebx]
fmul dword [ebx - 0x38]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
push 0
fadd dword [edi]
shl ecx, 8
add ecx, esi
lea edx, [esp + 0x34]
shl ecx, 8
fstp dword [esp + 0x34]
fld dword [ebx + 4]
fmul dword [ebx - 0x38]
add ecx, eax
push ecx
push edx
fadd dword [ebx - 0x40]
push edi
fstp dword [esp + 0x44]
fld dword [ebx + 8]
fmul dword [ebx - 0x38]
fadd dword [ebx - 0x3c]
fstp dword [esp + 0x48]
call fcn.004243d0
add esp, 0x10
cmp byte [ebx + 0x21], 4
jne 0x450eeb
mov eax, dword [ebx + 0x14]
lea ebp, [ebx - 0x18]
mov dword [esp + 0x14], eax
neg eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
fild dword [esp + 0x10]
mov dword [esp + 0x2c], eax
neg eax
fst dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x28], eax
neg eax
fst dword [esp + 0x40]
mov dword [esp + 0x10], eax
xor esi, esi
fild dword [esp + 0x10]
fst dword [esp + 0x1c]
fst dword [esp + 0x44]
fild dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], edx
fst dword [esp + 0x18]
fstp dword [esp + 0x48]
fld st(1)
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], eax
fstp dword [esp + 0x50]
fld st(1)
fstp dword [esp + 0x54]
fst dword [esp + 0x58]
fild dword [esp + 0x28]
fst dword [esp + 0x14]
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, edx
fst dword [esp + 0x6c]
fild dword [esp + 0x2c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
fst dword [esp + 0x10]
fst dword [esp + 0x70]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x98], eax
fstp dword [esp + 0x84]
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], edx
lea ecx, [esp + esi + 0xdc]
lea edx, [esp + esi + 0x3c]
push ecx
push edx
push edi
push ebp
call fcn.00443580
add esi, 0xc
add esp, 0x10
cmp esi, 0x60
jl 0x450c38
call fcn.004212b0
or eax, 0xffffffff
cmp word [0x4b6d9c], ax
je 0x450c86
mov word [0x4b6d9c], ax
mov eax, dword [0x74c7b0]
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
inc dword [0x74c678]
mov ax, word [0x4b6da0]
cmp ax, 2
je 0x450cf0
test ax, ax
jne 0x450cac
mov eax, dword [0x74c7b0]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
inc dword [0x74c67c]
mov eax, dword [0x74c7b0]
push 4
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa0]
mov ebp, dword [0x74c67c]
mov eax, dword [0x74c7b0]
inc ebp
push 0
mov dword [0x74c67c], ebp
mov edx, dword [eax]
push 0x18
push eax
call dword [edx + 0x58]
mov eax, dword [0x74c67c]
mov word [0x4b6da0], 2
inc eax
mov dword [0x74c67c], eax
mov ecx, 5
cmp word [0x4b6da2], cx
je 0x450d19
mov eax, dword [0x74c7b0]
mov word [0x4b6da2], cx
push ecx
push 0x13
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
mov ecx, 6
cmp word [0x4b6da4], cx
je 0x450d42
mov eax, dword [0x74c7b0]
mov word [0x4b6da4], cx
push ecx
push 0x14
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
xor esi, esi
cmp word [0x4b6da8], si
je 0x450d68
mov eax, dword [0x74c7b0]
mov word [0x4b6da8], si
push esi
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov dword [esp + 0x14], esi
mov esi, 0x4ba668
lea edi, [esp + 0x9c]
lea ebp, [esp + 0xac]
mov dword [esp + 0x10], 4
xor eax, eax
mov ecx, ebp
mov ax, word [esi]
lea edx, [eax + eax*2]
lea eax, [esp + edx*4 + 0xdc]
mov edx, dword [esp + edx*4 + 0xdc]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
movsx ecx, byte [0x784e26]
cmp eax, ecx
jne 0x450e02
mov ecx, dword [0x7841ec]
lea eax, [ebx - 0x44]
cmp eax, ecx
jne 0x450e02
call fcn.004a4d2c
mov ebx, eax
and ebx, 0xff
or ebx, 0xffff8000
shl ebx, 8
call fcn.004a4d2c
and eax, 0xff
or ebx, eax
shl ebx, 8
call fcn.004a4d2c
and eax, 0xff
or ebx, eax
mov dword [edi], ebx
mov ebx, dword [esp + 0x20]
jmp 0x450e08
mov dword [edi], 0x80000000
mov eax, dword [esp + 0x10]
add esi, 2
add ebp, 0xc
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x450d87
lea edx, [esp + 0x9c]
push 4
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.00422070
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
cmp esi, 0x4ba698
mov dword [esp + 0x14], ecx
jl 0x450d71
cmp word [0x4b6da8], 0
jne 0x450e77
mov eax, dword [0x74c7b0]
mov word [0x4b6da8], 1
push 1
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6da0], 0
je 0x450eeb
mov eax, dword [0x74c7b0]
push 0
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
mov ecx, dword [0x74c67c]
inc ecx
cmp word [0x4b6da0], 2
mov dword [0x74c67c], ecx
jne 0x450ee2
mov eax, dword [0x74c7b0]
push 2
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa0]
mov ebp, dword [0x74c67c]
mov eax, dword [0x74c7b0]
mov ecx, dword [0x4ba868]
inc ebp
mov dword [0x74c67c], ebp
mov edx, dword [eax]
push ecx
push 0x18
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], 0
mov eax, dword [esp + 0x24]
add ebx, 0x68
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
jne 0x450a8b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret