Function at 0x6c816970
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c81704d
sub esp, 0x70
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x6c8169d4
mov edx, dword [esp + 0x80]
mov ebx, edx
shr edx, 2
mov ebp, dword [0x6cb24420]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x18]
nop
nop
inc dword [esi + 0x7c]
mov ebp, dword [ebp + 0x18]
mov esi, dword [ebp + 0x35c]
lea edi, [esi + 1]
mov dword [ebp + 0x35c], edi
and edx, 1
test esi, esi
jne 0x6c8169ee
mov dword [esp + 0x5c], esi
xor ecx, ecx
jmp 0x6c816fd5
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov dword [ebp + 0x35c], esi
mov esi, dword [ebp + 0x7c]
lea edi, [esi - 1]
nop
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [ebp + 0x7c], edi
cmp esi, 1
jne 0x6c816a1f
movzx ebp, byte [ecx + 0x65]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6c816a1f
mov dword [ecx + 8], 0xfffffade
mov ebp, dword [esp + 0x74]
test ebp, ebp
je 0x6c816a89
mov esi, dword [esp + 0x78]
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
ja 0x6c816fc1
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x28]
mov ebx, dword [esi + 0x30]
sub ebx, eax
mov dword [esp + 0x44], ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov ebp, dword [ebp]
sub ecx, eax
mov dword [esp + 0x40], ecx
add edx, ebx
mov dword [esp + 0x68], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.6c816490
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
jmp 0x6c816b3a
movzx eax, byte [esp + 0x84]
test al, al
je 0x6c816aab
lea eax, [0x6cb2435c]
mov dword [esp], eax
call fcn.6c7c3310
mov eax, dword [esp + 4]
test eax, eax
je 0x6c816ac5
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6c816490
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
call fcn.6c7fbc60
lea eax, [0x6c9bf59c]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.6c7fc4d0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.6c7fc360
call fcn.6c7fbe70
call fcn.6c7fbcc0
lea eax, [0x6c9b81ea]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.6c7f9fb0
mov esi, ecx
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp]
mov edi, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.6c816490
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.6c8175b0
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test cl, cl
je 0x6c816d01
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
cmp ebp, ecx
jae 0x6c816b32
mov eax, dword [0x6cb24420]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x35c]
lea edx, [ecx + 1]
mov dword [eax + 0x35c], edx
test ecx, ecx
jne 0x6c816cb4
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x30]
shl ecx, 7
mov edx, dword [0x6cb24420]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x4a4]
mov esi, dword [edx + 0x4a8]
mov edi, ebx
shl ebx, 0x11
xor ebx, edi
mov edi, esi
xor esi, ebx
shr ebx, 7
xor ebx, esi
mov esi, edi
shr edi, 0x10
xor edi, ebx
lea ebx, [eax + ecx + 0x25c]
nop
mov dword [edx + 0x4a4], esi
mov dword [edx + 0x4a8], edi
mov edx, dword [eax + ecx + 0x260]
mov ebp, dword [eax + ecx + 0x264]
mov dword [esp + 0x58], ebp
mov ebp, dword [eax + ecx + 0x25c]
mov eax, dword [eax + ecx + 0x268]
add esi, edi
shr esi, 0x1d
shl esi, 4
mov dword [ebx + esi], ebp
mov dword [ebx + esi + 4], edx
mov edx, dword [esp + 0x58]
mov dword [ebx + esi + 8], edx
mov dword [ebx + esi + 0xc], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x64]
mov dword [ebx + ecx + 0x25c], edx
mov edx, dword [esp + 0x7c]
mov dword [ebx + ecx + 0x260], edx
mov dword [ebx + ecx + 0x264], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + ecx + 0x268], eax
jmp 0x6c816cba
mov ebx, eax
mov eax, dword [esp + 0x38]
dec dword [ebx + 0x35c]
mov ecx, dword [ebx + 0x7c]
lea edx, [ecx - 1]
nop
mov ebp, dword [0x6cb24420]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ebx + 0x7c], edx
cmp ecx, 1
jne 0x6c816ceb
movzx ecx, byte [ebp + 0x65]
test cl, cl
je 0x6c816ceb
mov dword [ebp + 8], 0xfffffade
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x6c], eax
lea eax, [0x6cb2435c]
mov dword [esp], eax
call fcn.6c7c3310
mov eax, dword [esp + 4]
test eax, eax
jne 0x6c816e92
movzx eax, byte [esp + 0x84]
test al, al
je 0x6c816e92
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.6c8165c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
call fcn.6c7fbc60
lea eax, [0x6c9c20be]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.6c7fc4d0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.6c7fc4d0
lea eax, [0x6c9b561e]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.6c7fc4d0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.6c7fc360
lea eax, [0x6c9b6831]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.6c7fc4d0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.6c7fc360
lea eax, [0x6c9b5860]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.6c7fc4d0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.6c7fc550
call fcn.6c7fbe70
call fcn.6c7fbcc0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
ja 0x6c816fba
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x30]
sub ebp, edx
mov dword [esp + 0x44], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
mov edi, dword [esp + 0x74]
mov edi, dword [edi]
sub ecx, edx
mov dword [esp + 0x40], ecx
lea edx, [ebx + ebp]
mov dword [esp + 0x68], edx
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.6c816490
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
jmp 0x6c816f3a
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
call fcn.6c7fbc60
lea eax, [0x6c9b5cca]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.6c7fc4d0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.6c7fc2f0
lea eax, [0x6c9b683b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.6c7fc4d0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.6c7fc360
call fcn.6c7fbe70
call fcn.6c7fbcc0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.6c816490
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.6c8175b0
movzx eax, byte [esp + 0x24]
test al, al
jne 0x6c816eac
lea eax, [0x6c9bf580]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.6c7f9fb0
mov eax, edx
call fcn.6c82c150
call fcn.6c82c150
mov ecx, edi
mov edi, dword [esp + 0x48]
inc edi
mov edx, ecx
mov esi, dword [esp + 0x5c]
mov ecx, edi
cmp ecx, 8
jge 0x6c8169ee
mov dword [esp + 0x48], ecx
mov edi, edx
shl edx, 7
lea edx, [ebp + edx + 0x25c]
shl ecx, 4
lea esi, [edx + ecx + 4]
cmp dword [esi], eax
jne 0x6c816fc6
lea esi, [edx + ecx]
cmp dword [esi], ebx
jne 0x6c816fc6
mov eax, dword [edx + ecx + 8]
mov ecx, dword [edx + ecx + 0xc]
mov dword [ebp + 0x35c], 0
mov edx, dword [ebp + 0x7c]
lea ebx, [edx - 1]
nop
mov esi, dword [0x6cb24420]
mov esi, dword fs:[esi]
mov esi, dword [esi]
mov dword [ebp + 0x7c], ebx
cmp edx, 1
jne 0x6c81703b
movzx edx, byte [esi + 0x65]
test dl, dl
je 0x6c81703b
mov dword [esi + 8], 0xfffffade
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x70
ret
call fcn.6c82ac40
jmp fcn.6c816970