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

Disassembly:
mov ecx, dword [0x6da26d58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6d947400
sub esp, 0x7c
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
lea edi, [esp + 0x24]
call fcn.6d92c47b
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x6d946cd7
mov edx, dword [esp + 0x80]
movzx ebx, byte [edx]
cmp bl, 0x4a
jne 0x6d946c9a
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
je 0x6d946c8d
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], edx
xor ebx, ebx
xor esi, esi
jmp 0x6d94731e
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6d9472ca
cmp bl, 0x4d
jne 0x6d946cd1
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
jne 0x6d946cc0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x6d946fb6
mov dword [esp + 0x64], ebp
mov dword [esp + 0x70], edx
xor ebx, ebx
xor esi, esi
jmp 0x6d946ef5
xor ebx, ebx
xor ebp, ebp
jmp 0x6d946d0b
lea edi, [esp + 0x88]
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
xor eax, eax
mov ebp, ebx
mov ebx, edi
cmp ecx, ebx
jle 0x6d946daf
movzx esi, byte [ebx + edx]
cmp esi, 0x80
jge 0x6d946d24
lea edi, [ebx + 1]
jmp 0x6d946d5a
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.6d91f440
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
lea eax, [esi - 0x30]
cmp eax, 9
ja 0x6d946d7c
lea ebx, [ebp + ebp*4]
lea ebx, [esi + ebx*2 - 0x30]
cmp ebx, 0x16d
jle 0x6d946d05
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x6d946dc6
test ebx, ebx
je 0x6d946d84
test ebp, ebp
jge 0x6d946d8e
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x6d946dc6
cmp ecx, ebx
jb 0x6d946ee1
sub ecx, ebx
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ebx, ecx
lea ecx, [edx + ebx]
mov edx, ecx
mov ecx, eax
mov eax, 1
jmp 0x6d946dc6
test ebp, ebp
jge 0x6d946dbd
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x6d946dc6
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x6d946dd8
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebp
jmp 0x6d946e08
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
test ecx, ecx
je 0x6d946e11
cmp byte [edx], 0x2f
je 0x6d946e4b
mov dword [esp + 0x64], ecx
mov dword [esp + 0x34], 0x1c20
lea edi, [esp + 0x88]
lea esi, [esp + 0x24]
call fcn.6d92c95e
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], 1
add esp, 0x7c
ret
lea eax, [ecx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6d946740
movzx eax, byte [esp + 0x14]
test al, al
je 0x6d946eb1
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x88]
lea esi, [esp + 0x24]
call fcn.6d92c95e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov byte [esp + 0xa4], 1
add esp, 0x7c
ret
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov eax, ebx
call fcn.6d92c340
mov ecx, dword [esp + 0x84]
mov esi, ebx
mov ebx, eax
xor eax, eax
cmp ebx, ebp
jge 0x6d946f9f
movzx edi, byte [ebx + edx]
cmp edi, 0x80
jge 0x6d946f0e
lea eax, [ebx + 1]
jmp 0x6d946f45
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.6d91f440
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x44]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x6d946f63
lea ebx, [esi + esi*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 0xc
jle 0x6d946ee8
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x6d946fb6
test ebx, ebx
je 0x6d946f6b
test esi, esi
jg 0x6d946f75
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x6d946fb6
cmp ebx, ebp
ja 0x6d9472c1
mov ebp, dword [esp + 0x84]
sub ebp, ebx
dec ebp
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
add edx, ebx
mov ecx, eax
mov eax, 1
jmp 0x6d946fb6
test esi, esi
jg 0x6d946fad
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x6d946fb6
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x6d946ffa
test ecx, ecx
je 0x6d946ffa
cmp byte [edx], 0x2e
jne 0x6d946ffa
mov dword [esp + 0x4c], esi
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
jne 0x6d946fe8
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6d9470f9
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x20], ecx
xor eax, eax
xor ebx, ebx
jmp 0x6d947034
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x20]
mov eax, esi
mov esi, dword [esp + 0x4c]
cmp eax, ebp
jge 0x6d9470e2
movzx edi, byte [eax + edx]
cmp edi, 0x80
jge 0x6d94704d
lea esi, [eax + 1]
jmp 0x6d947081
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], ebx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.6d91f440
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x64]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x6d9470a3
lea ebx, [ebx + ebx*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 5
jle 0x6d94702a
mov esi, dword [esp + 0x4c]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6d9470f9
test eax, eax
je 0x6d9470ab
test ebx, ebx
jg 0x6d9470b9
mov esi, dword [esp + 0x4c]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6d9470f9
cmp eax, ebp
ja 0x6d9472ba
mov ebp, dword [esp + 0x20]
sub ebp, eax
dec ebp
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add edx, eax
mov esi, dword [esp + 0x4c]
mov eax, 1
jmp 0x6d9470f9
test ebx, ebx
jg 0x6d9470f0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6d9470f9
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x6d947141
test ecx, ecx
je 0x6d947141
cmp byte [edx], 0x2e
jne 0x6d947141
lea ebp, [ecx - 1]
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
cmp ecx, 1
je 0x6d947137
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], ecx
xor ebp, ebp
xor edi, edi
jmp 0x6d9471d0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x6d947171
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
test al, al
je 0x6d947190
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov edx, ebp
jmp 0x6d946e08
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
mov edi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x18]
cmp ebp, eax
jge 0x6d947290
movzx esi, byte [ebp + edx]
cmp esi, 0x80
jge 0x6d9471ea
lea ebx, [ebp + 1]
jmp 0x6d94721e
mov dword [esp + 0x54], ebp
mov dword [esp + 0x3c], edi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.6d91f440
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x3c]
lea ecx, [esi - 0x30]
cmp ecx, 9
ja 0x6d947247
lea ebp, [edi + edi*4]
lea ebp, [esi + ebp*2 - 0x30]
cmp ebp, 6
jle 0x6d9471c0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x6d947171
test ebp, ebp
je 0x6d94724f
test edi, edi
jge 0x6d947264
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x6d947171
cmp ebp, eax
ja 0x6d9472b1
mov eax, dword [esp + 0x1c]
sub eax, ebp
lea ecx, [eax - 1]
mov eax, ecx
neg eax
sar eax, 0x1f
and ebp, eax
add ebp, edx
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov eax, 1
mov edx, edi
jmp 0x6d947171
test edi, edi
jge 0x6d9472a1
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x6d947171
mov eax, 1
xor ecx, ecx
mov edx, edi
xor ebp, ebp
jmp 0x6d947171
mov ecx, eax
mov eax, ebp
call fcn.6d92c340
mov ecx, ebp
call fcn.6d92c340
mov eax, ebx
mov ecx, ebp
call fcn.6d92c340
test cl, cl
je 0x6d9472e3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
mov ecx, ebx
mov edx, ebp
jmp 0x6d946e08
lea edi, [esp + 0x88]
call fcn.6d92c47b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x84]
mov esi, ebx
mov ebx, eax
xor eax, eax
cmp ebx, ebp
jge 0x6d9473d5
movzx edi, byte [ebx + edx]
cmp edi, 0x80
jge 0x6d947337
lea eax, [ebx + 1]
jmp 0x6d94736e
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.6d91f440
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x48]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x6d947394
lea ebx, [esi + esi*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 0x16d
jle 0x6d947311
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6d9472ca
test ebx, ebx
je 0x6d94739c
test esi, esi
jg 0x6d9473ab
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6d9472ca
cmp ebx, ebp
ja 0x6d9473f6
mov eax, dword [esp + 0x84]
sub eax, ebx
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and ebx, eax
lea ebp, [ebx + edx]
xor eax, eax
mov edx, esi
mov ebx, ecx
mov ecx, 1
jmp 0x6d9472ca
test esi, esi
jg 0x6d9473e6
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6d9472ca
mov ecx, 1
mov edx, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x6d9472ca
mov eax, ebx
mov ecx, ebp
call fcn.6d92c340
nop
call fcn.6d92ae50
jmp fcn.6d946c20