Function at 0x6d6b00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x6d7a68]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x15c], edi
jne 0x6d6b2b
mov dword [ebp + 8], 1
shl dword [ebp + 0xc], 0xa
jne 0x6d6b38
mov dword [ebp + 0xc], 0x989680
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [edi + 0x20]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x144], esi
call edx
mov ecx, dword [edi + 0x1c]
push 4
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x138]
push eax
push 0
push 0x3c
mov dword [ebp - 0x138], 0
call fcn.008d5400
mov ebx, dword [ebp - 0x138]
mov eax, dword [edi + 0x28]
push 0xf8
lea ecx, [ebx + esi]
push ecx
mov ecx, dword [eax + 0x1c]
call fcn.006c4df0
test eax, eax
mov dword [ebp - 0x154], eax
je 0x6d7b03
mov ecx, dword [edi + 0x1c]
push 4
lea edx, [ebp - 0x148]
push edx
push 0
add ebx, 0x54
push ebx
mov dword [ebp - 0x148], 0
call fcn.008d5400
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [edx + esi - 1]
push edx
call eax
cmp eax, esi
jne 0x6d7b03
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x18]
push 1
mov dword [ebp - 0x174], ebx
call eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x134], eax
mov eax, dword [edx + 0x14]
push 1
call eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x13c], eax
mov eax, dword [edx + 8]
call eax
test eax, eax
je 0x6d6c5d
cmp ebx, 9
jbe 0x6d6c5d
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 0xc0], 0
je 0x6d6c5d
mov edx, dword [edi + 0x28]
mov edx, dword [edx + 0x20]
mov edx, dword [edx + 0xac]
add eax, esi
cmp edx, eax
je 0x6d6c5d
mov eax, dword [ecx + 0xc0]
mov dword [ebp - 0x178], eax
jmp 0x6d6c67
mov dword [ebp - 0x178], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [edi + 0x28]
push edx
call fcn.006d6550
test eax, eax
mov dword [ebp - 0x19c], eax
je 0x6d7b03
mov ecx, dword [edi + 0x28]
lea esi, [edi + 0x10]
push esi
call fcn.006d57e0
mov ebx, dword [esi]
mov ecx, dword [edi + 0x20]
add ebx, eax
mov dword [edi + 8], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x158], ebx
call edx
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x28]
cmp dword [eax + 0xdc], 0
je 0x6d6db5
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0x7fe01108
call eax
mov ecx, dword [edi + 0x28]
add ecx, 0x94
cmp eax, dword [ebp - 0x144]
jne 0x6d6ce4
mov eax, dword [ecx]
jmp 0x6d6cec
cmp eax, dword [ecx]
jb 0x6d7b03
mov edx, dword [ecx]
sub eax, edx
add edx, eax
add ebx, eax
mov dword [ecx], edx
add dword [esi], eax
cmp word [ebx], 0x5a4d
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x158], ebx
lea eax, [ecx + 0xf8]
jne 0x6d7b03
cmp eax, ecx
jb 0x6d7b03
mov edx, dword [edi + 0x28]
cmp eax, dword [edx + 0x9c]
jae 0x6d7b03
cmp dword [ebx + ecx], 0x4550
lea esi, [ebx + ecx]
mov dword [ebp - 0x154], esi
jne 0x6d7b03
mov word [esi + 0x14], 0xe0
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0x9c]
sub edx, eax
cmp edx, 0x28
mov dword [ebp - 0x170], eax
jb 0x6d6d8e
mov byte [ebx + eax], 0
mov dword [ebx + eax + 0xc], 0x1000
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0x9c]
sub edx, 0x1000
mov dword [ebx + eax + 8], edx
mov dword [ebx + eax + 0x24], 0xe0000060
mov dword [ebp - 0x160], 1
jmp 0x6d6d98
mov dword [ebp - 0x160], 0
push 0x80
lea eax, [esi + 0x78]
push 0
push eax
call fcn.0067e0a0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x134], ecx
jmp 0x6d6dd8
mov ecx, dword [ebp - 0x138]
add ecx, 4
push ecx
mov ecx, dword [edi + 0x1c]
push ebx
push 0
push 0
call fcn.008d5400
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x134]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x6d6ded
cmp eax, 0x1000
ja 0x6d6ded
lea edx, [eax - 1]
test eax, edx
je 0x6d6df4
mov dword [esi + 0x38], 0x1000
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6d6e09
cmp eax, 0x200
ja 0x6d6e09
lea edx, [eax - 1]
test eax, edx
je 0x6d6e10
mov dword [esi + 0x3c], 0x200
mov eax, dword [edi + 0x28]
xor edx, edx
mov dword [ebp - 0x150], edx
mov esi, dword [eax + 0x94]
sub dword [eax + 0xa4], esi
cmp dword [ebp - 0x174], 1
ja 0x6d6e41
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov dword [eax + 0xcc], edx
cmp ecx, edx
mov byte [ebp - 5], 0
je 0x6d71f2
mov eax, dword [edi + 0x28]
cmp ecx, dword [eax + 0xa4]
jae 0x6d71f2
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x164], ecx
add ecx, edx
mov dword [eax + 0xcc], 0
push ecx
mov ecx, dword [edi + 0x28]
call fcn.006c5f20
mov edx, eax
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c0]
xor ecx, ecx
cmp ecx, eax
mov dword [ebp - 0x138], edx
jl 0x6d6ea8
jg 0x6d6ea0
cmp edx, esi
jbe 0x6d6ea8
mov edx, esi
mov dword [ebp - 0x138], esi
add dword [ebp - 0x13c], edx
xor ecx, ecx
cmp ecx, eax
jg 0x6d6ec4
mov eax, dword [ebp - 0x13c]
jl 0x6d6ec0
cmp eax, esi
ja 0x6d6ec4
cmp eax, edx
jae 0x6d6ecc
mov eax, esi
mov dword [ebp - 0x13c], eax
cmp edx, eax
mov dword [ebp - 0x15c], ecx
jae 0x6d71cd
mov eax, dword [ebp - 0x134]
lea ecx, [ebx + eax]
mov eax, 0x14
sub eax, ebx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x168], eax
jmp 0x6d6f0c
mov ebx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x138]
cmp dword [ebp - 0x15c], 0x2000
jae 0x6d71cd
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xa4]
cmp dword [ebp - 0x134], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x140], 0
jae 0x6d71cd
mov ecx, dword [ebp - 0x168]
mov esi, dword [ebp - 0x14c]
add ecx, esi
cmp ecx, dword [eax + 0xa4]
ja 0x6d71cd
mov ecx, dword [edi + 0x1c]
push 0x14
mov eax, esi
push eax
push 0
push edx
call fcn.008d5520
cmp eax, 0x14
jne 0x6d71cd
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebx + ecx + 0xc]
test esi, esi
je 0x6d71cd
mov ecx, dword [edi + 0x28]
cmp esi, dword [ecx + 0xa4]
jae 0x6d71cd
mov edx, dword [ebp - 0x144]
lea eax, [esi + edx]
push eax
mov byte [ebp - 0x130], 0
call fcn.006c5f20
push 0x12b
lea edx, [ebp - 0x130]
xor ecx, ecx
push edx
push ecx
mov ecx, dword [edi + 0x1c]
push eax
call fcn.008d5400
lea eax, [ebp - 0x130]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x6d6fd0
sub eax, ecx
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xa4]
add eax, 1
sub edx, esi
cmp edx, eax
jb 0x6d7000
push eax
lea eax, [ebp - 0x130]
push eax
add esi, ebx
push esi
call fcn.0067cc20
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
mov esi, dword [ecx]
test esi, esi
je 0x6d701c
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xa4]
sub edx, 4
cmp esi, edx
jbe 0x6d7042
mov eax, dword [ebp - 0x134]
mov esi, dword [ebx + eax + 0x10]
test esi, esi
je 0x6d71a2
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xa4]
sub edx, 4
cmp esi, edx
ja 0x6d71a2
mov eax, dword [ebp - 0x144]
lea edx, [esi + eax]
push edx
call fcn.006c5f20
mov ebx, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xa4]
sub ecx, 4
cmp esi, ecx
ja 0x6d70d3
mov ecx, dword [edi + 0x1c]
push 0
push ebx
call fcn.006d1cf0
test eax, eax
je 0x6d70d3
cmp dword [ebp - 0x15c], 0x2000
jae 0x6d70d3
mov edx, dword [ebp - 0x158]
mov dword [esi + edx], eax
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xa4]
sub edx, 4
cmp eax, edx
ja 0x6d70b7
test eax, eax
js 0x6d70b7
cmp eax, dword [ebp - 0x140]
jbe 0x6d70a9
mov dword [ebp - 0x140], eax
cmp eax, dword [ebp - 0x148]
jae 0x6d70b7
mov dword [ebp - 0x148], eax
add dword [ebp - 0x15c], 1
mov eax, ecx
mov ecx, dword [eax + 0xa4]
add esi, 4
sub ecx, 4
add ebx, 4
cmp esi, ecx
jbe 0x6d7063
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0xa4]
sub eax, 4
cmp esi, eax
ja 0x6d70f0
mov ecx, dword [ebp - 0x158]
mov dword [esi + ecx], 0
mov edx, dword [ebp - 0x148]
cmp dword [ebp - 0x140], edx
jb 0x6d71a2
mov eax, dword [ebp - 0x144]
mov ebx, edx
lea ecx, [ebx + eax]
push ecx
mov ecx, dword [edi + 0x28]
call fcn.006c5f20
mov edx, dword [ebp - 0x140]
mov esi, eax
mov eax, dword [ebp - 0x158]
sub edx, ebx
push edx
lea ecx, [ebx + eax]
push ecx
mov ecx, dword [edi + 0x1c]
push 0
push esi
call fcn.008d5520
mov ecx, dword [edi + 0x1c]
push 0x12b
lea edx, [ebp - 0x130]
sub esi, ebx
mov ebx, dword [ebp - 0x140]
push edx
add esi, ebx
push 0
push esi
mov byte [ebp - 0x12e], 0
call fcn.008d5400
lea eax, [ebp - 0x12e]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x6d7167
mov edx, dword [edi + 0x28]
sub eax, ecx
add eax, 3
lea ecx, [eax + ebx]
cmp ecx, dword [edx + 0xa4]
ja 0x6d71a2
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x130]
push eax
add ecx, edx
push ecx
call fcn.0067cc20
add esp, 0xc
mov eax, dword [ebp - 0x138]
mov ecx, 0x14
add dword [ebp - 0x134], ecx
add dword [ebp - 0x14c], ecx
add eax, ecx
cmp eax, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
jb 0x6d6f00
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x154]
sub eax, ecx
mov dword [edx + 0x80], ecx
mov dword [edx + 0x84], eax
jmp 0x6d7892
mov eax, dword [edi + 0x28]
cmp dword [eax + 0xcc], edx
je 0x6d7892
xor ebx, ebx
add dword [eax + 0xcc], 0x14
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x138], ebx
mov dword [eax + 0xc0], ebx
lea esp, [esp]
mov eax, dword [edi + 0x28]
add eax, 0xac
cmp dword [eax + 0x14], ebx
je 0x6d73c9
add dword [eax + 0x14], 0xc
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + ecx*2]
lea ecx, [esi + ecx*4]
cmp edx, ecx
jb 0x6d73d8
mov dword [eax + 0x14], ebx
mov esi, dword [ebp - 0x154]
mov ecx, dword [esi + 0x38]
mov eax, dword [edi + 0x28]
sub ecx, 1
add dword [eax + 0xcc], ecx
mov edx, dword [esi + 0x38]
mov eax, dword [edi + 0x28]
sub edx, 1
not edx
and dword [eax + 0xcc], edx
cmp dword [ebp - 0x138], ebx
je 0x6d787d
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x9c]
mov ecx, dword [eax + 0xcc]
lea ebx, [edx + ecx]
cmp ebx, edx
jb 0x6d787b
add edx, ecx
cmp edx, dword [eax + 0xe8]
ja 0x6d787b
push ecx
lea ecx, [ebp - 0x150]
call fcn.006d5940
xor ebx, ebx
cmp dword [eax], ebx
je 0x6d787d
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xcc]
mov edx, dword [ebp - 0x150]
push ecx
push ebx
push edx
call fcn.0067e0a0
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x138]
lea edx, [ecx + eax + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x134], edx
call fcn.006d6960
mov eax, dword [edi + 0x28]
mov dword [eax + 0xc0], ebx
mov ecx, dword [edi + 0x28]
add ecx, 0xac
call fcn.006f18f0
test eax, eax
je 0x6d780f
nop
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xc0]
mov ecx, dword [edx + 4]
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x6d77f9
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x48]
mov dword [ebp - 0x13c], eax
je 0x6d77f9
mov eax, ebx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x6d7350
sub eax, esi
add eax, 1
lea esi, [ecx + 8]
mov dword [ebp - 0x14c], eax
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x144], eax
mov dword [esi + 0x14], eax
call fcn.006d5b40
test eax, eax
je 0x6d745f
mov eax, dword [esi + 0x14]
mov edx, dword [edi + 0x28]
mov eax, dword [eax]
mov ecx, dword [edx + 0x94]
cmp eax, ecx
jb 0x6d73b9
mov edx, dword [edx + 0x9c]
add edx, ecx
cmp eax, edx
jae 0x6d73b9
sub eax, ecx
add eax, dword [ebp - 0x158]
push eax
push ebx
call fcn.00680882
add esp, 8
test eax, eax
je 0x6d7454
mov ecx, esi
call fcn.006d5b40
test eax, eax
jne 0x6d7381
jmp 0x6d745f
cmp dword [eax + 4], ebx
je 0x6d724f
mov edx, dword [eax + 8]
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx + 0xc0]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x4c]
add eax, 0x48
add edx, edx
add edx, edx
add dword [ecx + 0xcc], edx
xor edx, edx
mov dword [eax + 0x14], ebx
lea esp, [esp]
cmp dword [eax + 0x14], ebx
je 0x6d7423
add dword [eax + 0x14], 8
mov ebx, dword [eax + 8]
mov esi, dword [eax + 4]
mov ecx, dword [eax + 0x14]
lea esi, [ebx + esi*8]
xor ebx, ebx
cmp ecx, esi
jb 0x6d7432
mov dword [eax + 0x14], ebx
jmp 0x6d7220
cmp dword [eax + 4], ebx
je 0x6d7220
mov ecx, dword [eax + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x14]
add edx, 4
cmp dword [ecx], edx
je 0x6d744d
mov ecx, dword [edi + 0x28]
add dword [ecx + 0xcc], 0x18
add dword [ebp - 0x138], 0x14
mov edx, dword [eax + 0x14]
mov edx, dword [edx]
jmp 0x6d7400
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x144], ecx
mov ecx, esi
call fcn.006d5d80
cmp dword [ebp - 0x144], 0
je 0x6d7480
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0x94]
sub dword [ebp - 0x144], eax
jmp 0x6d74ba
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx + 0x9c]
mov edx, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x150]
mov esi, dword [ebp - 0x134]
push edx
add eax, esi
push ebx
push esi
mov dword [ebp - 0x144], eax
call fcn.0067cc20
add esp, 0xc
add esi, dword [ebp - 0x14c]
mov dword [ebp - 0x134], esi
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xc0]
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x13c]
add eax, 0x28
mov ecx, esi
mov dword [ebp - 0x164], eax
call fcn.006cbce0
cmp dword [esi + 0x14], 0
je 0x6d77f9
jmp 0x6d74f0
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax]
mov dword [ecx + 0x18], eax
mov esi, ebx
call fcn.006d5a10
test eax, eax
je 0x6d752f
lea esp, [esp]
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
lea ecx, [esi + 4]
cmp eax, ecx
jne 0x6d752f
mov ecx, edx
mov esi, eax
call fcn.006d5a10
test eax, eax
jne 0x6d7510
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0x18]
mov edx, 4
sub edx, ebx
add esi, edx
mov edx, dword [ebp - 0x134]
push esi
push 0xff
push edx
mov dword [eax + 0x14], ecx
call fcn.0067e0a0
mov ecx, dword [ebp - 0x134]
mov edx, dword [edi + 0x28]
sub ebx, dword [edx + 0x94]
lea eax, [esi + ecx + 4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x148]
mov dword [eax + 0x10], ebx
mov edx, dword [edi + 0x28]
mov edx, dword [edx + 0x9c]
sub edx, dword [ebp - 0x150]
add esp, 0xc
add edx, ecx
test esi, esi
mov ecx, dword [ebp - 0x144]
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x140], esi
je 0x6d77d6
jmp 0x6d75b0
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x14]
mov esi, dword [eax + 4]
mov ecx, dword [ebp - 0x164]
push esi
call fcn.006d5a50
test eax, eax
je 0x6d7783
cmp dword [eax], esi
jne 0x6d7783
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x14], eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], eax
mov esi, eax
je 0x6d7775
mov eax, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x6d7605
sub eax, edx
lea ebx, [eax + 1]
push esi
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x14c], ebx
call fcn.006d5970
test eax, eax
je 0x6d763b
cmp dword [eax], esi
jne 0x6d763b
mov esi, dword [eax + 4]
mov dword [ebp - 0x1ac], eax
jmp 0x6d775f
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x94]
cmp esi, edx
mov dword [ebp - 0x1a0], edx
jb 0x6d770d
mov eax, dword [eax + 0x9c]
add eax, edx
cmp esi, eax
jae 0x6d770d
mov eax, esi
sub eax, edx
add eax, dword [ebp - 0x158]
cmp ebx, 4
mov edx, dword [ebp - 0x168]
mov ecx, ebx
jb 0x6d7694
lea esp, [esp]
mov ebx, dword [edx]
cmp ebx, dword [eax]
jne 0x6d7698
sub ecx, 4
add eax, 4
add edx, 4
cmp ecx, 4
jae 0x6d7680
test ecx, ecx
je 0x6d7701
movzx edi, byte [edx]
movzx ebx, byte [eax]
sub edi, ebx
jne 0x6d76e7
sub ecx, 1
add eax, 1
add edx, 1
test ecx, ecx
je 0x6d76fb
movzx edi, byte [edx]
movzx ebx, byte [eax]
sub edi, ebx
jne 0x6d76e7
sub ecx, 1
add eax, 1
add edx, 1
test ecx, ecx
je 0x6d76fb
movzx edi, byte [edx]
movzx ebx, byte [eax]
sub edi, ebx
jne 0x6d76e7
sub ecx, 1
add eax, 1
add edx, 1
test ecx, ecx
je 0x6d76fb
movzx edi, byte [edx]
movzx ecx, byte [eax]
sub edi, ecx
je 0x6d76fb
test edi, edi
mov edi, dword [ebp - 0x15c]
mov eax, 1
jg 0x6d7703
or eax, 0xffffffff
jmp 0x6d7703
mov edi, dword [ebp - 0x15c]
xor eax, eax
test eax, eax
je 0x6d775f
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 0x9c]
sub esi, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x138]
add esi, edx
mov edx, dword [ebp - 0x16c]
add ebx, 2
push edx
add esi, ebx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.006d2ea0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x168]
push eax
push ecx
push ebx
call fcn.0067cc20
add esp, 0xc
add ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], ebx
mov edx, dword [edi + 0x28]
sub esi, dword [edx + 0x94]
mov eax, dword [ebp - 0x134]
sub esi, 2
mov dword [eax], esi
jmp 0x6d7783
mov ecx, dword [ebp - 0x134]
or esi, 0x80000000
mov dword [ecx], esi
mov eax, dword [ebp - 0x13c]
mov edx, 4
sub dword [ebp - 0x140], edx
cmp dword [eax + 0x14], 0
je 0x6d77b7
add dword [eax + 0x14], 8
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0x14]
lea esi, [ebx + esi*8]
cmp ecx, esi
jb 0x6d77c3
mov dword [eax + 0x14], 0
jmp 0x6d77c3
cmp dword [eax + 4], 0
je 0x6d77c3
mov ecx, dword [eax + 8]
mov dword [eax + 0x14], ecx
add dword [ebp - 0x134], edx
cmp dword [ebp - 0x140], 0
jne 0x6d75b0
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
add dword [ebp - 0x148], 0x14
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x134], edx
jne 0x6d74f0
mov ecx, dword [edi + 0x28]
add ecx, 0xac
call fcn.006f18f0
test eax, eax
jne 0x6d7320
mov ecx, dword [edi + 0x28]
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x150]
mov dword [ecx + 0xcc], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x38]
mov eax, dword [edi + 0x28]
sub edx, 1
add dword [eax + 0xcc], edx
mov edx, dword [ecx + 0x38]
mov eax, dword [edi + 0x28]
sub edx, 1
not edx
and dword [eax + 0xcc], edx
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x9c]
mov eax, dword [ebp - 0x148]
mov dword [ecx + 0x80], edx
sub eax, dword [ebp - 0x150]
add eax, 0x14
mov dword [ecx + 0x84], eax
lea ecx, [ebp - 0x1c0]
call fcn.006d6990
jmp 0x6d7892
xor ebx, ebx
mov eax, dword [edi + 0x28]
mov dword [eax + 0xcc], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov ecx, dword [edi + 0x28]
mov ecx, dword [ecx + 0x9c]
mov esi, dword [ebp - 0x170]
cmp esi, ecx
jb 0x6d78a7
mov esi, ecx
sub ecx, esi
mov eax, 0xcccccccd
mul ecx
shr edx, 5
cmp edx, 0xffff
jbe 0x6d78c0
mov edx, 0xffff
mov eax, dword [ebp - 0x160]
cmp eax, edx
jbe 0x6d78d2
mov eax, edx
mov dword [ebp - 0x160], eax
lea edx, [eax + eax*4]
lea ecx, [esi + edx*8]
mov edx, dword [ebp - 0x154]
cmp dword [edx + 0x38], 0x1000
mov dword [ebp - 0x134], ecx
jb 0x6d78ff
add ecx, 0xfff
and ecx, 0xfffff000
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp - 0x158]
lea ebx, [ecx + esi]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], 0x800
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x198], 0x692ba0
mov dword [ebp - 0x140], ecx
jbe 0x6d79c9
lea esi, [ebx + 0xc]
mov eax, dword [ebp - 0x134]
cmp dword [esi], eax
jae 0x6d7961
mov dword [esi], eax
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0x9c]
cmp dword [esi], eax
jbe 0x6d7970
mov dword [esi], eax
mov ebx, dword [esi]
push ebx
lea ecx, [ebp - 0x198]
call fcn.006d5970
test eax, eax
je 0x6d7986
cmp dword [eax], ebx
je 0x6d7998
push eax
lea ecx, [ebp - 0x198]
call fcn.006d5d00
test eax, eax
je 0x6d79a9
mov dword [eax], ebx
mov ecx, dword [ebp - 0x140]
mov dword [eax], ebx
mov dword [ebp - 0x184], eax
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x140]
add eax, 1
add esi, 0x28
cmp eax, dword [ebp - 0x160]
mov dword [ebp - 0x140], eax
jb 0x6d7955
mov ebx, dword [ebp - 0x16c]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xcc]
add ecx, dword [eax + 0x9c]
xor edx, edx
mov dword [ebp - 0x13c], ecx
test edx, edx
mov esi, dword [ebp - 0x154]
je 0x6d7a92
sub edx, 8
cmp edx, dword [ebp - 0x190]
jae 0x6d7aaa
mov cx, word [ebp - 0x160]
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x19c]
mov word [esi + 6], cx
mov dword [esi + 0x50], edx
mov ecx, dword [edi + 0x28]
sub eax, dword [ecx + 0x94]
xor ebx, ebx
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x178]
cmp eax, ebx
je 0x6d7a4c
cmp dword [ebp - 0x174], 9
jbe 0x6d7a4c
cmp eax, dword [esi + 0xc0]
jne 0x6d7a4c
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x9c]
mov ecx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x18c]
mov dword [edi + 0xc], edx
mov dword [edi + 4], ecx
mov dword [ebp - 0x150], ebx
mov edx, dword [eax + 0xcc]
add edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x190]
cmp eax, ebx
mov dword [edi + 0x14], edx
je 0x6d7acb
cmp esi, ebx
je 0x6d7ac9
push eax
call fcn.008f64c0
add esp, 4
jmp 0x6d7acb
mov eax, dword [ebp - 0x194]
test eax, eax
je 0x6d79fd
mov edx, dword [ebp - 0x190]
lea edx, [edx + eax*8 - 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
mov esi, dword [ebx + eax*8 + 0xc]
lea eax, [ebx + eax*8]
sub ecx, esi
mov dword [eax + 8], ecx
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], ecx
mov ecx, dword [edx]
jmp 0x6d79e0
mov esi, eax
cmp esi, ebx
je 0x6d7ad8
push esi
call fcn.008f64c0
add esp, 4
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x6d7aeb
push eax
call fcn.008f64c0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067de1d
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0067de1d
mov esp, ebp
pop ebp
ret 8