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

Disassembly:
push 0xffffffffffffffff
push 0x5f20d6
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
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 0x5d3b0e
mov ecx, eax
call fcn.005145d0
mov dword [esp + 0x18], eax
jmp 0x5d3b12
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.005145c0
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.005145c0
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 0x5d3b8c
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 0x5d3bb4
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 0x5d3be8
mov ebp, dword [ecx + 4]
mov ebx, dword [edi + 4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x5d3bde
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 0x5d3bfe
mov dword [esp + 0x2c], 0
jmp 0x5d3bfe
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.005d39d0
add esp, 8
test eax, eax
je 0x5d3c30
cmp edi, dword [esp + 0x20]
je 0x5d3f3f
mov ecx, dword [esp + 0x18]
push edi
call fcn.00514800
jmp 0x5d3f3f
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
push edx
lea edi, [ebp + 0xc]
push eax
call fcn.005d34d0
add esp, 8
test eax, eax
je 0x5d3c6f
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5d3f3f
mov ecx, dword [esp + 0x18]
push eax
call fcn.00514800
jmp 0x5d3f3f
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 1
call fcn.005145c0
mov edx, dword [eax + 4]
mov edi, dword [edx + 4]
test edi, edi
je 0x5d3cc2
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
test eax, eax
je 0x5d3cc2
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jne 0x5d3cc2
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 8]
jne 0x5d3cc2
mov eax, dword [ebp]
mov edx, dword [eax]
push 0
mov ecx, ebp
call edx
test eax, eax
je 0x5d3cc2
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.005d3640
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x5d3f0b
mov edx, dword [ebp]
mov eax, dword [edx]
push 0
mov ecx, ebp
call eax
test eax, eax
je 0x5d3f03
mov ecx, ebp
call fcn.0050b3f0
cmp dword [esp + 0x14], 0
jne 0x5d3dcf
fld qword [0x603f78]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5d3e91
cmp dword [esp + 0x28], 0
je 0x5d3dcf
mov esi, dword [esp + 0x2c]
fstp st(0)
test esi, esi
je 0x5d3f03
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.005d34d0
add esp, 8
test eax, eax
je 0x5d3f03
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5d3d87
mov ecx, dword [esp + 0x18]
push eax
call fcn.00514800
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 0x5d3f48
fld qword [0x603f78]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5d3e91
cmp dword [esp + 0x28], 0
je 0x5d3e91
lea edx, [esp + 0x68]
fstp st(0)
push edx
lea eax, [esp + 0x5c]
push eax
push edi
mov ecx, ebp
call fcn.0050abb0
test eax, eax
je 0x5d3f0b
lea ecx, [esp + 0x58]
push ecx
lea ebx, [ebp + 0xc]
mov esi, ebp
call fcn.005d22b0
mov esi, eax
add esp, 4
mov ecx, esi
call fcn.0050b3f0
fcomp qword [0x5f3de8]
fnstsw ax
test ah, 5
jp 0x5d3e78
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.005d22b0
mov edi, eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov eax, dword [esi + 4]
add esp, 8
test eax, eax
je 0x5d3e70
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 0x5d3f0b
test esi, esi
je 0x5d3f0b
push esi
mov dword [esi], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x5d3f0b
fcomp qword [0x603f70]
fnstsw ax
test ah, 0x41
jp 0x5d3f03
lea esi, [ebp + 4]
lea edi, [ebp + 0xc]
push esi
mov ecx, edi
call fcn.0050dba0
fcomp qword [0x5f3e20]
fnstsw ax
test ah, 0x44
jp 0x5d3f03
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 0x5d3ee1
push esi
push edi
mov ecx, eax
call fcn.0050a7c0
mov edi, eax
jmp 0x5d3ee3
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 0x5d3f0b
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x20]
je 0x5d3f22
mov ecx, dword [esp + 0x18]
push eax
call fcn.00514800
test ebp, ebp
je 0x5d3f37
cmp dword [esp + 0x14], 0
je 0x5d3f37
mov ecx, dword [esp + 0x18]
push ebp
call fcn.005145f0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x80], ebx
mov esi, ebp
cmp dword [esp + 0x28], 0
jne 0x5d3b80
mov esi, dword [esp + 0x18]
push ebx
mov ecx, esi
call fcn.00514800
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