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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x692753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
cmp ecx, esi
je case.0x5c8918.13
mov eax, dword [ebp + 0xc]
cmp eax, esi
je case.0x5c8918.13
cmp ecx, eax
je case.0x5c8918.13
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xd
jne 0x5c875d
push eax
push ecx
call fcn.005c98f0
add esp, 8
jmp 0x5c9323
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
lea edx, [ebp + 8]
push ecx
mov ecx, dword [edi]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
call fcn.005461d0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [edi]
push edx
call fcn.005461d0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x5c8918.13
mov eax, dword [esp + 0x18]
test eax, eax
je case.0x5c8918.13
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x5c8918.13
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x5c8918.13
cmp ebx, 0xfffe
jne 0x5c87dd
mov dword [ebp + 0x10], 0xc
mov dword [ebp + 0x14], 1
mov eax, dword [edi]
xor edx, edx
mov ebx, dword [eax + 0xa4]
mov eax, 1
div dword [ebx + 8]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5c880d
mov eax, dword [ebx + edx*4]
test eax, eax
je 0x5c880d
mov edx, 0x13
cmp dword [eax + 8], edx
je 0x5c880d
mov eax, dword [eax]
test eax, eax
jne 0x5c8802
mov eax, dword [edi]
xor edx, edx
mov ebx, dword [eax + 0xa4]
mov eax, 2
div dword [ebx + 8]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5c8841
mov eax, dword [ebx + edx*4]
test eax, eax
je 0x5c8841
mov edx, 0x28
cmp dword [eax + 8], edx
je 0x5c88ca
mov eax, dword [eax]
test eax, eax
jne 0x5c8832
xor eax, eax
mov ebx, dword [ebp + 0x10]
or edx, 0xffffffff
test eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
je 0x5c88f8
cmp ebx, 0xe
je 0x5c88f8
cmp ebx, 6
je 0x5c88f8
cmp ebx, 0xc
je 0x5c88f8
mov eax, dword [esp + 0x18]
push 3
lea ebx, [edi + 4]
push eax
push ecx
mov ecx, ebx
call fcn.005cbe80
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 3
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.005cbe80
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp ecx, eax
je 0x5c88e7
mov eax, ecx
neg eax
sbb eax, eax
and eax, 2
dec eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
je 0x5c8841
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5c8841
mov eax, 1
jmp 0x5c8843
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
jmp 0x5c8900
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp ebx, 0x67
jg 0x5c91de
je 0x5c91c3
cmp ebx, 0x22
ja case.0x5c8918.13
jmp dword [ebx*4 + 0x5c9360]
mov eax, dword [esp + 0x10]
mov ecx, edx
push eax
call fcn.004a83d0
test eax, eax
je 0x5c8956
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [edi]
call fcn.0053e750
mov edx, dword [esp + 0x18]
mov ecx, dword [edi]
push 1
push edx
mov ebx, eax
call fcn.0053e750
mov esi, eax
sub esi, ebx
jmp 0x5c9325
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
add edi, 8
push eax
push ecx
mov ecx, edi
call fcn.005cce10
mov esi, eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe8], 0
call fcn.005cce10
push 0
push esi
push eax
mov byte [esp + 0xec], 1
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x6c]
mov esi, eax
mov byte [esp + 0xe0], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edx
call fcn.004a83d0
test eax, eax
jne 0x5c9325
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
add edi, 8
push eax
push ecx
mov ecx, edi
call fcn.005ccec0
mov esi, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x8c]
push eax
mov ebx, 2
push ecx
mov ecx, edi
mov dword [esp + 0xec], ebx
call fcn.005ccec0
push 0
push esi
push eax
mov byte [esp + 0xec], 3
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x88]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x84]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, edi
call fcn.005c9820
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
mov ecx, edi
call fcn.005c9820
push eax
push esi
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
mov eax, dword [eax + 0x104]
mov ecx, dword [ecx + 0x104]
push eax
push ecx
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
lea ecx, [eax + 0x114]
call fcn.005a2dd0
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [edx + 0x114]
call fcn.005a2dd0
push eax
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
mov eax, dword [eax + 0x18]
mov ecx, dword [ecx + 0x18]
push 0
push eax
push ecx
call fcn.0040f660
jmp 0x5c9320
mov edx, dword [ebp + 0x1c]
push 0
add eax, 0xac
push edx
add ecx, 0xac
push eax
push ecx
call fcn.005c9840
add esp, 0x10
jmp 0x5c9323
mov ecx, dword [esp + 0x10]
add edi, 4
push ecx
push eax
mov ecx, edi
call fcn.005cb880
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fstp qword [esp + 0x98]
xor esi, esi
push edx
push eax
mov ecx, edi
mov dword [esp + 0xa8], esi
call fcn.005cb880
push 0xa
lea ecx, [esp + 0x9c]
push 1
lea edx, [esp + 0xac]
push ecx
push edx
fstp qword [esp + 0xb4]
mov dword [esp + 0xbc], esi
call fcn.005c9840
add esp, 0x10
jmp 0x5c9323
mov eax, dword [esp + 0x24]
push edx
push ecx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.005c9550
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, edi
call fcn.005c9550
mov eax, dword [ebp + 0x1c]
push 7
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.005c9840
add esp, 0x10
jmp 0x5c9323
mov eax, dword [esp + 0x24]
push edx
push ecx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.005c93f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, edi
call fcn.005c93f0
mov eax, dword [ebp + 0x1c]
push 4
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.005c9840
add esp, 0x10
jmp 0x5c9323
lea eax, [esp + 0x2c]
add edi, 4
push eax
push edx
push ecx
mov ecx, edi
call fcn.005ca9a0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
mov ecx, edi
call fcn.005ca9a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x4c]
cmp ecx, eax
je 0x5c8c9d
fld qword [esp + 0x3c]
fcomp qword [0x69f890]
fnstsw ax
test ah, 0x40
jne 0x5c8c9d
fld qword [esp + 0x4c]
fcomp qword [0x69f890]
fnstsw ax
test ah, 0x40
jne 0x5c8c9d
push ecx
call fcn.005c8010
mov ecx, dword [esp + 0x28]
add esp, 4
push eax
push ecx
call fcn.005c8010
mov edx, dword [esp + 0x58]
add esp, 4
lea ecx, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x54]
push edx
push eax
call fcn.0043c880
mov ecx, eax
call fcn.0043c900
fstp qword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.005c9910
add esp, 0x10
jmp 0x5c9323
push edx
mov edx, dword [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, edi
call fcn.005c94a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.005c94a0
mov edx, dword [ebp + 0x1c]
push 1
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.005c9840
add esp, 0x10
jmp 0x5c9323
mov esi, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
mov ecx, edi
call fcn.005c95c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.005c95c0
push eax
push ebx
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
mov eax, dword [esp + 0x24]
push edx
push ecx
push eax
mov ecx, edi
call fcn.005c9740
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call fcn.005c9740
push eax
push esi
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
mov edx, dword [eax + 0x10c]
mov eax, dword [ecx + 0x10c]
push edx
push eax
call fcn.005c98f0
add esp, 8
jmp 0x5c9323
lea ecx, [esp + 0x74]
add edi, 8
push eax
push ecx
mov ecx, edi
call fcn.005ce070
mov esi, eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
mov ebx, 4
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe8], ebx
call fcn.005ce070
push 1
push esi
push eax
mov byte [esp + 0xec], 5
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x74]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
add eax, 8
push 1
push eax
add ecx, 8
jmp 0x5c931a
add eax, 0x10
push 1
push eax
add ecx, 0x10
jmp 0x5c931a
add eax, 0xc
push 1
push eax
add ecx, 0xc
jmp 0x5c931a
add eax, 0x14
push 1
push eax
add ecx, 0x14
jmp 0x5c931a
lea ecx, [esp + 0x60]
add edi, 8
push eax
push ecx
mov ecx, edi
call fcn.005ce0c0
mov esi, eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x8c]
mov ebx, 8
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe8], ebx
call fcn.005ce0c0
push 1
push esi
push eax
mov byte [esp + 0xec], 9
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x8c]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x60]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
lea ecx, [esp + 0x64]
add edi, 8
push eax
push ecx
mov ecx, edi
call fcn.005ce110
mov esi, eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
mov ebx, 0xa
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe8], ebx
call fcn.005ce110
push 1
push esi
push eax
mov byte [esp + 0xec], 0xb
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x94]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x64]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
mov eax, dword [eax + 0x68]
mov ecx, dword [ecx + 0x68]
push eax
push ecx
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
add edi, 4
push edx
push ecx
mov ecx, edi
call fcn.005c9e90
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
mov esi, eax
call fcn.005c9e90
push eax
push esi
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
add eax, 0x1c
push 0
push eax
add ecx, 0x1c
jmp 0x5c931a
test edx, edx
je 0x5c8f87
mov ecx, edx
call fcn.004a8370
mov esi, eax
jmp 0x5c8f89
xor esi, esi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5c8fa5
call fcn.004a8370
push eax
push esi
call fcn.005c98f0
add esp, 8
jmp 0x5c9323
xor eax, eax
push eax
push esi
call fcn.005c98f0
add esp, 8
jmp 0x5c9323
add edi, 4
push edx
push ecx
mov ecx, edi
call fcn.005ca560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fstp qword [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.005ca560
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005c9910
add esp, 0x10
jmp 0x5c9323
push 0x48
add edi, 4
push edx
push ecx
mov ecx, edi
call fcn.005ca730
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fstp qword [esp + 0x2c]
push 0x48
push eax
push ecx
mov ecx, edi
call fcn.005ca730
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005c9910
add esp, 0x10
jmp 0x5c9323
push 0x48
add edi, 4
push edx
push ecx
mov ecx, edi
call fcn.005cab80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fstp qword [esp + 0x2c]
push 0x48
push eax
push ecx
mov ecx, edi
call fcn.005cab80
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005c9910
add esp, 0x10
jmp 0x5c9323
add edi, 4
push edx
push ecx
mov ecx, edi
call fcn.005c9b90
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.005c9b90
push eax
push esi
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi]
push 0
push edx
push eax
call fcn.0053ef90
test eax, eax
je 0x5c90db
or esi, 0xffffffff
jmp 0x5c9325
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
mov ecx, dword [edi]
push edx
call fcn.0053ef90
test eax, eax
je 0x5c9325
mov esi, 1
jmp 0x5c9325
or eax, 0xffffffff
add edi, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x5c]
push eax
push edx
push ecx
mov ecx, edi
mov dword [esp + 0x38], 0xbff00000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xbff00000
call fcn.005c9da0
test eax, eax
je 0x5c9157
fild dword [esp + 0x5c]
fidiv dword [esp + 0x58]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov ecx, edi
call fcn.005c9da0
test eax, eax
je 0x5c9182
fild dword [esp + 0x4c]
fidiv dword [esp + 0x20]
fstp qword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.005c9910
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x5c9325
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.005c98e0
mov esi, eax
add esp, 8
neg esi
jmp 0x5c9325
mov edx, dword [eax + 0x108]
mov eax, dword [ecx + 0x108]
push edx
push eax
call fcn.005c98e0
add esp, 8
jmp 0x5c9323
cmp ebx, 0x6a
jg 0x5c930f
je 0x5c929a
sub ebx, 0x68
je 0x5c9222
dec ebx
jne case.0x5c8918.13
mov ecx, eax
call fcn.004a7190
mov ecx, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call fcn.004a7190
sub esp, 8
fstp qword [esp]
call fcn.005c9910
add esp, 0x10
jmp 0x5c9323
mov ecx, dword [esp + 0x10]
add edi, 4
push ecx
lea edx, [esp + 0x74]
push eax
push edx
mov ecx, edi
call fcn.005cb8c0
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x6c]
mov ebx, 6
push ecx
push edx
mov ecx, edi
mov dword [esp + 0xec], ebx
call fcn.005cb8c0
push 1
push esi
push eax
mov byte [esp + 0xec], 7
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x68]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x70]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
push 1
push eax
add edi, 8
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call fcn.005cd5d0
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x7c]
mov ebx, 0xc
push ecx
push edx
mov ecx, edi
mov dword [esp + 0xec], ebx
call fcn.005cd5d0
push 0
push esi
push eax
mov byte [esp + 0xec], 0xd
call fcn.005c98c0
add esp, 0xc
lea ecx, [esp + 0x78]
mov esi, eax
mov byte [esp + 0xe0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x5c9325
cmp ebx, 0xffff
jne case.0x5c8918.13
push 0
push eax
push ecx
call fcn.005c98c0
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x5c932e
neg esi
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18