Function at 0x6c849e00
Capabilities:
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 0x6c84a5f2
sub esp, 0x60
mov eax, dword [esp + 0x68]
cmp eax, 2
jl 0x6c84a1cb
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
mov byte [esp + 0x26], dl
lea ebx, [ecx + 1]
mov dword [esp + 0x50], ebx
lea ebp, [eax - 1]
mov dword [esp + 0x2c], ebp
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov byte [esp + 8], dl
call fcn.6c7c38e0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x6c84a18d
mov dword [esp + 0x28], eax
lea ecx, [eax + 2]
mov dword [esp + 0x3c], ecx
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
je 0x6c849f87
cmp bl, 0x27
je 0x6c849f87
cmp bl, 0x60
jne 0x6c849f49
movzx ebx, byte [esp + 0x6c]
test bl, bl
je 0x6c849f32
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a5ec
nop
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xd
call fcn.6c7c38e0
cmp dword [esp + 0xc], 0xffffffff
je 0x6c849eff
lea eax, [0x6c98c5c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov dword [esp + 0x48], edx
mov dword [esp + 8], edx
call fcn.6c8104b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x48]
mov esi, 1
xor edi, edi
jmp 0x6c84a54e
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a544
cmp ecx, 1
jb 0x6c84a538
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov ebp, dword [esp + 0x64]
add ebx, ebp
mov eax, ecx
jmp 0x6c84a4e6
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a533
mov ebp, dword [esp + 0x64]
mov ebx, ebp
jmp 0x6c84a4e6
mov eax, dword [0x6c96b768]
mov ecx, dword [0x6c96b76c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a4e1
nop
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call fcn.6c7c38e0
cmp dword [esp + 0xc], 0xffffffff
je 0x6c849fb4
xor eax, eax
jmp 0x6c849fd6
nop
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xa
call fcn.6c7c38e0
cmp dword [esp + 0xc], 0xffffffff
sete al
test al, al
je 0x6c84a129
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
jne 0x6c84a032
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a4dc
cmp ecx, 1
jb 0x6c84a4d0
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x64]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.6c8358a0
movzx eax, byte [esp + 8]
mov edx, dword [esp + 0x3c]
mov ebx, eax
jmp 0x6c84a0a6
cmp bl, 0x27
jne 0x6c84a0a0
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x6c84a4cb
cmp ecx, 1
jb 0x6c84a4bf
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x64]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.6c834ff0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 2]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x6c84a09c
cmp dword [esp + 8], 0xfffd
je 0x6c84a094
mov ebx, 1
jmp 0x6c84a0a6
cmp eax, 1
setne bl
jmp 0x6c84a0a6
xor ebx, ebx
jmp 0x6c84a0a6
mov edx, dword [esp + 0x3c]
xor ebx, ebx
test bl, bl
je 0x6c84a129
movzx ebx, byte [esp + 0x6c]
test bl, bl
je 0x6c84a0df
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
cmp ecx, edx
ja 0x6c84a4ba
cmp ecx, 1
jb 0x6c84a4ae
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov eax, dword [esp + 0x64]
add ebx, eax
mov ebp, ecx
jmp 0x6c84a0eb
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
mov ecx, edx
mov ebx, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x68]
sub ecx, ebp
add ecx, 0xfffffffe
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
add eax, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x60
ret
movzx eax, byte [esp + 0x6c]
test al, al
jne 0x6c84a138
xor ecx, ecx
xor edx, edx
jmp 0x6c84a179
lea eax, [0x6c98c5c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ecx*2 + 6]
lea ecx, [ecx + ecx*2]
shr edx, 0x1f
lea ecx, [ecx + edx + 6]
sar ecx, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.6c8104b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, eax
movzx eax, byte [esp + 0x6c]
movzx esi, byte [esp + 0x26]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
xor edi, edi
jmp 0x6c84a217
mov eax, dword [0x6c96b768]
mov ecx, dword [0x6c96b76c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
mov ecx, dword [0x6c96b768]
mov edx, dword [0x6c96b76c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x60
ret
mov ebp, ecx
mov ebx, eax
mov ecx, edi
mov edi, esi
movzx eax, byte [esp + 0x6c]
movzx esi, byte [esp + 0x26]
test ebp, ebp
je 0x6c84a39d
xchg esi, eax
cmp byte [ebx], al
xchg esi, eax
je 0x6c84a38f
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
xchg esi, eax
mov byte [esp + 8], al
xchg esi, eax
call fcn.6c8497f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
cmp byte [edx], 0xa
je 0x6c84a351
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x6c84a351
movzx ebx, byte [esp + 0x6c]
test bl, bl
je 0x6c84a333
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov ebp, dword [esp + 0xc]
cmp ebp, 0x80
jl 0x6c84a298
movzx esi, byte [esp + 0x10]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x6c84a2fc
mov esi, dword [esp + 0x40]
inc esi
mov edi, dword [esp + 0x44]
cmp edi, esi
jb 0x6c84a2ab
mov edx, dword [esp + 0x58]
jmp 0x6c84a2f4
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6c98c5c0]
mov dword [esp + 0x10], eax
call fcn.6c810610
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
movzx ebx, byte [esp + 0x6c]
mov ebp, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x30]
xchg ebp, eax
mov byte [esi + edx - 1], al
xchg ebp, eax
jmp 0x6c84a33f
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.6c835410
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
movzx ebx, byte [esp + 0x6c]
jmp 0x6c84a33f
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
movzx ebp, byte [esp + 0x26]
xchg ebp, eax
cmp al, 0x27
xchg ebp, eax
jne 0x6c84a205
jmp 0x6c84a3a9
mov eax, dword [0x6c96b768]
mov ecx, dword [0x6c96b76c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
mov ecx, ebp
mov ebp, esi
mov esi, edi
mov edi, ebx
mov ebx, eax
mov eax, edi
jmp 0x6c84a3a9
mov ecx, ebp
mov ebp, esi
mov esi, edi
mov edi, ebx
mov ebx, eax
mov eax, edi
test ecx, ecx
je 0x6c84a46b
xchg ebp, ebx
cmp byte [eax], bl
xchg ebp, ebx
jne 0x6c84a46b
lea ebp, [ecx - 1]
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add eax, ebp
test bl, bl
jne 0x6c84a415
mov edx, dword [esp + 0x68]
mov ebx, edx
sub ebx, ecx
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x6c84a4a9
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x60
ret
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], eax
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.6c8142b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x60
ret
mov eax, dword [0x6c96b768]
mov ecx, dword [0x6c96b76c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
call fcn.6c82c100
mov eax, 1
xor ecx, ecx
call fcn.6c82c140
call fcn.6c82c100
mov eax, 1
xor ecx, ecx
call fcn.6c82c140
call fcn.6c82c100
mov eax, 1
xor ecx, ecx
call fcn.6c82c140
call fcn.6c82c100
call fcn.6c82c100
mov esi, dword [esp + 0x3c]
cmp edx, esi
jb 0x6c84a52a
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
sub edx, eax
lea eax, [edx - 2]
mov ecx, eax
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [ebp + esi]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x60
ret
mov eax, esi
mov ecx, edx
call fcn.6c82c140
call fcn.6c82c100
mov eax, 1
xor ecx, ecx
call fcn.6c82c140
call fcn.6c82c100
inc esi
mov edx, dword [esp + 0x28]
inc edx
cmp esi, edx
jge 0x6c84a5b6
cmp ebx, esi
jbe 0x6c84a5e3
movzx edx, byte [ecx + esi]
cmp dl, 0xd
je 0x6c84a549
inc edi
cmp ebp, edi
jae 0x6c84a5b0
mov dword [esp + 0x38], esi
mov byte [esp + 0x27], dl
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6c98c5c0]
mov dword [esp + 0x10], eax
call fcn.6c810610
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
mov byte [edi + eax - 1], dl
jmp 0x6c84a549
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.6c8142b0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
jmp 0x6c84a4e6
mov eax, esi
mov ecx, ebx
call fcn.6c82c0e0
call fcn.6c82c100
nop
call fcn.6c82ac40
jmp fcn.6c849e00