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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006f1858
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df088
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x64]
call fcn.00721278
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df188
test al, al
je 0x6d1e89
mov byte [edi + 0x10], 1
mov byte [edi + 0x68], 0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 8], 0
jge 0x6d2368
mov eax, dword [ebp - 0x28]
mov edx, dword [0x700fd4]
call fcn.00405844
test al, al
je 0x6d1fb2
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x40
je 0x6d1ece
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ebx, eax
jmp 0x6d1ee5
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.006cfafc
mov dl, 1
call fcn.00405600
mov ebx, eax
push ebp
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.006d0afc
pop ecx
mov dl, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x6d1f06
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dl, 2
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0x24]
test al, al
je 0x6d2a93
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 1
je 0x6d1f93
mov dl, 1
mov eax, dword [0x6cd29c]
call fcn.00405600
mov dword [ebp - 0x44], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x10], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x18]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov si, 0xffd6
call fcn.004058b4
mov edx, dword [ebp - 0x44]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x44]
call fcn.0043d420
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006f1858
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x38]
inc dword [eax + 0x58]
jmp 0x6d2a93
mov edx, edi
mov eax, dword [ebp - 0x38]
call fcn.006cf9d0
lea eax, [ebp - 0x10]
push eax
push edi
mov edx, dword [ebp + 0xc]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.006cef4c
mov eax, dword [edi + 0xb8]
call fcn.00405630
xor eax, eax
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x10]
add dword [edi + 4], eax
cmp dword [ebp + 0x14], 0
jle 0x6d2014
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x38]
call fcn.006df088
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x64]
call fcn.00721278
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0xc]
call fcn.0070e324
add dword [edi + 8], eax
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x6d2049
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x64]
xor edx, edx
call fcn.00721278
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 0xc]
call fcn.0070e324
add dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [edi + 0x2c], eax
jmp 0x6d2091
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df088
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x64]
call fcn.00721278
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 0xc]
call fcn.0070e324
add dword [edi + 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x20]
call fcn.0070e314
mov dword [edi + 0x28], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
call fcn.0070e314
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x94]
sub edx, eax
mov dword [edi + 0x14], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
add dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x14]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
mov ebx, dword [edi + 0xb4]
test ebx, ebx
je 0x6d2152
mov eax, dword [edi + 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x28]
push eax
lea eax, [edi + 0x14]
push eax
push 1
mov eax, dword [ebp - 0x28]
call fcn.00702e10
test al, al
jne 0x6d2104
mov eax, dword [ebp - 0x28]
call fcn.00702dec
test al, al
jne 0x6d2104
xor eax, eax
jmp 0x6d2106
mov al, 1
push eax
mov eax, dword [ebp - 0x28]
call fcn.00702e18
test al, al
jne 0x6d2123
mov eax, dword [ebp - 0x28]
call fcn.00702dec
test al, al
jne 0x6d2123
xor eax, eax
jmp 0x6d2125
mov al, 1
push eax
mov eax, dword [edi + 0xb8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006d4af0
mov ecx, eax
mov edx, dword [edi + 0x38]
mov eax, ebx
call fcn.00710560
mov dword [edi + 0x34], 0xffffffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
sub dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x40
je 0x6d2189
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ebx, eax
jmp 0x6d21a0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.006cfafc
mov dl, 1
call fcn.00405600
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov si, 0xfffd
call fcn.004058b4
test al, al
jne 0x6d21bf
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov si, 0xffe8
call fcn.004058b4
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x80
setne al
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
movzx eax, byte [edi + 0x54]
push eax
movzx eax, byte [edi + 0x55]
push eax
movzx eax, byte [edi + 0xbe]
push eax
mov edx, dword [edi + 0x14]
mov ecx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0x54]
mov dl, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x6d2215
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dl, 6
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0x24]
test al, al
jne 0x6d2251
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x5c]
mov edx, dword [ebp + 0xc]
call fcn.0070e324
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x60]
mov edx, dword [ebp + 0xc]
call fcn.0070e314
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
jne 0x6d2298
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 0x35]
dec al
je 0x6d2270
dec al
je 0x6d227b
jmp 0x6d22b3
mov eax, dword [edi + 0x14]
sub eax, dword [ebx + 0xc]
add dword [edi + 0x18], eax
jmp 0x6d22b3
mov eax, dword [edi + 0x14]
sub eax, dword [ebx + 0xc]
sar eax, 1
jns 0x6d2288
adc eax, 0
add dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
jge 0x6d22b3
xor eax, eax
mov dword [edi + 0x18], eax
jmp 0x6d22b3
mov eax, dword [edi + 0x14]
sub eax, dword [ebx + 0xc]
sar eax, 1
jns 0x6d22a5
adc eax, 0
add dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
jge 0x6d22b3
xor eax, eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
mov edx, dword [edi + 0x18]
add edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x28]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x5c]
jne 0x6d22e5
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x6d22e1
cmp dword [eax + 8], 0
jg 0x6d22e5
xor eax, eax
jmp 0x6d22e7
mov al, 1
neg al
sbb eax, eax
mov byte [ebx + 0x22], al
mov eax, dword [ebp - 0x38]
mov si, 0xfffd
call fcn.004058b4
test al, al
jne 0x6d2307
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x24], eax
mov edx, dword [edi + 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x9c]
mov ecx, ebx
call fcn.0070ffbc
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 1
je 0x6d2346
mov eax, dword [ebp - 0x38]
add eax, 0x58
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x54]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x28]
mov si, 0xffd5
call fcn.004058b4
inc dword [edi + 0x20]
mov eax, dword [edi + 8]
add eax, dword [ebx + 0x10]
add eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x5c]
add dword [edi + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 8], eax
jmp 0x6d2a93
mov eax, dword [ebp - 0x28]
test byte [eax + 0x10], 8
setne al
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
je 0x6d2392
mov eax, dword [ebp - 0x58]
call fcn.004071dc
mov dword [ebp - 0x14], eax
mov eax, ebx
call fcn.004071dc
mov dword [ebp - 0x30], eax
jmp 0x6d23a7
mov eax, dword [ebp - 0x58]
call fcn.004071dc
mov dword [ebp - 0x14], eax
mov eax, ebx
call fcn.004071dc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
push ebp
mov eax, dword [ebp - 0x28]
call fcn.006d13e0
pop ecx
mov byte [ebp - 0x3e], 1
cmp dword [ebp - 0x18], 0
jne 0x6d259e
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [eax + 0x54]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df188
test al, al
je 0x6d245a
push ebp
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.006d0504
pop ecx
cmp dword [edi + 0x34], 0
jge 0x6d2406
push ebp
mov eax, dword [ebp - 0x28]
call fcn.006d13e0
pop ecx
xor eax, eax
mov dword [edi], eax
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x34], 3
je 0x6d242d
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x34], 2
jne 0x6d2446
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x44]
jge 0x6d2446
mov eax, dword [edi + 0x44]
mov dword [edi + 0xc], eax
mov edx, dword [edi + 8]
add edx, eax
add edx, dword [edi + 4]
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
sub edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [edi + 8]
add eax, dword [edi + 0xc]
add dword [edi + 4], eax
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x24]
mov dword [edi + 8], eax
jmp 0x6d2483
push ebp
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
call fcn.006d0a58
pop ecx
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
mov edx, dword [edi + 4]
sub edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x24]
cmp eax, dword [edi + 8]
jle 0x6d2483
mov dword [edi + 8], eax
mov byte [edi + 0xbc], 0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x34], 3
je 0x6d24a4
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x34], 2
jne 0x6d24aa
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0x48]
jge 0x6d24aa
mov eax, dword [edi + 0x48]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df188
neg al
sbb eax, eax
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.006cfafc
mov ecx, dword [edi + 0x18]
add ecx, dword [edi]
mov dl, 1
call fcn.0070fe24
mov ebx, eax
cmp byte [ebx + 0x20], 0
je 0x6d2514
cmp byte [edi + 0xbd], 0
jne 0x6d2509
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x6d2505
cmp dword [eax + 8], 0
jg 0x6d2509
xor eax, eax
jmp 0x6d250b
mov al, 1
neg al
sbb eax, eax
mov byte [ebx + 0x22], al
jmp 0x6d252d
mov edx, dword [edi + 0x20]
dec edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x9c]
call fcn.00710174
movzx eax, byte [eax + 0x22]
mov byte [ebx + 0x22], al
mov dword [ebx + 0x18], 1
mov eax, dword [ebp - 8]
add dword [edi], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x34]
call fcn.0071c6c4
cmp byte [eax + 0x1d], 0
je 0x6d255f
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006f1858
mov dword [eax + 0x1c], 0xfffffffd
xor eax, eax
mov dword [ebx + 0x1c], eax
cmp byte [ebp - 0x3e], 0
je 0x6d2583
mov eax, dword [ebp - 0x38]
mov si, 0xfffd
call fcn.004058b4
test al, al
jne 0x6d2583
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x24], eax
mov edx, dword [edi + 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x9c]
mov ecx, ebx
call fcn.0070ffbc
inc dword [edi + 0x20]
jmp 0x6d2a93
cmp byte [ebp - 0x3e], 0
je 0x6d25b3
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df188
test al, al
jne 0x6d25b7
xor eax, eax
jmp 0x6d25b9
mov al, 1
mov byte [ebp - 0x3d], al
mov bl, 1
cmp dword [ebp - 0x18], 0
jle 0x6d2a65
test byte [ebp - 0x3d], bl
je 0x6d2641
push ebp
movzx edx, byte [edi + 0x10]
xor dl, 1
mov eax, dword [ebp - 0x28]
call fcn.006d0504
pop ecx
cmp dword [edi + 0x34], 0
jge 0x6d25ee
push ebp
mov eax, dword [ebp - 0x28]
call fcn.006d13e0
pop ecx
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x6d263d
cmp byte [edi + 0x68], 0
jne 0x6d263d
cmp byte [edi + 0x10], 0
jne 0x6d263d
cmp dword [ebp - 0x18], 1
jle 0x6d263d
cmp byte [ebp - 0x29], 0
je 0x6d262c
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x20
jne 0x6d263d
add dword [ebp - 0x14], 2
add dword [ebp - 0x30], 2
dec dword [ebp - 0x18]
jmp 0x6d263d
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x20
jne 0x6d263d
inc dword [ebp - 0x14]
inc dword [ebp - 0x30]
dec dword [ebp - 0x18]
mov byte [edi + 0x68], 0
mov byte [edi + 0xbc], 0
mov eax, dword [edi + 0x14]
sub eax, dword [edi]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x6d265b
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x69], 0
cmp dword [edi + 0x50], 0
jle 0x6d2686
mov eax, dword [edi + 0x50]
cmp eax, dword [edi + 0x4c]
jg 0x6d2686
mov eax, dword [ebp - 0x24]
test byte [eax + 0x40], 1
jne 0x6d2686
cmp byte [edi + 0xb0], 0
je 0x6d2686
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x6d26e8
test bl, bl
jne 0x6d26cc
push ebp
call fcn.006d194c
pop ecx
mov edx, dword [ebp - 0x18]
sub edx, eax
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x18]
setl byte [ebp - 0x69]
cmp dword [edi + 0x50], 0
jle 0x6d26e8
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x6d26e8
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0x18]
setle byte [ebp - 0x69]
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
mov dword [ebp - 0x50], eax
jmp 0x6d26e8
cmp byte [ebp - 0x29], 0
je 0x6d26de
push ebp
call fcn.006d0074
pop ecx
mov dword [ebp - 0x50], eax
jmp 0x6d26e8
push ebp
call fcn.006cfdcc
pop ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x50], 0
jne 0x6d2753
cmp byte [ebp - 0x3d], 0
jne 0x6d2717
cmp byte [ebp - 0x3e], 0
je 0x6d2740
cmp dword [ebp + 0x14], 0
jle 0x6d2740
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x38]
call fcn.006e8230
cmp eax, 0xfffffff5
jne 0x6d2740
cmp byte [ebp - 0x69], 0
jne 0x6d2753
mov dword [ebp - 0x50], 1
mov eax, dword [0x8e10b4]
movzx eax, byte [eax]
and al, byte [ebp - 0x29]
je 0x6d2753
push ebp
mov eax, dword [ebp - 0x50]
call fcn.006cfb70
pop ecx
mov dword [ebp - 0x50], eax
jmp 0x6d2753
xor eax, eax
mov dword [edi], eax
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3d], 1
mov bl, 1
jmp 0x6d2a5b
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x18]
jge 0x6d28ee
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xf8], 0
je 0x6d28ee
cmp byte [ebp - 0x29], 0
je 0x6d279d
mov eax, ebx
xor al, 1
push eax
mov eax, dword [ebp - 0x50]
inc eax
cmp eax, dword [ebp - 0x18]
sete cl
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
call fcn.006fbcc0
mov esi, eax
test esi, esi
je 0x6d27c7
sub esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x14]
jmp 0x6d27c7
mov eax, dword [ebp - 0x50]
inc eax
cmp eax, dword [ebp - 0x18]
jne 0x6d27b7
mov ecx, dword [ebp - 0x50]
mov dl, 0x20
mov eax, dword [ebp - 0x14]
call fcn.006cda7c
mov esi, eax
jmp 0x6d27c7
mov ecx, dword [ebp - 0x50]
inc ecx
mov dl, 0x20
mov eax, dword [ebp - 0x14]
call fcn.006cda7c
mov esi, eax
test esi, esi
jne 0x6d282a
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x6d282a
cmp byte [ebp - 0x69], 0
jne 0x6d282a
mov eax, dword [ebp - 0x50]
inc eax
cmp eax, dword [ebp - 0x18]
jl 0x6d27f5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006df1fc
test al, al
jne 0x6d282a
cmp byte [ebp - 0x29], 0
je 0x6d2815
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [eax + edx*2], 0x20
jne 0x6d282a
mov esi, dword [ebp - 0x50]
add esi, esi
add esi, dword [ebp - 0x14]
inc dword [ebp - 0x50]
jmp 0x6d282a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp byte [eax + edx], 0x20
jne 0x6d282a
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x50]
inc dword [ebp - 0x50]
test esi, esi
je 0x6d2897
cmp byte [ebp - 0x29], 0
je 0x6d2871
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x6d2861
cmp word [esi], 0x20
jne 0x6d2861
cmp esi, dword [ebp - 0x14]
je 0x6d2861
sub esi, dword [ebp - 0x14]
sar esi, 1
jns 0x6d2855
adc esi, 0
mov dword [ebp - 0x50], esi
mov byte [edi + 0x68], 1
jmp 0x6d28ee
sub esi, dword [ebp - 0x14]
sar esi, 1
jns 0x6d286b
adc esi, 0
inc esi
mov dword [ebp - 0x50], esi
jmp 0x6d28ee
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x6d288e
cmp esi, dword [ebp - 0x14]
je 0x6d288e
sub esi, dword [ebp - 0x14]
mov dword [ebp - 0x50], esi
mov byte [edi + 0x68], 1
jmp 0x6d28ee
sub esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x50], esi
jmp 0x6d28ee
cmp byte [ebp - 0x3d], 0
jne 0x6d28e2
cmp byte [ebp - 0x3e], 0
je 0x6d28ba
cmp dword [ebp + 0x14], 0
jle 0x6d28ba
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x38]
call fcn.006e8230
cmp eax, 0xfffffff5
je 0x6d28e2
push ebp
call fcn.006d1898
pop ecx
test al, al
jne 0x6d28d3
cmp byte [ebp - 0x69], 0
je 0x6d28ee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x6d28ee
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3d], 1
mov bl, 1
jmp 0x6d2a5b
cmp byte [ebp - 0x69], 0
je 0x6d28ee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x49], 0
test bl, bl
je 0x6d2964
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xf8], 2
jne 0x6d2964
cmp dword [ebp - 0x50], 0
jle 0x6d2964
mov eax, dword [ebp - 0x24]
test byte [eax + 0x40], 1
jne 0x6d2964
cmp byte [edi + 0xb0], 0
je 0x6d2964
cmp byte [edi + 0x68], 0
je 0x6d2929
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, dword [ebp - 0x50]
je 0x6d2937
cmp byte [edi + 0x68], 0
jne 0x6d2964
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x50]
jne 0x6d2964
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
je 0x6d2950
push ebp
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.006d1994
pop ecx
mov byte [ebp - 0x49], 1
push ebp
mov eax, dword [ebp - 8]
call fcn.006d1520
pop ecx
mov ebx, eax
test bl, bl
je 0x6d2a5b
mov bl, 1
cmp byte [ebp - 0x29], 0
je 0x6d29b3
mov eax, dword [ebp - 0x58]
call fcn.004071dc
mov edx, dword [ebp - 0x14]
sub edx, eax
sar edx, 1
jns 0x6d2980
adc edx, 0
inc edx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
add eax, eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
add eax, eax
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x18], eax
cmp byte [edi + 0x68], 0
je 0x6d29eb
add dword [ebp - 0x14], 2
add dword [ebp - 0x30], 2
dec dword [ebp - 0x18]
jmp 0x6d29eb
mov eax, dword [ebp - 0x58]
call fcn.004071dc
mov edx, dword [ebp - 0x14]
sub edx, eax
inc edx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x18], eax
cmp byte [edi + 0x68], 0
je 0x6d29eb
inc dword [ebp - 0x14]
inc dword [ebp - 0x30]
dec dword [ebp - 0x18]
cmp byte [ebp - 0x3d], 0
jne 0x6d29f7
cmp dword [ebp - 0x50], 0
je 0x6d2a57
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x35], 3
je 0x6d2a3c
cmp byte [ebp - 0x49], 0
jne 0x6d2a2d
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jne 0x6d2a20
mov eax, dword [ebp - 0x24]
test byte [eax + 0x40], 1
jne 0x6d2a20
cmp byte [edi + 0xb0], 0
jne 0x6d2a2d
push ebp
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
call fcn.006d1994
pop ecx
push ebp
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x60]
call fcn.006d1a28
pop ecx
jmp 0x6d2a49
push ebp
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x60]
call fcn.006d1ce0
pop ecx
mov byte [ebp - 0x3d], 1
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3e], 0
jmp 0x6d2a5b
mov byte [ebp - 0x3d], 1
cmp dword [ebp - 0x18], 0
jg 0x6d25c8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x34]
call fcn.0071c6c4
cmp byte [eax + 0x1d], 0
je 0x6d2a93
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
call fcn.006f1858
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x38]
inc dword [eax + 0x58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14