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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x78]
lea esi, [ebx + 2]
mov ecx, 0x55555556
mov eax, esi
imul ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, esi
mov edi, dword [esp + 0x14]
sar eax, 0x1f
sub edi, eax
lea edx, [edi + edi]
sub ebx, edx
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x4c], ebx
lea eax, [edi*4]
shl ebx, 1
mov dword [esp + 0x2c], ebx
lea ebx, [eax + ebp]
mov dword [esp + 0x40], ebx
add ebx, eax
mov dword [esp + 0x3c], ebx
add ebx, eax
add eax, ebx
mov dword [esp + 0x34], eax
mov eax, edi
mov esi, dword [esp + 0x7c]
lea ecx, [edi + 1]
shl eax, 4
mov dword [esp + 0x54], ecx
lea eax, [eax + esi + 0xc]
add ecx, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
push dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
lea eax, [edx + edi*8]
push eax
push edx
push ebp
call fcn.007c2840
add esp, 0x10
cmp dword [esp + 0x4c], edi
mov ebx, eax
jge 0x7c5db8
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + esi*4]
add ecx, ebx
cmp ecx, ebx
mov dword [ebp + esi*4], ecx
jae 0x7c606b
mov ecx, edi
sub ecx, esi
cmp ecx, 1
mov ebx, 1
mov edx, 1
mov dword [esp + 0x28], ecx
jle 0x7c5db8
mov eax, esi
shl eax, 2
mov esi, dword [esp + 0x74]
add esi, eax
add eax, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
nop
mov ecx, dword [esp + 0x4c]
lea eax, [edx + ecx]
mov esi, dword [esp + 0x74]
mov ecx, dword [esi + eax*4]
inc ecx
inc edx
test ecx, ecx
mov dword [ebp + eax*4], ecx
jne 0x7c61b3
mov eax, dword [esp + 0xc]
cmp eax, edx
mov dword [esp + 0x28], eax
jg 0x7c5d90
mov eax, dword [esp + 0x40]
mov dword [eax], ebx
push edi
mov edx, dword [esp + 0x78]
lea eax, [edx + edi*4]
push eax
push ebp
mov esi, dword [esp + 0x48]
add esi, 8
push esi
call fcn.007c2840
mov ecx, dword [esp + 0x48]
add esp, 0x10
lea eax, [ebx + eax]
cmp dword [esp + 0x54], 0x3f
mov dword [ecx + 8], eax
jle 0x7c6186
cmp dword [esp + 0x54], 0x7f
jle 0x7c5e50
push dword [esp + 0x44]
push dword [esp + 0x58]
push esi
push dword [esp + 0x88]
call fcn.007c5ca8
mov eax, dword [ebp + edi*4]
add esp, 0x10
test eax, eax
jne 0x7c5e70
mov ebx, dword [esp + 0x74]
lea ecx, [ebx + edi*4]
mov edx, edi
xor ebx, ebx
jmp 0x7c5e31
mov eax, dword [ecx + edx*4]
cmp dword [ebp + edx*4], eax
jne 0x7c619d
dec edx
jns 0x7c5e24
test ebx, ebx
jns 0x7c5e70
push edi
push ebp
mov edx, dword [esp + 0x7c]
lea eax, [edx + edi*4]
push eax
push ebp
call fcn.007c2760
mov edx, eax
add esp, 0x10
jmp 0x7c5e89
push dword [esp + 0x44]
push dword [esp + 0x58]
push esi
push dword [esp + 0x88]
call fcn.007c4d04
mov eax, dword [ebp + edi*4]
add esp, 0x10
test eax, eax
je 0x7c5e14
push edi
mov esi, dword [esp + 0x78]
lea eax, [esi + edi*4]
push eax
push ebp
push ebp
call fcn.007c2760
mov edx, dword [ebp + edi*4]
add esp, 0x10
sub edx, eax
cmp dword [esp + 0x54], 0x3f
mov dword [ebp + edi*4], edx
jle 0x7c6172
cmp dword [esp + 0x54], 0x7f
jg 0x7c60b0
push dword [esp + 0x44]
push dword [esp + 0x58]
push ebp
push dword [esp + 0x48]
call fcn.007c4d04
add esp, 0x10
push 1
push dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
lea eax, [ebx + ecx*4]
push eax
push ebp
call fcn.007c3050
mov esi, dword [esp + 0x5c]
add esp, 0x10
cmp esi, edi
mov dword [ebp + esi*4], eax
jge 0x7c5ef8
cmp edi, esi
je 0x7c5ef8
mov eax, edi
lea edx, [ebp + esi*4 + 4]
sub eax, esi
nop
mov dword [edx], 0
add edx, 4
dec eax
jne 0x7c5eec
push edi
mov edx, dword [esp + 0x78]
lea eax, [edx + edi*4]
push eax
push ebp
push ebp
call fcn.007c2840
mov ecx, dword [esp + 0x50]
add dword [ecx], eax
push 1
push dword [esp + 0x68]
push ebp
push ebp
call fcn.007c3050
add esp, 0x20
push edi
push dword [esp + 0x78]
push ebp
push ebp
call fcn.007c2840
mov ebx, dword [esp + 0x50]
add esp, 0x10
add dword [ebx], eax
cmp dword [esp + 0x54], 0x3f
jle 0x7c6137
cmp dword [esp + 0x54], 0x7f
jg 0x7c6100
push dword [esp + 0x44]
push dword [esp + 0x58]
push ebp
mov edx, dword [esp + 0x88]
lea eax, [edx + edi*8 + 4]
push eax
call fcn.007c4d04
add esp, 0x10
cmp edi, 0x3f
jle 0x7c6126
cmp edi, 0x7f
jg 0x7c60ec
push dword [esp + 0x44]
push edi
push dword [esp + 0x7c]
push ebp
call fcn.007c4d04
add esp, 0x10
push 1
push dword [esp + 0x54]
push dword [esp + 0x44]
mov ebx, edi
mov esi, dword [esp + 0x88]
shl ebx, 4
lea ebx, [ebx + esi + 8]
push ebx
call fcn.007c3050
push dword [esp + 0x60]
push ebx
lea eax, [esi + edi*8 + 4]
push eax
push eax
call fcn.007c2840
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
add esp, 0x20
cmp dword [esp + 0x4c], 0x3f
jle 0x7c6153
cmp dword [esp + 0x4c], 0x7f
jg 0x7c60c8
push dword [esp + 0x44]
push dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x7c]
lea eax, [esi + ebx*4]
push eax
push dword [esp + 0x40]
call fcn.007c4d04
add esp, 0x10
push dword [esp + 0x2c]
push ebp
mov ebx, edi
push dword [esp + 0x3c]
shl ebx, 4
add ebx, dword [esp + 0x88]
lea esi, [ebx + 8]
push esi
call fcn.007c2840
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov dword [eax], edx
pop edx
mov eax, dword [esp + 0x38]
lea edx, [ebx + eax*4 + 8]
push edx
push dword [esp + 0x2c]
push ecx
push 1
push dword [esp + 0x68]
push edi
push esi
push dword [esp + 0x64]
mov edx, dword [esp + 0xa8]
lea eax, [edx + edi*8 + 4]
push eax
mov edx, dword [esp + 0xac]
mov eax, ebp
call fcn.007c5024
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x4c]
shl eax, 2
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx]
add eax, ebp
cmp edx, eax
je 0x7c60a7
mov ebx, edi
sub ebx, dword [esp + 0x4c]
mov ecx, 1
cmp ebx, 1
jmp 0x7c60a5
mov esi, dword [esp + 0x4c]
lea edx, [ecx + esi]
mov esi, dword [esp + 0x74]
mov eax, dword [esi + edx*4]
inc ecx
mov dword [ebp + edx*4], eax
cmp ebx, ecx
jg 0x7c6090
xor ebx, ebx
jmp 0x7c5db8
push dword [esp + 0x44]
push dword [esp + 0x58]
push ebp
push dword [esp + 0x48]
call fcn.007c5ca8
jmp 0x7c5eb5
push dword [esp + 0x44]
push dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + edx*4]
push eax
push dword [esp + 0x40]
call fcn.007c5ca8
jmp 0x7c5ffa
push dword [esp + 0x44]
push edi
push dword [esp + 0x7c]
push ebp
call fcn.007c5ca8
jmp 0x7c5f87
push dword [esp + 0x44]
push dword [esp + 0x58]
push ebp
mov ecx, dword [esp + 0x88]
lea eax, [ecx + edi*8 + 4]
push eax
call fcn.007c5ca8
add esp, 0x10
cmp edi, 0x3f
jg 0x7c5f6f
push ebx
push edi
push dword [esp + 0x7c]
push ebp
call fcn.007c9690
jmp 0x7c5f87
push esi
push dword [esp + 0x58]
push ebp
mov esi, dword [esp + 0x88]
lea eax, [esi + edi*8 + 4]
push eax
call fcn.007c9690
jmp 0x7c5f63
push ecx
push dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + edx*4]
push eax
push dword [esp + 0x40]
call fcn.007c9690
jmp 0x7c5ffa
push eax
push dword [esp + 0x58]
push ebp
push dword [esp + 0x48]
call fcn.007c9690
jmp 0x7c5eb5
push eax
push dword [esp + 0x58]
push esi
push dword [esp + 0x88]
call fcn.007c9690
jmp 0x7c5e09
ja 0x7c61a9
mov ebx, 0xffffffff
jmp 0x7c5e34
mov ebx, 1
jmp 0x7c5e34
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
je 0x7c60a7
mov ecx, edx
jmp 0x7c61d8
mov ebx, dword [esp + 0x4c]
lea edx, [ecx + ebx]
mov esi, dword [esp + 0x74]
mov eax, dword [esi + edx*4]
mov dword [ebp + edx*4], eax
inc ecx
cmp dword [esp + 0x28], ecx
jg 0x7c61c5
xor ebx, ebx
jmp 0x7c5db8