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

Disassembly:
sub esp, 0x20
mov eax, dword [0x815cb4]
mov edx, dword [0x816d04]
push ebx
mov ebx, dword [esp + 0x2c]
and ebx, 0xffff
imul ebx, ebx, 0x158
push ebp
push esi
push edi
mov edi, dword [eax + 0x34]
mov ecx, dword [ebx + edi + 8]
mov eax, dword [ebx + edi + 0xc]
add ebx, edi
and ecx, 0xffff
shl ecx, 5
cmp eax, 0xffffffff
mov ebp, dword [ecx + edx + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], 0
je 0x45514c
mov edx, dword [0x7fb2d0]
mov edx, dword [edx + 0x34]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov ecx, dword [edx + ecx*4 + 8]
mov edx, dword [ecx + 0x10]
test dh, 8
je 0x455109
mov cx, word [ebx + 0x12]
lea edx, [ebx + 0x14]
call fcn.004fa920
test al, al
je 0x455109
mov eax, dword [ebx + 4]
or eax, 1
jmp 0x45510f
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x20]
call fcn.004fa3b0
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0x2c]
xor edi, edi
call fcn.004fa550
fld dword [esi]
fmul dword [0x612228]
fstp dword [esi]
fld dword [ebx + 0x30]
fmul dword [0x612228]
fstp dword [ebx + 0x30]
fld dword [ebx + 0x34]
fmul dword [0x612228]
fstp dword [ebx + 0x34]
mov eax, dword [esp + 0x34]
movsx edx, word [ebp + 0x48]
push eax
push ebx
call dword [edx*4 + 0x5f596c]
mov ecx, dword [ebp + 0x5c]
xor eax, eax
add esp, 8
cmp ecx, eax
mov dword [esp + 0x18], eax
jle 0x4556a3
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x60]
mov ebp, eax
shl ebp, 7
shl eax, 6
add ebp, edx
lea ebx, [eax + ebx + 0x58]
mov eax, dword [ebp + 0x20]
test ah, 1
mov dword [esp + 0x1c], ebp
jne 0x455684
cmp word [ebx], 0xffff
fld dword [ebx + 4]
fsub dword [esp + 0x34]
fstp dword [ebx + 4]
je 0x455684
lea ebx, [ebx]
movsx esi, word [ebx]
fld dword [ebx + 4]
fcomp dword [0x612220]
mov eax, dword [ebp + 0x6c]
lea esi, [esi + esi*2]
shl esi, 6
add esi, eax
fnstsw ax
test ah, 5
mov ax, word [ebx + 2]
jp 0x455286
cmp ax, 0xffff
jne 0x455215
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
mov eax, ebx
call fcn.00454f40
fld dword [esi + 0x2c]
mov eax, dword [0x6b4c9c]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
add esp, 4
mov dword [0x6b4c9c], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jmp 0x455252
mov word [ebx], ax
movsx eax, ax
lea eax, [eax + eax*2]
mov word [ebx + 2], 0xffff
mov esi, dword [ebp + 0x6c]
shl eax, 6
add eax, esi
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x6b4c9c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x6b4c9c], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x45525c
fadd dword [0x612320]
fmul dword [0x6122e4]
fxch st(2)
fsub st(1)
fmulp st(2)
faddp st(1)
fst dword [ebx + 8]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
cmp word [ebx], 0xffff
jne 0x4551b0
mov eax, dword [esp + 0x10]
jmp 0x455392
cmp ax, 0xffff
lea edx, [ebx + 0xc]
jne 0x45529d
mov ecx, 0xa
add esi, 0x34
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x455310
fld dword [ebx + 4]
mov edi, dword [ebp + 0x6c]
fdiv dword [ebx + 8]
movsx eax, ax
lea eax, [eax + eax*2]
shl eax, 6
lea edi, [eax + edi + 0x34]
mov ecx, edx
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4552cc
fstp st(0)
fld dword [0x612220]
jmp 0x4552e1
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4552e1
fstp st(0)
fld dword [0x612224]
fld dword [0x612224]
sub esi, edx
fsub st(1)
add esi, 0x34
mov eax, 0xa
fld st(1)
add ecx, 4
fmul dword [esi + ecx - 4]
add edi, 4
dec eax
fld st(1)
fmul dword [edi - 4]
faddp st(1)
fstp dword [ecx - 4]
jne 0x4552f3
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x20]
test ah, 2
mov eax, dword [esp + 0x10]
je 0x455340
fld dword [eax + 0x38]
fmul dword [ebx + 0x18]
fstp dword [ebx + 0x18]
fld dword [eax + 0x3c]
fmul dword [ebx + 0x1c]
fstp dword [ebx + 0x1c]
fld dword [eax + 0x40]
fmul dword [ebx + 0x20]
fstp dword [ebx + 0x20]
fld dword [eax + 0x44]
fmul dword [ebx + 0x24]
fstp dword [ebx + 0x24]
mov ecx, dword [ebp + 0x20]
test ch, 8
je 0x455351
fld dword [eax + 0x14]
fmul dword [ebx + 0x2c]
fstp dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x20]
test ch, 0x10
je 0x455362
fld dword [eax + 0x14]
fmul dword [ebx + 0x30]
fstp dword [ebx + 0x30]
mov ecx, dword [ebp + 0x20]
test ch, 0x20
je 0x455371
fld dword [eax + 0x14]
fmul dword [edx]
fstp dword [edx]
mov ecx, dword [ebp + 0x20]
test ch, 0x40
je 0x455382
fld dword [eax + 0x14]
fmul dword [ebx + 0x10]
fstp dword [ebx + 0x10]
mov ecx, dword [ebp + 0x20]
test ch, ch
jns 0x455392
fld dword [eax + 0x14]
fmul dword [ebx + 0x14]
fstp dword [ebx + 0x14]
cmp word [ebx], 0xffff
je 0x455684
test byte [eax + 4], 1
mov dword [esp + 0x24], 0
je 0x4553bd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.004546a0
add esp, 0xc
xor esi, esi
mov si, word [ebx + 0x3c]
cmp si, 0xffff
mov dword [esp + 0x14], esi
je 0x455680
jmp 0x4553e0
mov esi, dword [esp + 0x14]
jmp 0x4553e0
mov eax, dword [0x815cb8]
mov ecx, dword [eax + 0x34]
mov edi, dword [esp + 0x1c]
movzx ebp, si
shl ebp, 7
add ebp, ecx
or edx, 0xffffffff
cmp word [ebp + 8], dx
fld dword [ebp + 0xc]
fsub dword [esp + 0x34]
fstp dword [ebp + 0xc]
jne 0x45546c
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x45546c
mov word [ebp + 8], 0
mov eax, dword [edi + 0x78]
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x6b4c9c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x6b4c9c], eax
shr eax, 0x10
test eax, eax
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x455447
fadd dword [0x612320]
fmul dword [0x6122e4]
mov ax, word [ebp + 8]
fxch st(2)
lea edx, [ebp + 0x48]
fsub st(1)
mov ecx, edi
fmulp st(2)
faddp st(1)
fst dword [ebp + 0xc]
fstp dword [ebp + 0x10]
call fcn.00454de0
or edx, 0xffffffff
mov al, byte [ebp + 3]
test al, al
jne 0x455477
mov word [ebp + 8], dx
cmp word [ebp + 8], dx
je 0x45557d
movsx esi, word [ebp + 8]
fld dword [ebp + 0xc]
fcomp dword [0x612220]
mov eax, dword [edi + 0x78]
imul esi, esi, 0x178
add esi, eax
fnstsw ax
test ah, 5
jp 0x455570
mov ax, word [ebp + 0xa]
cmp ax, 0xffff
jne 0x4554df
mov ecx, edi
mov eax, ebp
call fcn.00454fe0
fld dword [esi + 0x2c]
mov eax, dword [0x6b4c9c]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x6b4c9c], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jmp 0x45551b
mov word [ebp + 8], ax
movsx eax, ax
imul eax, eax, 0x178
mov word [ebp + 0xa], 0xffff
add eax, dword [edi + 0x78]
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x6b4c9c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x6b4c9c], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jge 0x455525
fadd dword [0x612320]
fmul dword [0x6122e4]
xor eax, eax
mov ax, word [ebp + 0xa]
fxch st(2)
cmp ax, 0xffff
fsub st(1)
fmulp st(2)
faddp st(1)
fst dword [ebp + 0x10]
fadd dword [ebp + 0xc]
fstp dword [ebp + 0xc]
je 0x455554
lea edx, [ebp + 0x64]
mov ecx, edi
call fcn.00454de0
jmp 0x455565
lea esi, [ebp + 0x64]
lea edi, [ebp + 0x48]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp word [ebp + 8], 0xffff
jne 0x455481
mov esi, dword [esp + 0x14]
or edx, 0xffffffff
cmp word [ebp + 8], dx
jne 0x4555b3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45558d
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
jmp 0x455593
mov edx, dword [ebp + 4]
mov dword [ebx + 0x3c], edx
mov eax, dword [0x815cb8]
movsx edx, si
call fcn.004d3910
xor eax, eax
mov ax, word [ebp + 4]
dec word [ebx + 0x3a]
mov dword [esp + 0x14], eax
jmp 0x455674
movsx eax, word [ebx]
mov esi, dword [edi + 0x6c]
lea ecx, [eax + eax*2]
shl ecx, 6
add ecx, esi
cmp word [ebp + 0xa], dx
jne 0x4555dc
fld dword [ebp + 0x50]
fmul dword [ebx + 0x14]
fmul dword [esp + 0x34]
fadd dword [ebp + 0x40]
fstp dword [ebp + 0x40]
fld dword [ebp + 0x4c]
jmp 0x455639
fld dword [ebp + 0xc]
fdiv dword [ebp + 0x10]
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4555f9
fstp st(0)
fld dword [0x612220]
jmp 0x45560e
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x45560e
fstp st(0)
fld dword [0x612224]
fld dword [0x612224]
fsub st(1)
fld st(0)
fmul dword [ebp + 0x6c]
fld st(2)
fmul dword [ebp + 0x50]
faddp st(1)
fmul dword [ebx + 0x14]
fmul dword [esp + 0x34]
fadd dword [ebp + 0x40]
fstp dword [ebp + 0x40]
fmul dword [ebp + 0x68]
fxch st(1)
fmul dword [ebp + 0x4c]
faddp st(1)
fmul dword [ebx + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push ebp
fmul dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push eax
fadd dword [ebp + 0x44]
push edx
fstp dword [ebp + 0x44]
movsx ecx, word [ecx + 0xb2]
call dword [ecx*4 + 0x5f5980]
mov ax, word [ebp + 4]
add esp, 0x10
mov dword [esp + 0x24], ebp
mov word [esp + 0x14], ax
cmp word [esp + 0x14], 0xffff
jne 0x4553d3
inc dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x5c]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
movsx eax, ax
cmp eax, edx
jl 0x455171
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffd
cmp word [esp + 0x20], 0
mov dword [ebx + 4], ecx
jne 0x4556c7
cmp dword [ebx + 0xc], 0xffffffff
jne 0x4556c7
mov edx, dword [esp + 0x38]
push edx
call fcn.00454af0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret