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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
push edi
push ebx
call fcn.005cb3b0
add esp, 8
test eax, eax
je 0x5cea14
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x80]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push 1
push ebx
call fcn.005ce540
xor ebp, ebp
mov esi, eax
push ebp
push edi
call fcn.005ce540
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x4c]
push 4
push ecx
mov ecx, dword [edi]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ebx]
push ecx
push eax
push edx
push esi
call fcn.005ce5b0
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 8]
mov ecx, 7
mov esi, ebx
lea edi, [esp + 0x84]
push 0x10806
push 1
push eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x80], 0
mov byte [esp + 0x81], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8d], 0
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call fcn.005ca1b0
mov ebx, eax
add esp, 0x40
test ebx, ebx
jne 0x5ceab6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
test eax, eax
mov dword [esp + 0x70], esi
ja 0x5ceb24
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x7c], ecx
mov edx, ecx
mov esi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0055c3a0
push ebp
call fcn.0055c3a0
mov eax, dword [esp + 0x84]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + esi*4 + 0x24]
lea eax, [esp + 0x34]
push 1
push eax
mov edx, dword [ecx]
mov dword [esp + 0x20], 1
mov eax, dword [edx + 4]
push eax
call fcn.005cb740
mov eax, dword [esp + esi*4 + 0x30]
mov edi, dword [esp + 0x88]
add esp, 0xc
mov ecx, dword [eax]
test byte [ecx + 8], 1
je 0x5ceb60
mov edx, dword [edi]
mov dword [esp + 0x34], edx
jmp 0x5ceb68
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x7c]
push 0
push ecx
mov ecx, dword [esp + 0x80]
push edx
lea edx, [esp + 0x60]
push ecx
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp eax, ecx
mov dword [esp + 0x3c], eax
jbe 0x5cebcb
test ebp, ebp
je 0x5ceba9
push ebp
call fcn.0055c3a0
mov eax, dword [esp + 0x40]
add esp, 4
push 0x10806
push 1
push eax
call fcn.005ca1b0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x5cec8f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
test ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
je 0x5cebe5
mov dword [esp + 0x18], 0
mov esi, eax
mov eax, dword [esp + 0x70]
push 0
lea edx, [esp + 0x38]
mov ecx, dword [esp + eax*4 + 0x28]
push ebp
push edx
push 0
lea eax, [esp + 0x60]
push ebx
push eax
call dword [ecx + 4]
add esp, 0x18
cmp esi, eax
jne 0x5cec82
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
dec ecx
cmp eax, ecx
jne 0x5cec26
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x5cec3b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cec3b
lea ecx, [esp + 0x34]
push ecx
call fcn.005cb500
add esp, 4
mov ecx, 7
lea esi, [esp + 0x34]
lea edi, [esp + 0x50]
mov eax, ebx
mov edx, dword [esp + 0x20]
mov ebx, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], edx
inc eax
cmp eax, ecx
mov dword [esp + 0x70], eax
jb 0x5ceb20
jmp 0x5ceae3
test ebp, ebp
je 0x5cec8f
push ebp
call fcn.0055c3a0
add esp, 4
test ebx, ebx
je 0x5cec9c
push ebx
call fcn.0055c3a0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret