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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
lea eax, [ebp - 0x88]
mov ecx, 4
mov dword [eax], 0xff000000
add eax, 0x20
dec ecx
jne 0x51f654
mov eax, dword [0x835b44]
mov ecx, dword [0x835b48]
mov edx, dword [0x835b4c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea edi, [ebp - 0x9c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov esi, ebx
sub edi, ebx
mov dword [ebp + 0xc], 4
mov ecx, dword [ebp + 8]
lea eax, [edi + esi]
push eax
push ecx
mov ecx, dword [0x79cb18]
push esi
call fcn.004127d0
mov eax, dword [ebp + 0xc]
add esi, 0x20
dec eax
mov dword [ebp + 0xc], eax
jne 0x51f691
mov al, byte [ebp + 0x10]
test al, al
je 0x51f8c4
fld dword [ebp - 0x9c]
fcomp dword [ebp - 0x7c]
fnstsw ax
test ah, 1
je 0x51f6d4
fld dword [ebp - 0x9c]
jmp 0x51f6d7
fld dword [ebp - 0x7c]
fld dword [ebp - 0x5c]
fcomp dword [ebp - 0x3c]
fnstsw ax
test ah, 1
je 0x51f6e9
fld dword [ebp - 0x5c]
jmp 0x51f6ec
fld dword [ebp - 0x3c]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x51f716
fld dword [ebp - 0x9c]
fcomp dword [ebp - 0x7c]
fnstsw ax
test ah, 1
je 0x51f711
fld dword [ebp - 0x9c]
jmp 0x51f72b
fld dword [ebp - 0x7c]
jmp 0x51f72b
fld dword [ebp - 0x5c]
fcomp dword [ebp - 0x3c]
fnstsw ax
test ah, 1
je 0x51f728
fld dword [ebp - 0x5c]
jmp 0x51f72b
fld dword [ebp - 0x3c]
mov ecx, dword [0x79cb18]
fild dword [ecx + 0x24]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x51fc6e
fld dword [ebp - 0x9c]
fcomp dword [ebp - 0x7c]
fnstsw ax
test ah, 0x41
jne 0x51f75b
fld dword [ebp - 0x9c]
jmp 0x51f75e
fld dword [ebp - 0x7c]
fld dword [ebp - 0x5c]
fcomp dword [ebp - 0x3c]
fnstsw ax
test ah, 0x41
jne 0x51f770
fld dword [ebp - 0x5c]
jmp 0x51f773
fld dword [ebp - 0x3c]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x51f79d
fld dword [ebp - 0x9c]
fcomp dword [ebp - 0x7c]
fnstsw ax
test ah, 0x41
jne 0x51f798
fld dword [ebp - 0x9c]
jmp 0x51f7b2
fld dword [ebp - 0x7c]
jmp 0x51f7b2
fld dword [ebp - 0x5c]
fcomp dword [ebp - 0x3c]
fnstsw ax
test ah, 0x41
jne 0x51f7af
fld dword [ebp - 0x5c]
jmp 0x51f7b2
fld dword [ebp - 0x3c]
fcomp dword [0x736698]
fnstsw ax
test ah, 1
jne 0x51fc6e
fld dword [ebp - 0x98]
fcomp dword [ebp - 0x78]
fnstsw ax
test ah, 1
je 0x51f7db
fld dword [ebp - 0x98]
jmp 0x51f7de
fld dword [ebp - 0x78]
fld dword [ebp - 0x58]
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 1
je 0x51f7f0
fld dword [ebp - 0x58]
jmp 0x51f7f3
fld dword [ebp - 0x38]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x51f81d
fld dword [ebp - 0x98]
fcomp dword [ebp - 0x78]
fnstsw ax
test ah, 1
je 0x51f818
fld dword [ebp - 0x98]
jmp 0x51f832
fld dword [ebp - 0x78]
jmp 0x51f832
fld dword [ebp - 0x58]
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 1
je 0x51f82f
fld dword [ebp - 0x58]
jmp 0x51f832
fld dword [ebp - 0x38]
fild dword [ecx + 0x28]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x51fc6e
fld dword [ebp - 0x98]
fcomp dword [ebp - 0x78]
fnstsw ax
test ah, 0x41
jne 0x51f85c
fld dword [ebp - 0x98]
jmp 0x51f85f
fld dword [ebp - 0x78]
fld dword [ebp - 0x58]
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 0x41
jne 0x51f871
fld dword [ebp - 0x58]
jmp 0x51f874
fld dword [ebp - 0x38]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x51f89e
fld dword [ebp - 0x98]
fcomp dword [ebp - 0x78]
fnstsw ax
test ah, 0x41
jne 0x51f899
fld dword [ebp - 0x98]
jmp 0x51f8b3
fld dword [ebp - 0x78]
jmp 0x51f8b3
fld dword [ebp - 0x58]
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 0x41
jne 0x51f8b0
fld dword [ebp - 0x58]
jmp 0x51f8b3
fld dword [ebp - 0x38]
fcomp dword [0x736698]
fnstsw ax
test ah, 1
jne 0x51fc6e
mov eax, dword [0x80d090]
test eax, eax
je 0x51f997
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x94]
sub eax, ebx
lea edx, [ebp - 0x8c]
sub ecx, ebx
mov dword [ebp + 8], edx
lea edi, [ebp - 0xb8]
lea esi, [ebx + 0x14]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], 4
jmp 0x51f908
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi - 4]
mov dword [eax + esi], edx
mov eax, dword [esi]
mov dword [ecx + esi], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi - 8]
mov dword [edi - 4], ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xa]
and ecx, 0xff
mov edx, dword [esi + 8]
mov dword [ebp - 4], ecx
mov dword [edi], edx
fild dword [ebp - 4]
fmul dword [ebp - 0x1c]
call fcn.0070e470
mov byte [ebp - 0xa], al
mov edx, dword [ebp - 0xb]
and edx, 0xff
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fmul dword [ebp - 0x18]
call fcn.0070e470
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul dword [ebp - 0x14]
call fcn.0070e470
mov byte [ebp - 0xc], al
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add edi, 8
mov dword [eax], ecx
add eax, 0x20
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
add esi, 0x20
dec eax
mov dword [ebp - 0x10], eax
jne 0x51f902
jmp 0x51face
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x51fa0d
lea esi, [ebp - 0x98]
lea edi, [ebp - 0x94]
sub esi, ebx
sub edi, ebx
lea edx, [ebp - 0x89]
lea ecx, [ebp - 0xb8]
lea eax, [ebx + 0x14]
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], 4
jmp 0x51f9d2
mov esi, dword [ebp + 0xc]
mov edi, dword [eax - 4]
add ecx, 8
mov dword [esi + eax], edi
mov edi, dword [ebp + 0x10]
mov esi, dword [eax]
add edx, 0x20
mov dword [edi + eax], esi
mov esi, dword [eax + 4]
mov dword [ecx - 0xc], esi
mov esi, dword [eax + 8]
mov dword [ecx - 8], esi
mov esi, dword [eax - 8]
mov dword [edx - 0x23], esi
mov esi, dword [ebp + 8]
mov byte [edx - 0x20], 0x80
add eax, 0x20
dec esi
mov dword [ebp + 8], esi
jne 0x51f9cf
jmp 0x51face
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x94]
sub eax, ebx
lea edx, [ebp - 0x8c]
sub ecx, ebx
mov dword [ebp + 8], edx
lea edi, [ebp - 0xb8]
lea esi, [ebx + 0x14]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], 4
jmp 0x51fa44
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi - 4]
mov dword [eax + esi], edx
mov eax, dword [esi]
mov dword [ecx + esi], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi - 8]
mov dword [edi - 4], ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xa]
and ecx, 0xff
mov edx, dword [esi + 8]
mov dword [ebp - 4], ecx
mov dword [edi], edx
fild dword [ebp - 4]
fmul dword [ebp - 0x1c]
call fcn.0070e470
mov byte [ebp - 0xa], al
mov edx, dword [ebp - 0xb]
and edx, 0xff
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fmul dword [ebp - 0x18]
call fcn.0070e470
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul dword [ebp - 0x14]
call fcn.0070e470
mov byte [ebp - 0xc], al
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add edi, 8
mov dword [eax], ecx
add eax, 0x20
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
add esi, 0x20
dec eax
mov dword [ebp - 0x10], eax
jne 0x51fa3e
mov al, byte [0x765474]
test al, al
mov eax, dword [0x797c40]
je 0x51fbae
test eax, eax
je 0x51fc3a
mov ecx, dword [0x79cb18]
call fcn.004123c0
mov edi, dword [eax]
mov ecx, 8
lea esi, [ebp - 0x9c]
push 0
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
lea esi, [ebp - 0x7c]
push eax
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 0x24], ecx
mov edi, dword [eax]
add edi, 0x28
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
lea esi, [ebp - 0x5c]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0x4c], ecx
mov edi, dword [eax]
add edi, 0x50
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xac]
lea esi, [ebp - 0x3c]
mov dword [edx + 0x70], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 0x74], ecx
mov edi, dword [eax]
add edi, 0x78
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0x98], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0x9c], ecx
mov edx, dword [ebx + 0x84]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x79cb18]
call fcn.00411fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x51fc3a
mov ecx, dword [0x79cb18]
call fcn.004122f0
mov edi, dword [eax]
mov ecx, 0x20
lea esi, [ebp - 0x9c]
push 0x1000
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
push eax
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 0x1c], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0x3c], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0xac]
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 0x5c], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0x7c], ecx
mov edx, dword [ebx + 0x88]
mov dword [eax + 8], edx
mov ecx, dword [0x79cb18]
call fcn.00411b40
mov ecx, dword [0x79cb18]
call fcn.004122f0
mov edi, dword [eax]
mov ecx, 0x20
lea esi, [ebp - 0x9c]
push 0x800
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x84]
push eax
mov dword [eax + 8], ecx
mov ecx, dword [0x79cb18]
call fcn.00411b40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc