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

Disassembly:
push 0xffffffffffffffff
push 0x70ede6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
or ecx, 0xffffffff
xor esi, esi
mov word [edi + 0x4c], 1
mov word [edi + 0x4e], cx
mov word [edi + 0x50], cx
mov byte [edi + 0x52], 1
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebp, eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
je 0x5c69c6
lea ebx, [ebp + 8]
jmp 0x5c694d
or ecx, 0xffffffff
lea eax, [esp + 0x13]
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004f6840
mov eax, dword [ebx]
mov dword [esp + 0xc8], 0
test eax, eax
jne 0x5c6975
mov eax, 0x71eb04
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.005c6600
test al, al
je 0x5c69a0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
cmp eax, edx
je 0x5c69a0
mov ecx, dword [eax]
cmp ecx, esi
jl 0x5c6999
lea esi, [ecx + 1]
add eax, 4
cmp eax, edx
jne 0x5c6990
lea ecx, [esp + 0x50]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00556c60
mov ecx, dword [esp + 0xd0]
add ebp, 0x68
add ebx, 0x68
cmp ebp, dword [ecx + 8]
jne 0x5c694a
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
call fcn.004f6840
mov al, byte [esp + 0x13]
or ebp, 0xffffffff
mov byte [esp + 0x18], al
mov dword [esp + 0xc8], 1
test esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov eax, esi
jge 0x5c6a08
xor eax, eax
lea ecx, [eax*8]
push ecx
call fcn.00652710
add esp, 4
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
push esi
push eax
call fcn.00630f70
mov eax, dword [esp + 0x1c]
lea esi, [eax + esi*8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0xd0]
mov byte [esp + 0xc8], 2
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp ebx, ecx
je 0x5c6c2e
lea ebp, [ebx + 8]
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x63]
mov dword [esp + 0x4c], 0xffffffff
push ecx
lea ecx, [esp + 0x54]
call fcn.004f6840
mov eax, dword [ebp]
mov byte [esp + 0xc8], 3
test eax, eax
jne 0x5c6a8c
mov eax, 0x71eb04
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.005c6600
test al, al
je 0x5c6b22
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp esi, eax
mov dword [esp + 0xa4], eax
je 0x5c6b0a
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
lea eax, [eax + edx*8]
test ecx, ecx
mov ebp, eax
je 0x5c6ac8
lea ebp, [eax + 4]
cmp dword [ebp], 0xffffffff
jne 0x5c6ccc
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5c6ade
xor edx, edx
jmp 0x5c6af5
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [esp + 0xa4]
add esi, 4
cmp esi, eax
mov dword [ebp], edx
jne 0x5c6ab2
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0x34]
call fcn.005c79c0
inc dword [esp + 0x14]
jmp 0x5c6bfe
mov eax, dword [ebp]
test eax, eax
jne 0x5c6b2e
mov eax, 0x71eb04
push 0xb
push str.base_shadow
push eax
call fcn.00662b70
add esp, 0xc
test eax, eax
jne 0x5c6b90
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ebx
push 1
push eax
lea ecx, [esp + 0x38]
mov word [edi + 0x4c], 2
mov word [edi + 0x50], si
call fcn.00456150
lea ecx, [ebp + 0x10]
inc esi
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 0x84], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [ebp]
test eax, eax
jne 0x5c6b9c
mov eax, 0x71eb04
push 0xa
push str.base_frame
push eax
call fcn.00662b70
add esp, 0xc
test eax, eax
jne 0x5c6bfe
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ebx
push 1
push ecx
lea ecx, [esp + 0x38]
mov word [edi + 0x4c], 2
mov word [edi + 0x4e], si
call fcn.00456150
lea edx, [ebp + 0x10]
inc esi
mov dword [esp + 0x14], esi
mov eax, dword [edx]
mov dword [esp + 0x94], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x98], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 2
call fcn.00556c60
mov edx, dword [esp + 0xd0]
add ebx, 0x68
add ebp, 0x68
mov eax, dword [edx + 8]
mov dword [esp + 0x28], ebp
cmp ebx, eax
jne 0x5c6a62
or ebp, 0xffffffff
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov al, byte [0x85a938]
test al, 1
jne 0x5c6c4e
or al, 1
mov dword [0x85a93c], ebp
mov byte [0x85a938], al
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.00406fc0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp esi, eax
je 0x5c6dfd
mov eax, dword [esi]
mov ecx, dword [0x85a93c]
cmp eax, ecx
je 0x5c6cbc
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + edx*8 + 0x18]
mov ebx, ecx
mov ebp, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 8]
sub edx, ebp
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x48], ebx
jne 0x5c6d13
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x44], ebx
sub ecx, edx
jne 0x5c6d13
mov eax, dword [esp + 0x20]
add esi, 8
cmp esi, eax
jne 0x5c6c72
jmp 0x5c6dfd
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 2
call fcn.00556c60
mov eax, dword [esp + 0x1c]
push eax
call fcn.00652870
xor eax, eax
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc8], 0xffffffff
call fcn.005c78f0
xor al, al
jmp 0x5c7100
lea ecx, [eax + eax*2]
add esi, 8
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
lea ecx, [eax + edx*8 + 0x18]
mov edx, dword [eax + edx*8 + 0x18]
mov dword [esp + 0x74], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x7c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
cmp esi, eax
je 0x5c6dfd
mov eax, dword [esi]
mov ecx, dword [0x85a93c]
cmp eax, ecx
je 0x5c6dee
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
lea eax, [eax + edx*8 + 0x18]
mov ebx, eax
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 8]
sub ecx, edx
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x58], ebx
je 0x5c6dee
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x54], ebx
mov ecx, dword [ecx + 0xc]
sub ecx, edx
je 0x5c6dee
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], edx
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0xb4]
call fcn.00416de0
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x20]
add esi, 8
cmp esi, eax
jne 0x5c6d50
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.00406fc0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
cmp esi, eax
je 0x5c6f64
mov eax, dword [esi + 4]
mov ecx, dword [0x85a93c]
cmp eax, ecx
je 0x5c6e72
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
lea ecx, [ebx + edx*8 + 0x18]
mov ebp, ecx
mov edx, dword [ebp]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x3c]
sub edx, ebp
jne 0x5c6e82
mov edx, dword [ecx]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], ebp
sub ecx, edx
jne 0x5c6e82
mov eax, dword [esp + 0x20]
add esi, 8
cmp esi, eax
jne 0x5c6e22
jmp 0x5c6f64
lea ecx, [eax + eax*2]
add esi, 8
lea edx, [eax + ecx*4]
lea eax, [ebx + edx*8 + 0x18]
mov ecx, dword [ebx + edx*8 + 0x18]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x70], edx
je 0x5c6f64
mov eax, dword [esi + 4]
mov ecx, dword [0x85a93c]
cmp eax, ecx
je 0x5c6f55
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
lea eax, [ebx + edx*8 + 0x18]
mov ebp, eax
mov edx, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 8]
sub ecx, edx
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x58], ebp
je 0x5c6f55
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x54], ebp
mov ecx, dword [ecx + 0xc]
sub ecx, edx
je 0x5c6f55
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], edx
push eax
lea edx, [esp + 0x68]
lea ecx, [esp + 0xb4]
call fcn.00416de0
mov ecx, dword [eax]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x20]
add esi, 8
cmp esi, eax
jne 0x5c6eb8
mov ecx, dword [esp + 0x74]
lea edx, [edi + 0x2c]
mov eax, edx
lea ebp, [edi + 0x3c]
lea esi, [edi + 4]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov eax, ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x58], ebx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x5c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x60]
mov dword [edi + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
or ebx, 0xffffffff
mov dword [esi + 0xc], ecx
cmp word [edi + 0x50], bx
mov dword [esp + 0x24], eax
je 0x5c7083
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x90]
cmp eax, ecx
mov dword [esp + 0x28], eax
jg 0x5c701d
mov dword [esp + 0x28], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
mov ebx, eax
jg 0x5c702f
mov ebx, ecx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jge 0x5c703f
mov ecx, eax
mov eax, dword [ebp]
mov edx, dword [esp + 0x84]
cmp eax, edx
jl 0x5c704f
mov eax, edx
mov edx, dword [esp + 0x28]
push edx
push ebx
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00406fc0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [ebp], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
or ebx, 0xffffffff
cmp word [edi + 0x4e], bx
je 0x5c70b9
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00416de0
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, esi
call fcn.005c79a0
test eax, eax
mov byte [esp + 0xc8], 1
lea ecx, [esp + 0x18]
jne 0x5c70e9
call fcn.00556c60
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc8], ebx
call fcn.005c78f0
xor al, al
jmp 0x5c7100
call fcn.00556c60
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc8], ebx
call fcn.005c78f0
mov al, 1
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4