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

Disassembly:
push 0xffffffffffffffff
push 0x5ec726
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x78], ecx
cmp eax, ecx
je 0x5ce5ce
mov ecx, eax
call fcn.00510a70
mov dword [esp + 0x18], eax
jmp 0x5ce5d2
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x2c], 1
call fcn.00510a60
mov edx, dword [esp + 0x80]
mov edi, dword [edx]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x44]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov dword [esp + 0x38], ebp
mov esi, ebp
call fcn.00510a60
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
jmp 0x5ce64c
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov edi, dword [edi]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], edi
test eax, eax
je 0x5ce674
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
test ecx, ecx
je 0x5ce6a8
mov ebp, dword [ecx + 4]
mov ebx, dword [edi + 4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x5ce69e
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jmp 0x5ce6be
mov dword [esp + 0x2c], 0
jmp 0x5ce6be
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0
mov ebx, ecx
mov edi, dword [esp + 0x80]
push ebx
push edi
mov eax, ebp
mov ecx, esi
call fcn.005ce490
add esp, 8
test eax, eax
je 0x5ce6f0
cmp edi, dword [esp + 0x20]
je 0x5ce9ff
mov ecx, dword [esp + 0x18]
push edi
call fcn.00510ca0
jmp 0x5ce9ff
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
push edx
lea edi, [ebp + 0xc]
push eax
call fcn.005cdf90
add esp, 8
test eax, eax
je 0x5ce72f
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5ce9ff
mov ecx, dword [esp + 0x18]
push eax
call fcn.00510ca0
jmp 0x5ce9ff
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 1
call fcn.00510a60
mov edx, dword [eax + 4]
mov edi, dword [edx + 4]
test edi, edi
je 0x5ce782
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
test eax, eax
je 0x5ce782
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jne 0x5ce782
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 8]
jne 0x5ce782
mov eax, dword [ebp]
mov edx, dword [eax]
push 0
mov ecx, ebp
call edx
test eax, eax
je 0x5ce782
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push esi
push ebx
push eax
mov ecx, ebp
call fcn.005ce100
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x5ce9cb
mov edx, dword [ebp]
mov eax, dword [edx]
push 0
mov ecx, ebp
call eax
test eax, eax
je 0x5ce9c3
mov ecx, ebp
call fcn.00508a80
cmp dword [esp + 0x14], 0
jne 0x5ce88f
fld qword [0x5fef60]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5ce951
cmp dword [esp + 0x28], 0
je 0x5ce88f
mov esi, dword [esp + 0x2c]
fstp st(0)
test esi, esi
je 0x5ce9c3
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x30]
push ecx
lea edi, [esi + 0xc]
push edx
call fcn.005cdf90
add esp, 8
test eax, eax
je 0x5ce9c3
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5ce847
mov ecx, dword [esp + 0x18]
push eax
call fcn.00510ca0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ecx
mov dword [ebp], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ebx, dword [esp + 0x20]
add esp, 4
jmp 0x5cea08
fld qword [0x5fef60]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5ce951
cmp dword [esp + 0x28], 0
je 0x5ce951
lea edx, [esp + 0x68]
fstp st(0)
push edx
lea eax, [esp + 0x5c]
push eax
push edi
mov ecx, ebp
call fcn.00508280
test eax, eax
je 0x5ce9cb
lea ecx, [esp + 0x58]
push ecx
lea ebx, [ebp + 0xc]
mov esi, ebp
call fcn.005ccd70
mov esi, eax
add esp, 4
mov ecx, esi
call fcn.00508a80
fcomp qword [0x5eede0]
fnstsw ax
test ah, 5
jp 0x5ce938
push ebp
mov dword [ebp], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
lea edx, [edi + 4]
mov ebp, esi
push edx
lea ebx, [esp + 0x60]
mov esi, edi
call fcn.005ccd70
mov edi, eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov eax, dword [esi + 4]
add esp, 8
test eax, eax
je 0x5ce930
push eax
mov dword [eax], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], edi
jmp 0x5ce9cb
test esi, esi
je 0x5ce9cb
push esi
mov dword [esi], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x5ce9cb
fcomp qword [0x5fef58]
fnstsw ax
test ah, 0x41
jp 0x5ce9c3
lea esi, [ebp + 4]
lea edi, [ebp + 0xc]
push esi
mov ecx, edi
call fcn.0050b0e0
fcomp qword [0x5eee18]
fnstsw ax
test ah, 0x44
jp 0x5ce9c3
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, 1
mov dword [esp + 0x78], ebx
test eax, eax
je 0x5ce9a1
push esi
push edi
mov ecx, eax
call fcn.00507e90
mov edi, eax
jmp 0x5ce9a3
xor edi, edi
push ebp
mov dword [esp + 0x7c], 0xffffffff
mov dword [ebp], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, edi
mov dword [esp + 0x14], ebx
jmp 0x5ce9cb
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5ce9e2
mov ecx, dword [esp + 0x18]
push eax
call fcn.00510ca0
test ebp, ebp
je 0x5ce9f7
cmp dword [esp + 0x14], 0
je 0x5ce9f7
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00510a90
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x80], ebx
mov esi, ebp
cmp dword [esp + 0x28], 0
jne 0x5ce640
mov esi, dword [esp + 0x18]
push ebx
mov ecx, esi
call fcn.00510ca0
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret