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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, dword [esp + 0x9c]
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 + 0x90]
mov dword [esp + 0x6c], ebx
lea eax, [edi*4]
shl ebx, 1
mov dword [esp + 0x3c], ebx
lea ebx, [eax + ebp]
mov dword [esp + 0x54], ebx
add ebx, eax
mov dword [esp + 0x50], ebx
add ebx, eax
mov dword [esp + 0x4c], ebx
add ebx, eax
add eax, ebx
mov dword [esp + 0x44], eax
mov eax, edi
mov esi, dword [esp + 0xa0]
lea ecx, [edi + 1]
shl eax, 4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x48], ebx
add ecx, edi
lea eax, [eax + esi + 0xc]
lea ebx, [edi*8]
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x5c], eax
push dword [esp + 0x6c]
mov eax, ebx
add eax, dword [esp + 0x98]
push eax
push dword [esp + 0x9c]
push ebp
call fcn.007c2840
mov dword [esp + 0x78], eax
push dword [esp + 0x7c]
add ebx, dword [esp + 0xac]
push ebx
push dword [esp + 0xb0]
mov eax, dword [esp + 0x70]
add eax, 4
mov dword [esp + 0x38], eax
push eax
call fcn.007c2840
mov dword [esp + 0x84], eax
add esp, 0x20
cmp dword [esp + 0x6c], edi
jge 0x7c5664
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x94]
add ecx, dword [ebx + edx*4]
cmp ecx, dword [esp + 0x68]
mov dword [ebp + edx*4], ecx
jae 0x7c5b5a
mov esi, edi
sub esi, dword [esp + 0x6c]
cmp esi, 1
mov dword [esp + 0x68], 1
mov edx, 1
mov dword [esp + 0xc], esi
jle 0x7c55d0
mov eax, dword [esp + 0x6c]
shl eax, 2
add ebx, eax
mov dword [esp + 0x38], ebx
add eax, ebp
mov ebx, esi
mov dword [esp + 0x34], eax
jmp 0x7c5580
cmp ebx, edx
mov dword [esp + 0xc], ebx
jle 0x7c55d0
mov ecx, dword [esp + 0x6c]
lea eax, [edx + ecx]
mov esi, dword [esp + 0x94]
mov ecx, dword [esi + eax*4]
inc ecx
inc edx
test ecx, ecx
mov dword [ebp + eax*4], ecx
je 0x7c5578
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], eax
je 0x7c55c8
mov ecx, edx
jmp 0x7c55bf
mov ebx, dword [esp + 0x6c]
lea edx, [ecx + ebx]
mov esi, dword [esp + 0x94]
mov eax, dword [esi + edx*4]
mov dword [ebp + edx*4], eax
inc ecx
cmp dword [esp + 0xc], ecx
jg 0x7c55a9
lea esi, [esi]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x98]
add edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x54]
cmp edx, dword [esp + 0x64]
mov dword [ebx + eax*4 + 4], edx
jae 0x7c5beb
mov esi, edi
sub esi, eax
cmp esi, 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], esi
jle 0x7c5664
shl eax, 2
add ecx, eax
add eax, ebx
lea edx, [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], esi
add eax, 8
inc ecx
mov ebx, edx
lea esi, [esi]
mov esi, dword [esp + 0x98]
mov edx, dword [esi + ecx*4]
inc edx
mov dword [eax], edx
inc dword [esp + 0x30]
add ebx, 4
inc ecx
add eax, 4
test edx, edx
jne 0x7c5c74
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
cmp edx, esi
mov dword [esp + 0x2c], edx
jg 0x7c5634
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x54]
mov dword [ebx], esi
lea ebx, [edi*4]
push edi
mov eax, ebx
add eax, dword [esp + 0x98]
push eax
push ebp
mov esi, dword [esp + 0x5c]
add esi, 8
push esi
call fcn.007c2840
add eax, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
mov dword [ecx + 4], eax
push edi
add ebx, dword [esp + 0xac]
push ebx
mov ebx, edx
push dword [esp + 0x34]
add ebx, 0xc
push ebx
call fcn.007c2840
add eax, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
add esp, 0x20
cmp dword [esp + 0x74], 0x7f
mov dword [edx + 0xc], eax
jg 0x7c5a70
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push ebx
push esi
push dword [esp + 0xbc]
call fcn.007c47a0
mov eax, dword [ebp + edi*4]
add esp, 0x20
test eax, eax
mov dword [esp + 0x58], 1
jne 0x7c5734
mov ebx, dword [esp + 0x94]
lea ecx, [ebx + edi*4]
mov edx, edi
xor ebx, ebx
jmp 0x7c5725
mov eax, dword [ecx + edx*4]
cmp dword [ebp + edx*4], eax
jne 0x7c5c48
dec edx
jns 0x7c5718
test ebx, ebx
mov dword [esp + 0x58], ebx
js 0x7c5ba7
push edi
mov esi, dword [esp + 0x98]
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
mov dword [ebp + edi*4], edx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
test eax, eax
mov ebx, 1
jne 0x7c578f
mov ebx, dword [esp + 0x98]
lea ecx, [ebx + edi*4]
mov edx, edi
xor ebx, ebx
jmp 0x7c5784
mov eax, dword [ecx + edx*4]
mov esi, dword [esp + 0x1c]
cmp dword [esi + edx*4], eax
jne 0x7c5c54
dec edx
jns 0x7c5774
test ebx, ebx
js 0x7c5bc4
push edi
mov edx, dword [esp + 0x9c]
lea eax, [edx + edi*4]
push eax
push dword [esp + 0x24]
mov esi, dword [esp + 0x54]
add esi, 8
push esi
call fcn.007c2760
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
sub edx, eax
imul ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x74], 0x7f
mov dword [eax + 8], edx
mov dword [esp + 0x58], ebx
jg 0x7c5a50
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push esi
push ebp
push dword [esp + 0x6c]
call fcn.007c47a0
add esp, 0x20
push 1
push dword [esp + 0x70]
mov ebx, dword [esp + 0x48]
shl ebx, 2
mov eax, ebx
add eax, dword [esp + 0x9c]
push eax
push ebp
call fcn.007c3050
mov edx, dword [esp + 0x7c]
mov dword [ebp + edx*4], eax
push 1
push edx
add ebx, dword [esp + 0xb0]
push ebx
push esi
call fcn.007c3050
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x68]
add esp, 0x20
cmp ecx, edi
mov dword [ebx + ecx*4 + 8], eax
jge 0x7c5878
cmp edi, ecx
je 0x7c5878
mov eax, edi
lea edx, [ebp + ecx*4 + 4]
sub eax, ecx
nop
mov dword [edx], 0
add edx, 4
dec eax
jne 0x7c5848
cmp edi, dword [esp + 0x6c]
je 0x7c5878
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + eax*4 + 0xc]
mov eax, edi
sub eax, dword [esp + 0x6c]
mov dword [edx], 0
add edx, 4
dec eax
jne 0x7c586c
lea ebx, [edi*4]
push edi
mov eax, ebx
add eax, dword [esp + 0x98]
push eax
push ebp
push ebp
call fcn.007c2840
mov edx, dword [esp + 0x64]
add dword [edx], eax
push edi
add ebx, dword [esp + 0xac]
push ebx
push esi
push esi
call fcn.007c2840
mov ecx, dword [esp + 0x64]
add esp, 0x20
add dword [ecx + 8], eax
push 1
push dword [esp + 0x78]
push ebp
push ebp
call fcn.007c3050
push 1
push dword [esp + 0x88]
push esi
push esi
call fcn.007c3050
add esp, 0x20
push edi
push dword [esp + 0x98]
push ebp
push ebp
call fcn.007c2840
mov ebx, dword [esp + 0x64]
add dword [ebx], eax
push edi
push dword [esp + 0xac]
push esi
push esi
call fcn.007c2840
mov edx, dword [esp + 0x64]
add esp, 0x20
add dword [edx + 8], eax
cmp dword [esp + 0x74], 0x7f
jg 0x7c5b34
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push esi
push ebp
mov ecx, dword [esp + 0xbc]
lea eax, [ecx + edi*8 + 4]
push eax
call fcn.007c47a0
add esp, 0x20
cmp edi, 0x7f
jg 0x7c5ac8
sub esp, 0xc
push dword [esp + 0x68]
push edi
push dword [esp + 0xac]
push dword [esp + 0xac]
push ebp
call fcn.007c47a0
add esp, 0x20
mov eax, dword [esp + 0x58]
test eax, eax
js 0x7c5af3
push 1
push dword [esp + 0x74]
push dword [esp + 0x58]
mov ebx, edi
mov esi, dword [esp + 0xac]
shl ebx, 4
lea ebx, [ebx + esi + 8]
push ebx
call fcn.007c3050
push dword [esp + 0x80]
push ebx
lea eax, [esi + edi*8 + 4]
push eax
push eax
call fcn.007c2840
add esp, 0x20
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
cmp dword [esp + 0x6c], 0x7f
mov dword [esp + 0x60], ecx
jg 0x7c5a94
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x7c]
mov eax, dword [esp + 0x54]
shl eax, 2
mov edx, eax
add edx, dword [esp + 0xac]
push edx
add eax, dword [esp + 0xac]
push eax
push dword [esp + 0x64]
call fcn.007c47a0
add esp, 0x20
push dword [esp + 0x3c]
push ebp
mov ebx, edi
push dword [esp + 0x50]
shl ebx, 4
add ebx, dword [esp + 0xac]
lea esi, [ebx + 8]
push esi
call fcn.007c2840
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov dword [eax], edx
pop eax
mov eax, dword [esp + 0x48]
lea edx, [ebx + eax*4 + 8]
push edx
push dword [esp + 0x28]
push ecx
push dword [esp + 0x70]
push dword [esp + 0x88]
push edi
push esi
push dword [esp + 0x78]
mov edx, dword [esp + 0xcc]
lea eax, [edx + edi*8 + 4]
push eax
mov edx, dword [esp + 0xd0]
mov eax, ebp
call fcn.007c5024
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push esi
push ebp
push dword [esp + 0x6c]
call fcn.007c5438
jmp 0x7c57ec
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push ebx
push esi
push dword [esp + 0xbc]
call fcn.007c5438
jmp 0x7c56f4
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x7c]
mov eax, dword [esp + 0x54]
shl eax, 2
mov edx, eax
add edx, dword [esp + 0xac]
push edx
add eax, dword [esp + 0xac]
push eax
push dword [esp + 0x64]
call fcn.007c5438
jmp 0x7c59da
sub esp, 0xc
push dword [esp + 0x68]
push edi
push dword [esp + 0xac]
push dword [esp + 0xac]
push ebp
call fcn.007c5438
add esp, 0x20
mov eax, dword [esp + 0x58]
test eax, eax
jns 0x7c5962
push 1
push dword [esp + 0x74]
push dword [esp + 0x58]
mov ebx, edi
mov eax, dword [esp + 0xac]
shl ebx, 4
lea ebx, [ebx + eax + 8]
push ebx
call fcn.007c3050
push dword [esp + 0x80]
push ebx
mov edx, dword [esp + 0xb8]
lea eax, [edx + edi*8 + 4]
push eax
push eax
call fcn.007c2760
jmp 0x7c5995
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x84]
push esi
push ebp
mov ebx, dword [esp + 0xbc]
lea eax, [ebx + edi*8 + 4]
push eax
call fcn.007c5438
jmp 0x7c592b
mov eax, dword [esp + 0x6c]
shl eax, 2
mov ecx, dword [esp + 0x94]
lea edx, [eax + ecx]
add eax, ebp
cmp edx, eax
je 0x7c55c8
mov ebx, edi
sub ebx, dword [esp + 0x6c]
mov ecx, 1
cmp ebx, 1
jmp 0x7c5ba0
mov esi, dword [esp + 0x6c]
lea edx, [ecx + esi]
mov esi, dword [esp + 0x94]
mov eax, dword [esi + edx*4]
inc ecx
mov dword [ebp + edx*4], eax
cmp ebx, ecx
jg 0x7c5b88
jmp 0x7c55c8
push edi
push ebp
mov edx, dword [esp + 0x9c]
lea eax, [edx + edi*4]
push eax
push ebp
call fcn.007c2760
mov edx, eax
add esp, 0x10
jmp 0x7c5750
push edi
push dword [esp + 0x20]
mov esi, dword [esp + 0xa0]
lea eax, [esi + edi*4]
push eax
mov esi, dword [esp + 0x54]
add esi, 8
push esi
call fcn.007c2760
mov edx, eax
add esp, 0x10
jmp 0x7c57b8
mov eax, dword [esp + 0x6c]
shl eax, 2
mov edx, dword [esp + 0x98]
add edx, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
lea edx, [eax + ecx]
lea eax, [edx + 4]
cmp dword [esp + 0x20], eax
je 0x7c5c3b
mov esi, edi
sub esi, dword [esp + 0x6c]
cmp esi, 1
mov ebx, 1
jle 0x7c5c3b
lea ecx, [edx + 8]
mov edx, dword [esp + 0x20]
add edx, 4
lea esi, [esi]
mov eax, dword [edx]
inc ebx
mov dword [ecx], eax
add edx, 4
add ecx, 4
cmp esi, ebx
jg 0x7c5c2c
mov dword [esp + 0x64], 0
jmp 0x7c5664
ja 0x7c5c60
mov ebx, 0xffffffff
jmp 0x7c5728
ja 0x7c5c6a
mov ebx, 0xffffffff
jmp 0x7c5787
mov ebx, 1
jmp 0x7c5728
mov ebx, 1
jmp 0x7c5787
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x7c5c3b
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x2c], esi
jle 0x7c5c3b
mov eax, dword [esp + 0x98]
add ebx, 4
lea edx, [eax + ecx*4]
mov eax, dword [edx]
inc esi
mov dword [ebx], eax
add edx, 4
add ebx, 4
cmp dword [esp + 0x2c], esi
jg 0x7c5c95
jmp 0x7c5c3b