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

Disassembly:
push 0xffffffffffffffff
push 0x6221e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [ecx]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
jne 0x5c456c
mov esi, dword [esp + 0x74]
mov ecx, esi
call fcn.005c4990
jmp 0x5c485e
lea ecx, [esp + 0x18]
call fcn.005c4990
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 1
call fcn.005c4990
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 2
call fcn.005c4990
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x6c], 3
cmp ebx, ebp
jne 0x5c45ab
lea ebx, [esp + 0x18]
push ebp
mov ecx, ebx
call fcn.005c6d10
lea esi, [ebx + 0x10]
push ebp
mov ecx, esi
mov dword [ebx + 8], ebp
call fcn.005c6d10
lea edi, [ebx + 0x20]
push ebp
mov ecx, edi
mov dword [esi + 8], ebp
call fcn.005c6d10
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov dword [edi + 8], ebp
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x40], 0x64
mov dl, byte [ecx + 4]
test dl, 0x10
je 0x5c4609
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
mov dword [esp + 0x78], ebp
jmp 0x5c4613
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x30], ebp
mov dword [esp + 0x78], eax
mov ebp, dword [ecx + 8]
mov eax, dword [edi + 0xc]
inc ebp
cmp ebp, eax
jle 0x5c4690
cmp eax, 8
mov dword [esp + 0x80], eax
jge 0x5c463c
mov dword [esp + 0x80], 8
mov eax, dword [esp + 0x80]
cmp ebp, eax
jle 0x5c466f
add eax, eax
cmp ebp, eax
mov dword [esp + 0x80], eax
jle 0x5c4668
lea eax, [ebp + 0xb]
mov ecx, eax
and ecx, 0x80000007
jns 0x5c465f
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
lea edx, [eax*4]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.005f772f
mov ecx, dword [esp + 0x88]
add esp, 8
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov edx, dword [edi + 8]
cmp edx, ebp
jge 0x5c46b8
mov edi, dword [edi + 4]
mov ecx, ebp
sub ecx, edx
or eax, 0xffffffff
shl ecx, 2
lea edi, [edi + edx*4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x28], ebp
mov eax, dword [ebx + 0x24]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jl 0x5c46f0
lea edi, [eax + eax]
cmp edi, 8
jge 0x5c46d6
mov edi, 8
mov edx, dword [esi + 4]
lea ecx, [edi*4]
push ecx
push edx
call fcn.005f772f
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [ecx + eax*4], 0
mov edx, dword [esi + 8]
inc edx
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
mov ebp, dword [ebx + 0x30]
mov ecx, edx
cmp ecx, eax
jl 0x5c4737
lea edi, [eax + eax]
cmp edi, 8
jge 0x5c471d
mov edi, 8
mov eax, dword [esi + 4]
lea edx, [edi*4]
push edx
push eax
call fcn.005f772f
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [edx + ecx*4], ebp
mov edx, dword [esi + 8]
inc edx
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
mov ecx, edx
cmp ecx, eax
jl 0x5c4777
lea edi, [eax + eax]
cmp edi, 8
jge 0x5c475d
mov edi, 8
mov ecx, dword [esi + 4]
lea eax, [edi*4]
push eax
push ecx
call fcn.005f772f
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [eax + edx*4], 0xffffffff
mov edx, dword [esi + 8]
inc edx
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
mov ecx, edx
cmp ecx, eax
jl 0x5c47bb
lea edi, [eax + eax]
cmp edi, 8
jge 0x5c47a1
mov edi, 8
mov edx, dword [esi + 4]
lea ecx, [edi*4]
push ecx
push edx
call fcn.005f772f
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
mov dword [ecx + eax*4], 0xffffffff
mov ebp, dword [esi + 8]
inc ebp
mov dword [esi + 8], ebp
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x5c480a
mov esi, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.005c4880
lea ecx, [esp + 0x38]
call fcn.005ce840
lea ecx, [esp + 0x28]
call fcn.005ce840
lea ecx, [esp + 0x18]
call fcn.005ce840
jmp 0x5c485e
mov edi, dword [esp + 0x78]
mov eax, dword [ebx + 0x30]
cmp eax, edi
je 0x5c483c
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x5c47de
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
cmp ecx, eax
jne 0x5c4830
cmp eax, dword [ebx + 0x30]
je 0x5c47de
mov ecx, dword [ebx + 0x30]
mov eax, ecx
mov dword [ebx + 0x38], ecx
cmp eax, edi
jne 0x5c4815
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x30]
mov dword [edx + 8], eax
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x74]
push ecx
push ebx
mov ecx, esi
call fcn.005c4880
lea ecx, [esp + 0x18]
call fcn.005c3570
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10