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

Disassembly:
sub esp, 0x2dc
push ebx
mov ebx, dword [esp + 0x2f4]
push ebp
mov ebp, ecx
mov eax, dword [ebx + 0x448]
push esi
mov dword [ebp + 0x54], eax
mov ecx, dword [ebx + 0x444]
xor eax, eax
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov edx, dword [ebx + 4]
or esi, 0xffffffff
mov dword [ebp + 0x68], edx
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0x70], edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x88], esi
mov edx, dword [ebx + 0x440]
mov ecx, 1
mov dword [ebp + 0x8c], edx
mov dword [ebp + 0x90], 0x3e9
mov dword [ebp + 0x94], ecx
mov edx, dword [ebx]
mov dword [ebp + 0x98], edx
mov edx, dword [esp + 0x2f8]
mov dword [ebp + 0x9c], edx
mov edx, dword [ebx + 0x14]
and edx, ecx
push edi
mov dword [ebp + 0xa4], edx
mov edx, dword [ebx + 0x14]
and edx, 2
mov dword [ebp + 0xa8], edx
mov edx, dword [ebx + 0x14]
and edx, 4
mov dword [ebp + 0xac], edx
mov dword [ebp + 0xb0], eax
mov edx, dword [ebx + 0x43c]
mov dword [ebp + 0xb4], edx
mov edx, dword [esp + 0x2f0]
mov dword [ebp + 0xb8], edx
mov edx, dword [ebx + 0x18]
mov dword [ebp + 0xbc], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebp + 0xc0], edx
mov dword [ebp + 0xd4], eax
mov dword [ebp + 0xd8], eax
mov dword [ebp + 0x2e4], eax
mov dword [ebp + 0x2e8], eax
mov edx, dword [ebx + 0x44c]
mov dword [ebp + 0x2ec], edx
mov edx, dword [ebx + 0x450]
mov dword [ebp + 0x2f0], edx
mov dword [ebp + 0x2f4], eax
mov dword [ebp], 0x6c9a84
mov edx, dword [ebp + 0xa8]
cmp edx, eax
je 0x6bcc3d
mov dword [ebp + 0xa4], ecx
mov eax, dword [ebp + 0x2f0]
cmp eax, esi
jne 0x6bcc3d
push 5
call dword [0x6c71f4]
mov dword [ebp + 0x2f0], eax
mov eax, dword [ebp + 0x2f0]
cmp eax, esi
je 0x6bcc54
push eax
call dword [0x6c7000]
mov dword [ebp + 0x2f4], eax
mov edi, dword [0x6c71f8]
call edi
mov esi, eax
and esi, 0xffff
mov dword [esp + 0x38], esi
call edi
mov edi, eax
push 4
shr edi, 0x10
push esi
push 0x26
mov dword [esp + 0x68], edi
call dword [0x6c7078]
push 8
push edi
push 0xc
mov dword [ebp + 0x78], eax
call dword [0x6c7078]
push 4
push esi
push 0xd
mov dword [ebp + 0x80], eax
call dword [0x6c7078]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x6bccce
push 4
push esi
push 6
call dword [0x6c7078]
mov ecx, dword [ebp + 0x78]
push 8
add ecx, eax
push edi
push 1
mov dword [ebp + 0x78], ecx
call dword [0x6c7078]
add dword [ebp + 0x80], eax
push 8
push edi
push 0xa
call dword [0x6c7078]
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2fc]
and eax, 0xf00
cmp eax, 0x300
ja 0x6bcd28
je 0x6bcd1f
test eax, eax
je 0x6bcd36
cmp eax, 0x100
je 0x6bcd16
cmp eax, 0x200
jne 0x6bcd36
mov dword [ebp + 0x64], 3
jmp 0x6bcd4f
mov dword [ebp + 0x64], 2
jmp 0x6bcd4f
mov dword [ebp + 0x64], 4
jmp 0x6bcd4f
cmp eax, 0x400
je 0x6bcd48
cmp eax, 0x500
je 0x6bcd3f
mov dword [ebp + 0x64], 1
jmp 0x6bcd4f
mov dword [ebp + 0x64], 6
jmp 0x6bcd4f
mov dword [ebp + 0x64], 5
lea edx, [ebp + 0x1e0]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x338]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10000
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [ebp + 0x30a]
rep stosd dword es:[edi], eax
call fcn.006bfd63
add esp, 4
mov dword [ebp + 0xd4], eax
test eax, eax
je 0x6bcdaa
mov byte [eax], 0
mov edi, dword [ebp + 0xd4]
mov ecx, 0x4000
xor eax, eax
push 0x10000
rep stosd dword es:[edi], eax
call fcn.006bfd63
add esp, 4
mov dword [ebp + 0xd8], eax
test eax, eax
je 0x6bcdd3
mov byte [eax], 0
mov edi, dword [ebp + 0xd8]
mov ecx, 0x4000
xor eax, eax
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 0xbc]
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x6bcdfd
push esi
call dword [0x6c713c]
mov esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x2f4]
mov edi, dword [0x6c71fc]
test eax, eax
je 0x6bce56
mov ecx, eax
push 0xffff
shr ecx, 0x10
jne 0x6bce39
mov edx, dword [ebp + 0xd4]
and eax, 0xffff
push edx
push eax
push esi
call edi
test eax, eax
jne 0x6bce49
mov eax, dword [ebp + 0xd4]
mov byte [eax], 0
jmp 0x6bce49
mov ecx, dword [ebp + 0xd4]
push eax
push ecx
call fcn.006bfcc9
add esp, 0xc
mov edx, dword [ebp + 0xd4]
mov byte [edx + 0xffff], 0
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x6bcea9
mov ecx, eax
push 0xffff
shr ecx, 0x10
jne 0x6bce8c
mov edx, dword [ebp + 0xd8]
and eax, 0xffff
push edx
push eax
push esi
call edi
test eax, eax
jne 0x6bce9c
mov eax, dword [ebp + 0xd8]
mov byte [eax], 0
jmp 0x6bce9c
mov ecx, dword [ebp + 0xd8]
push eax
push ecx
call fcn.006bfcc9
add esp, 0xc
mov edx, dword [ebp + 0xd8]
mov byte [edx + 0xffff], 0
lea esi, [ebp + 0xdc]
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x6bcedc
push 0x103
push esi
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x6c71fc]
test eax, eax
jne 0x6bcedc
mov byte [esi], al
cmp byte [esi], 0
jne 0x6bcf00
mov cl, byte [ebx + 0x12c]
lea eax, [ebx + 0x12c]
test cl, cl
je 0x6bcf00
push 0x103
push eax
push esi
call fcn.006bfcc9
add esp, 0xc
lea esi, [ebp + 0x86c]
mov ecx, 0x19
xor eax, eax
mov edi, esi
mov byte [ebp + 0x1df], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x230]
test eax, eax
je 0x6bcf37
mov ecx, dword [esp + 0x1c]
push 0x63
push esi
push eax
push ecx
call dword [0x6c71fc]
test eax, eax
jne 0x6bcf37
mov byte [esi], al
cmp byte [esi], 0
jne 0x6bcf58
mov cl, byte [ebx + 0x234]
lea eax, [ebx + 0x234]
test cl, cl
je 0x6bcf58
push 0x63
push eax
push esi
call fcn.006bfcc9
add esp, 0xc
mov ecx, ebp
mov byte [ebp + 0x8cf], 0
call fcn.006be1f0
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x6bcf80
lea edx, [ebx + 0x458]
mov ecx, ebp
push edx
call fcn.006bde10
jmp 0x6bcf99
test dword [esp + 0x2fc], 0x20000000
jne 0x6bcf99
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.006be260
push 0
push 0
push 0
push 0x6cc4c8
call dword [0x6c7020]
lea ecx, [esp + 0x198]
push 0
push ecx
mov esi, eax
push 0x154
push 0x29
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1a8], 0x154
call dword [0x6c7200]
lea edx, [esp + 0x2b0]
push edx
call dword [0x6c7004]
push eax
push esi
mov dword [ebp + 0x2e8], eax
call dword [0x6c7008]
mov dword [esp + 0x60], eax
lea eax, [ebp + 0x370]
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x3bc]
mov dword [esp + 0x20], 0x13
lea eax, [esp + 0x3c]
mov edi, esi
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push esi
push ecx
call dword [0x6c700c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea eax, [edx + 0x14]
cmp eax, ecx
jg 0x6bd039
mov eax, ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x6bd043
add eax, dword [ebp + 0x7c]
mov ecx, dword [esp + 0x18]
add esi, 0x64
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jne 0x6bd00a
mov esi, dword [0x6c7204]
push 0
call esi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp + 0xa8]
sar edi, 1
add edi, 0x50
test eax, eax
je 0x6bd08a
push 0
call esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, 0xa
mov eax, dword [ebp + 0xac]
test eax, eax
je 0x6bd0aa
push 0
call esi
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, dword [esp + 0x2fc]
and eax, 0xf0
mov dword [esp + 0x18], eax
je 0x6bd0c9
push 0xb
call esi
mov ecx, 0xfffffff0
sub ecx, eax
add edi, ecx
push edi
push edi
mov edi, dword [fcn.006c7208]
lea esi, [ebp + 0xc4]
push 0
push 0
push esi
call edi
mov edx, dword [ebp + 0xd4]
mov eax, dword [esp + 0x1c]
push 0xc50
push esi
push 0xffffffffffffffff
push edx
push eax
call dword [0x6c720c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
sub eax, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x20], eax
push ecx
push 2
push 0x6cc4c4
push edx
call dword [0x6c700c]
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xcc]
mov ecx, eax
mov dword [esi], 0x10
neg ecx
sbb ecx, ecx
add edx, 0x1c
and ecx, 0x10
mov dword [ebp + 0xcc], edx
add ecx, 0x10
neg eax
sbb eax, eax
mov dword [ebp + 0xc8], ecx
mov ecx, dword [ebp + 0xd0]
and eax, 0x20
add eax, 0x1d
add ecx, eax
mov dword [ebp + 0xd0], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x28]
sub edx, eax
mov eax, dword [esi + 8]
add edx, 0x10
push edx
mov edx, dword [esi]
sub eax, edx
add eax, 0x10
push eax
push 0
push 0
push ecx
call edi
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x6bd191
add dword [esp + 0x30], 0x10
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub edx, ecx
cmp edx, 0x46
jge 0x6bd1a8
mov dword [esp + 0x34], 0x46
xor eax, eax
mov dword [ebp + 0x2f8], 0x90c80880
mov word [ebp + 0x302], ax
mov word [ebp + 0x304], ax
mov word [ebp + 0x300], ax
mov dword [ebp + 0x2fc], eax
mov eax, dword [esp + 0x2fc]
test ah, 0x10
je 0x6bd1e5
mov dword [ebp + 0x2f8], 0x90c80882
xor eax, eax
lea edi, [ebp + 4]
push eax
mov ecx, 0x14
push eax
push eax
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x7c]
push eax
call dword [fcn.006c7208]
mov eax, dword [ebp + 0xc0]
test eax, eax
jne 0x6bd211
push eax
call dword [0x6c713c]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x6bd222
xor ecx, ecx
mov cx, word [ebx + 0x20]
push ecx
push eax
jmp 0x6bd271
mov cl, byte [ebx + 0x24]
add ebx, 0x24
test cl, cl
je 0x6bd230
push ebx
push eax
jmp 0x6bd271
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x6bd27d
add ecx, 0xfffffff0
mov eax, 0x7f03
cmp ecx, 0x30
ja case.0x6bd24d.20
xor edx, edx
mov dl, byte [ecx + 0x6bdbac]
jmp dword [edx*4 + 0x6bdb98]
mov eax, 0x7f03
jmp case.0x6bd24d.20
mov eax, 0x7f01
jmp case.0x6bd24d.20
mov eax, 0x7f02
jmp case.0x6bd24d.20
mov eax, 0x7f04
push eax
push 0
call dword [0x6c7210]
mov dword [ebp + 0x2e4], eax
mov eax, dword [ebp + 0x2e4]
test eax, eax
je 0x6bd33a
mov ebx, dword [0x6c7204]
push 0xb
call ebx
push 0xc
mov edi, eax
call ebx
mov edx, dword [ebp + 0xa8]
mov ecx, edx
neg ecx
sbb ecx, ecx
and ecx, 0x10
add ecx, 8
lea ebx, [ecx + edi]
add dword [esi], ebx
lea ebx, [ecx + edi]
add dword [ebp + 0xcc], ebx
mov ebx, dword [ebp + 0xcc]
add ebx, 8
test edx, edx
mov dword [esp + 0x30], ebx
je 0x6bd2d5
mov edx, ebx
add edx, 0x10
mov dword [esp + 0x30], edx
lea eax, [ecx + eax + 2]
lea edx, [ecx + edi + 2]
push eax
push edx
push ecx
lea eax, [esp + 0x78]
push ecx
push eax
call dword [fcn.006c7208]
lea ecx, [esp + 0x6c]
push 0x6cebac
push ecx
push 0x3e8
push 0x82
mov ecx, ebp
call fcn.006bece0
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x6bd33a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
cmp edx, eax
jle 0x6bd33a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0xc8], ecx
add ecx, eax
mov dword [ebp + 0xd0], ecx
mov ecx, dword [ebp + 0xd4]
mov eax, dword [ebp + 0x90]
push ecx
push esi
lea edx, [eax + 1]
push eax
push 0x82
mov ecx, ebp
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0x90], edx
call fcn.006bece0
mov al, byte [ebp + 0xdc]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
test al, al
jne 0x6bd491
mov ecx, dword [esp + 0x2fc]
mov eax, ecx
and eax, 0xf
cmp eax, 9
ja case.default.0x6bd38f
jmp dword [eax*4 + 0x6bdbe0]
mov ebx, dword [ebp + 0x3a4]
mov edx, dword [ebp + 0x38c]
mov eax, dword [ebp + 0x370]
mov edi, 3
add ebx, edx
jmp 0x6bd456
mov ebx, dword [ebp + 0x3b0]
mov edx, dword [ebp + 0x378]
mov edi, 3
jmp 0x6bd44e
mov ebx, dword [ebp + 0x378]
mov eax, dword [ebp + 0x370]
mov edi, 2
jmp 0x6bd456
mov ebx, dword [ebp + 0x390]
mov edx, dword [ebp + 0x38c]
mov edi, 3
jmp 0x6bd44e
mov ebx, dword [ebp + 0x39c]
mov edi, 1
jmp case.default.0x6bd38f
mov ebx, dword [ebp + 0x39c]
mov edi, 2
jmp 0x6bd450
mov ebx, dword [ebp + 0x3a4]
mov edi, 2
jmp 0x6bd450
mov ebx, dword [ebp + 0x3ac]
mov edx, dword [ebp + 0x3a8]
mov edi, 3
jmp 0x6bd44e
mov ebx, dword [ebp + 0x3b4]
mov eax, dword [ebp + 0x394]
mov edi, 2
jmp 0x6bd456
mov ebx, dword [ebp + 0x3b4]
mov edx, dword [ebp + 0x394]
mov edi, 3
add ebx, edx
mov eax, dword [ebp + 0x374]
add ebx, eax
test ecx, 0x8000000
je 0x6bd46e
test cl, 7
je 0x6bd46e
mov edx, dword [ebp + 0x3b8]
add ebx, edx
inc edi
test ecx, 0x10000000
je 0x6bd53f
test cl, 7
je 0x6bd53f
mov edx, dword [ebp + 0x398]
add ebx, edx
inc edi
jmp 0x6bd53f
lea edi, [ebp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x6cc4c0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
xor esi, esi
push ecx
call fcn.006bfc1d
mov edx, eax
add esp, 8
test edx, edx
je 0x6bd536
cmp esi, 4
jge 0x6bd536
lea eax, [esp + 0x3c]
mov edi, edx
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
call dword [0x6c700c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea eax, [edx + 0x14]
cmp eax, ecx
jg 0x6bd50c
mov eax, ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x6bd516
add eax, dword [ebp + 0x7c]
mov ecx, dword [esp + 0x18]
push 0x6cc4c0
add ecx, eax
push 0
mov dword [esp + 0x20], ecx
call fcn.006bfc1d
add esp, 8
mov edx, eax
inc esi
test edx, edx
jne 0x6bd4d8
mov ecx, dword [esp + 0x2fc]
mov edi, esi
mov eax, ecx
and eax, 0x4000
mov dword [esp + 0x3c], eax
je 0x6bd555
mov eax, dword [ebp + 0x388]
inc edi
add ebx, eax
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x6bd565
mov eax, dword [ebp + 0x3a0]
inc edi
add ebx, eax
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x64], eax
je 0x6bd579
mov eax, dword [ebp + 0x5c]
or al, 1
jmp 0x6bd595
test ecx, 0x2000000
je 0x6bd588
mov eax, dword [ebp + 0x5c]
or al, 2
jmp 0x6bd595
test ecx, 0x4000000
je 0x6bd598
mov eax, dword [ebp + 0x5c]
or al, 4
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0xd0]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jg 0x6bd5a8
mov eax, ecx
mov ecx, dword [ebp + 0x2e4]
add eax, 5
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x6bd5c3
mov ecx, dword [ebp + 0x2f4]
test ecx, ecx
je 0x6bd5ca
add eax, 9
mov dword [esp + 0x14], eax
lea ecx, [edi + edi*2]
lea edx, [ebx + ecx*2]
mov ecx, dword [esp + 0x18]
lea esi, [edx + ecx - 6]
mov ecx, dword [ebp + 0x80]
mov edx, eax
add edx, ecx
push edx
push esi
push eax
lea eax, [esp + 0x58]
push 0
push eax
call dword [fcn.006c7208]
cmp dword [ebp + 0x64], edi
jle 0x6bd5fe
mov dword [ebp + 0x64], 1
mov ecx, dword [esp + 0x64]
or eax, 0xffffffff
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x6bd61f
mov ebx, dword [esp + 0x2fc]
mov eax, 3
mov dword [esp + 0x20], eax
jmp 0x6bd646
mov ebx, dword [esp + 0x2fc]
test ebx, 0x2000000
je 0x6bd635
mov eax, 4
jmp 0x6bd642
test ebx, 0x4000000
je 0x6bd646
mov eax, 5
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
mov dword [esp + 0x18], 0
je 0x6bd666
mov eax, dword [ebp + eax*4 + 0x370]
mov ecx, dword [ebp + 0x84]
add eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
add ecx, 0xc
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
sub ecx, edi
mov edi, dword [esp + 0x30]
lea eax, [ecx + 0x20]
cmp edi, eax
jg 0x6bd68c
mov edi, eax
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x28]
mov eax, edi
sub eax, edx
cmp eax, dword [esp + 0x18]
jge 0x6bd6a5
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, edx
mov dword [esp + 0x14], ecx
cdq
sub eax, edx
mov edx, dword [ebp + 0xa4]
sar eax, 1
test edx, edx
mov dword [esp + 0x10], eax
je 0x6bd6d1
sub edi, esi
sub edi, 0x10
mov eax, edi
mov dword [esp + 0x10], eax
cmp byte [ebp + 0xdc], 0
lea edx, [ebp + 0xdc]
jne 0x6bd978
mov edx, ebx
and edx, 0xf
cmp edx, 9
ja case.default.0x6bd6f2
jmp dword [edx*4 + 0x6bdc08]
push ecx
push eax
push 1
push 0xb
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebp + 0x5c]
or al, 0x10
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x5c], eax
jmp 0x6bda6f
push ecx
push eax
push 1
push 0xb
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
mov dword [esp + 0x14], ecx
push ecx
push 2
push 1
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebp + 0x5c]
or al, 8
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x5c], eax
jmp 0x6bda6f
push ecx
push eax
push 6
push 0x11
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x8000000
mov dword [esp + 0x10], ecx
je 0x6bd790
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0x13
push 0x12
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 7
push 9
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x10000000
mov dword [esp + 0x10], ecx
je 0x6bda6f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x14
push 0xa
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
jmp 0x6bda6f
push ecx
push eax
push 6
push 0x11
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x8000000
mov dword [esp + 0x10], ecx
je 0x6bd80d
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0x13
push 0x12
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 7
push 9
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x10000000
mov dword [esp + 0x10], ecx
je 0x6bd84d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x14
push 0xa
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
jmp 0x6bd739
push ecx
push eax
push 3
push 0
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
mov dword [esp + 0x18], ecx
push 4
push 0xd
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 5
mov dword [esp + 0x1c], ecx
push 7
jmp 0x6bd7c9
push ecx
push eax
push 4
push 0xd
jmp 0x6bd723
push ecx
push eax
push 0xb
push 2
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 3
mov dword [esp + 0x1c], ecx
push 0
jmp 0x6bd7c9
push ecx
push eax
push 2
push 1
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
mov dword [esp + 0x18], ecx
push 0xa
push 0x10
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0xb
mov dword [esp + 0x1c], ecx
push 2
jmp 0x6bd73e
push ecx
push eax
push 0xe
push 0xe
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
push 0xf
mov dword [esp + 0x1c], ecx
push 0xf
jmp 0x6bd952
push ecx
push eax
push 5
push 7
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
push 0x10
mov dword [esp + 0x1c], ecx
push 8
mov ecx, ebp
call fcn.006bdcf0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push eax
jmp 0x6bd739
push ecx
push eax
push 1
push 0xb
jmp 0x6bd7c9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x103
lea ecx, [esp + 0x98]
push edx
push ecx
stosb byte es:[edi], al
call fcn.006bfcc9
lea edx, [esp + 0xa0]
push 0x6cc4c0
push edx
xor esi, esi
call fcn.006bfc1d
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x6bda6f
cmp esi, 4
jge 0x6bda6f
lea eax, [esp + 0x64]
mov edi, ebx
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push ecx
call dword [0x6c700c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x24]
lea edi, [edx + 0x14]
cmp edi, eax
jg 0x6bd9ff
mov edi, eax
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x6bda09
add edi, dword [ebp + 0x7c]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x80]
mov ecx, eax
add ecx, edx
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [edi + ecx]
push edx
push eax
lea eax, [esp + 0x90]
push ecx
push eax
call dword [fcn.006c7208]
lea ecx, [esp + 0x84]
push ebx
lea edx, [esi + 0x17]
push ecx
push edx
push 0x80
mov ecx, ebp
call fcn.006bece0
mov eax, dword [esp + 0x10]
push 0x6cc4c0
push 0
lea ecx, [eax + edi + 6]
mov dword [esp + 0x18], ecx
call fcn.006bfc1d
add esp, 8
mov ebx, eax
inc esi
test ebx, ebx
jne 0x6bd9c7
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
je 0x6bda95
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x12c
push 6
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
cmp dword [ebp + 0x54], edi
je 0x6bdab6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x12d
push 0xc
mov ecx, ebp
call fcn.006bdcf0
add dword [esp + 0x10], eax
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x6bdb0e
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
lea edx, [esp + 0x48]
push edi
push edx
call dword [fcn.006c7208]
lea eax, [esi + esi*4]
lea edx, [esp + 0x3c]
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*4 + 0x3bc]
lea eax, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.006bdd60
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jl 0x6bdb21
lea ecx, [eax + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add edx, 0x10
cmp eax, edx
jge 0x6bdb36
mov eax, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
mov word [ebp + 0x302], di
sub eax, edx
mov word [ebp + 0x304], di
shl eax, 2
cdq
idiv dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov word [ebp + 0x306], ax
mov eax, ecx
sub eax, edi
shl eax, 3
cdq
idiv dword [esp + 0x5c]
mov word [ebp + 0x308], ax
mov eax, dword [esp + 0x60]
push eax
push esi
call dword [0x6c7008]
push esi
call dword [0x6c7010]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x14