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

Disassembly:
push 0xffffffffffffffff
push 0x4ffe74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [esp + 0x6c]
push 0x88
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ebx
call fcn.004dc5c3
add esp, 4
mov dword [esp + 0x58], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], ecx
je 0x45a56a
mov ecx, eax
call fcn.00456c20
mov esi, eax
mov dword [esp + 0x24], esi
jmp 0x45a570
mov dword [esp + 0x24], ecx
mov esi, ecx
push ebp
mov ebp, dword [esp + 0x74]
push 0xffffffffffffffff
push 0x18
push ebx
push ebp
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00457640
fild dword [esp + 0x40]
mov edx, dword [edi + 0xc]
lea ecx, [ebp + ebp*2]
fidiv dword [esp + 0x74]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, ecx
test ebx, ebx
mov dword [esp + 0x3c], eax
fstp dword [esp + 0x10]
jle 0x45a7eb
xor esi, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
fld dword [0x50b6d8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], 0
fld dword [0x50b6d8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], 0
add esi, eax
mov dword [esp + 0x24], ecx
test ebp, ebp
jle 0x45a817
mov dword [esp + 0x4c], ebp
fadd dword [esp + 0x10]
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], ebp
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
call fcn.004c22c8
test eax, eax
mov dword [esp + 0x44], eax
je 0x45a6a7
lea ecx, [eax]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x24], eax
xor edx, edx
xor eax, eax
mov dl, byte [esi]
mov al, byte [esi + 1]
add ebp, edx
inc esi
add ebx, eax
mov eax, dword [esp + 0x2c]
inc esi
xor edx, edx
mov dl, byte [esi]
add eax, edx
inc esi
dec ecx
mov dword [esp + 0x2c], eax
jne 0x45a64e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
test eax, eax
mov dword [esp + 0x48], ebp
je 0x45a6a7
fild dword [esp + 0x44]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
fiadd dword [esp + 0x48]
fild dword [esp + 0x18]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x2c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x45a716
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov cl, byte [esi + 1]
mov dword [esp + 0x48], eax
inc esi
fild dword [esp + 0x48]
mov dword [esp + 0x48], ecx
inc esi
xor edx, edx
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x30]
fild dword [esp + 0x48]
mov dl, byte [esi]
inc esi
mov dword [esp + 0x48], edx
dec eax
fstp dword [esp + 0x34]
fild dword [esp + 0x48]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x14]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fmul dword [esp + 0x14]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fdiv dword [esp + 0x10]
fadd qword [0x506f38]
call fcn.004c22c8
fld dword [esp + 0x1c]
fdiv dword [esp + 0x10]
mov ebx, eax
fadd qword [0x506f38]
call fcn.004c22c8
fld dword [esp + 0x20]
fdiv dword [esp + 0x10]
mov dword [esp + 0x18], eax
fadd qword [0x506f38]
call fcn.004c22c8
mov ecx, 0xff
cmp ebx, ecx
jle 0x45a75c
mov ebx, ecx
cmp dword [esp + 0x18], ecx
jle 0x45a766
mov dword [esp + 0x18], ecx
cmp eax, ecx
jle 0x45a76c
mov eax, ecx
fld dword [0x5054fc]
fsub dword [esp + 0x14]
mov cl, byte [esp + 0x18]
mov byte [edi], bl
inc edi
fst dword [esp + 0x2c]
fmul dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [esp + 0x34]
mov byte [edi], cl
inc edi
mov byte [edi], al
mov eax, dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x38]
inc edi
dec eax
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fsub qword [0x506f28]
jne 0x45a601
mov ebp, dword [esp + 0x74]
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
add edi, edx
add esi, ecx
dec eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
jne 0x45a5c5
mov esi, dword [esp + 0x28]
push 0x88
call fcn.004dc5c3
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov dword [esp + 0x68], 1
je 0x45a81d
mov ecx, eax
call fcn.00456c20
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x45a829
fstp st(0)
fstp st(0)
jmp 0x45a7c4
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
push 0xffffffffffffffff
push 0x18
push edx
push ebp
mov ecx, ebx
mov dword [esp + 0x78], 0xffffffff
call fcn.00457640
fild dword [esp + 0x58]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + 0xc]
fidiv dword [esp + 0x78]
mov eax, dword [eax + 0x14]
sub eax, 3
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x14]
sub eax, 3
test ebp, ebp
mov dword [esp + 0x3c], eax
fstp dword [esp + 0x10]
jle 0x45aab4
xor eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0xc]
fld dword [0x50b6d8]
mov esi, dword [edx + 0x18]
mov edi, dword [ecx + 0x18]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x58]
fld dword [0x50b6d8]
xor ebp, ebp
add esi, eax
add edi, eax
cmp ecx, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
jle 0x45aae2
mov dword [esp + 0x48], ecx
jmp 0x45a8c4
xor ebp, ebp
fadd dword [esp + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], ebp
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
call fcn.004c22c8
test eax, eax
mov dword [esp + 0x54], eax
je 0x45a96b
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 1]
lea ecx, [eax]
sub dword [esp + 0x24], ecx
xor eax, eax
mov ebx, dword [esp + 0x14]
mov al, byte [esi]
add ebp, eax
inc esi
xor eax, eax
mov al, byte [esi]
add ebx, eax
inc esi
xor eax, eax
mov dword [esp + 0x14], ebx
mov al, byte [esi]
mov ebx, dword [esp + 0x38]
add ebx, eax
add esi, edx
dec ecx
mov dword [esp + 0x38], ebx
jne 0x45a90e
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], ebp
test eax, eax
je 0x45a96b
fild dword [esp + 0x54]
fsubr dword [esp + 0x74]
fstp dword [esp + 0x74]
fiadd dword [esp + 0x50]
fild dword [esp + 0x14]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fild dword [esp + 0x38]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x45a9e1
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi + 1]
mov dword [esp + 0x5c], ecx
inc esi
fild dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
inc esi
xor eax, eax
mov ecx, dword [esp + 0x4c]
fstp dword [esp + 0x34]
fild dword [esp + 0x5c]
mov al, byte [esi]
lea esi, [esi + ecx + 1]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x30]
fild dword [esp + 0x5c]
dec eax
mov dword [esp + 0x24], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x34]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x74]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fmul dword [esp + 0x74]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fdiv dword [esp + 0x10]
fadd qword [0x506f38]
call fcn.004c22c8
fld dword [esp + 0x20]
fdiv dword [esp + 0x10]
mov ebx, eax
fadd qword [0x506f38]
call fcn.004c22c8
fld dword [esp + 0x1c]
fdiv dword [esp + 0x10]
mov dword [esp + 0x14], eax
fadd qword [0x506f38]
call fcn.004c22c8
mov ecx, 0xff
cmp ebx, ecx
jle 0x45aa27
mov ebx, ecx
cmp dword [esp + 0x14], ecx
jle 0x45aa31
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle 0x45aa37
mov eax, ecx
fld dword [0x5054fc]
fsub dword [esp + 0x74]
mov dl, byte [esp + 0x14]
mov byte [edi], bl
inc edi
fst dword [esp + 0x38]
fmul dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [esp + 0x30]
mov byte [edi], dl
inc edi
mov byte [edi], al
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x38]
fmul dword [esp + 0x2c]
lea edi, [edi + eax + 1]
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x74]
fsub qword [0x506f28]
jne 0x45a8c2
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
add eax, 3
dec ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
jne 0x45a87a
test esi, esi
pop ebp
je 0x45aac2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
mov ecx, ebx
push eax
call fcn.00459ae0
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret
fstp st(0)
fstp st(0)
jmp 0x45aa9a