Function at 0x6fba1a70
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1248
call fcn.6fbad0d0
sub esp, eax
mov edi, edx
cmp dword [esp + 0x1268], 3
mov eax, dword [esp + eax]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x4c], eax
jle 0x6fba1ac0
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.________main_sort_initialise_..._n
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_fwrite
mov ecx, dword [esp + 0x1260]
mov eax, dword [esp + 0x1260]
lea edx, [ecx - 4]
add eax, 0x40000
mov dword [eax], 0
sub eax, 4
cmp eax, edx
jne 0x6fba1ad6
movzx eax, byte [edi]
mov ecx, dword [esp + 0x1264]
sub ecx, 1
shl eax, 8
cmp ecx, 2
mov dword [esp + 0x80], ecx
jle 0x6fba1bc4
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x1264]
lea ebx, [edx + ecx*2]
mov ecx, dword [esp + 0x1264]
add esi, edi
mov edx, esi
sub ecx, 4
mov ebp, ecx
and ecx, 3
add ecx, edi
shr ebp, 2
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1260]
sar eax, 8
mov word [ebx], 0
sub edx, 4
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 3]
sub ebx, 8
shl eax, 8
or eax, dword [esp + 0x24]
add dword [ecx + eax*4], 1
sar eax, 8
mov word [ebx + 6], 0
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 2]
shl eax, 8
or eax, dword [esp + 0x24]
add dword [ecx + eax*4], 1
sar eax, 8
mov word [ebx + 4], 0
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 1]
shl eax, 8
or eax, dword [esp + 0x24]
add dword [ecx + eax*4], 1
sar eax, 8
mov word [ebx + 2], 0
mov dword [esp + 0x24], eax
movzx eax, byte [edx]
shl eax, 8
or eax, dword [esp + 0x24]
add dword [ecx + eax*4], 1
cmp edx, dword [esp + 0x28]
jne 0x6fba1b34
lea edx, [ebp*4]
mov ecx, dword [esp + 0x1264]
neg edx
lea edx, [ecx + edx - 5]
jmp 0x6fba1bd5
mov ecx, dword [esp + 0x1264]
mov edx, dword [esp + 0x80]
lea esi, [edi + ecx]
test edx, edx
mov ebx, dword [esp + 0x1260]
js 0x6fba1c02
mov ecx, dword [esp + 0x70]
xor ebp, ebp
sar eax, 8
mov word [ecx + edx*2], bp
movzx ecx, byte [edi + edx]
sub edx, 1
shl ecx, 8
or eax, ecx
add dword [ebx + eax*4], 1
cmp edx, 0xffffffff
jne 0x6fba1be0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1264]
lea edx, [eax + ecx*2]
xor eax, eax
movzx ecx, byte [edi + eax]
xor ebp, ebp
mov byte [esi + eax], cl
mov word [edx + eax*2], bp
add eax, 1
cmp eax, 0x22
jne 0x6fba1c12
cmp dword [esp + 0x1268], 3
jle 0x6fba1c59
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.________bucket_sorting_..._n
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_fwrite
mov ecx, dword [esp + 0x1260]
mov eax, dword [esp + 0x1260]
lea edx, [ecx + 0x40004]
add eax, 4
mov ecx, dword [eax - 4]
add dword [eax], ecx
add eax, 4
cmp edx, eax
jne 0x6fba1c70
movzx edx, byte [edi]
mov eax, dword [esp + 0x80]
shl edx, 8
cmp eax, 2
mov ebp, edx
jle 0x6fba1d57
mov ecx, dword [esp + 0x1260]
mov ebx, eax
mov dword [esp + 0x24], edi
movzx eax, byte [esi - 1]
shr bp, 8
sub esi, 4
shl eax, 8
or eax, ebp
movzx edx, ax
shr ax, 8
lea ebp, [ecx + edx*4]
mov edi, dword [ebp]
lea edx, [edi - 1]
mov edi, dword [esp + 0x4c]
mov dword [ebp], edx
mov dword [edi + edx*4], ebx
movzx edx, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, dx
shr dx, 8
lea ebp, [ecx + eax*4]
mov eax, dword [ebp]
sub eax, 1
mov dword [ebp], eax
lea ebp, [ebx - 1]
mov dword [edi + eax*4], ebp
movzx eax, byte [esi + 1]
shl eax, 8
or eax, edx
movzx edx, ax
shr ax, 8
lea ebp, [ecx + edx*4]
mov edx, dword [ebp]
sub edx, 1
mov dword [ebp], edx
lea ebp, [ebx - 2]
mov dword [edi + edx*4], ebp
movzx edx, byte [esi]
shl edx, 8
or eax, edx
movzx eax, ax
lea edx, [ecx + eax*4]
mov ebp, eax
mov eax, dword [edx]
sub eax, 1
mov dword [edx], eax
lea edx, [ebx - 3]
sub ebx, 4
cmp ebx, 2
mov dword [edi + eax*4], edx
jg 0x6fba1ca1
mov eax, dword [esp + 0x1264]
mov ecx, dword [esp + 0x1264]
mov edi, dword [esp + 0x24]
sub eax, 4
sub ecx, 5
and eax, 0xfffffffc
sub ecx, eax
jmp 0x6fba1d5e
mov ecx, dword [esp + 0x80]
test ecx, ecx
js 0x6fba1d92
movzx eax, byte [edi + ecx]
shr bp, 8
mov edx, dword [esp + 0x1260]
shl eax, 8
or ebp, eax
movzx eax, bp
lea edx, [edx + eax*4]
mov eax, dword [edx]
sub eax, 1
mov dword [edx], eax
mov edx, dword [esp + 0x4c]
mov dword [edx + eax*4], ecx
sub ecx, 1
cmp ecx, 0xffffffff
jne 0x6fba1d62
xor eax, eax
mov byte [esp + eax + 0x90], 0
mov dword [esp + eax*4 + 0x640], eax
add eax, 1
cmp eax, 0x100
jne 0x6fba1d94
mov eax, 5
mov edx, 1
sub eax, 1
lea edx, [edx + edx*2 + 1]
jne 0x6fba1db7
mov ebp, dword [esp + 0x1260]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x3c]
mov eax, 0x55555556
imul edi
mov eax, edi
sar eax, 0x1f
mov edi, edx
sub edi, eax
cmp edi, 0xff
mov dword [esp + 0x3c], edi
jg 0x6fba1dcf
lea eax, [esp + 0x640]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov eax, edi
shl eax, 2
neg eax
mov dword [esp + 0x2c], eax
lea esi, [esi]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [esi + edi*4]
mov edx, esi
mov ecx, eax
mov dword [esp + 0x38], eax
add eax, 1
shl eax, 8
shl ecx, 8
mov eax, dword [ebp + eax*4]
sub eax, dword [ebp + ecx*4]
mov dword [esp + 0x28], eax
jmp 0x6fba1e4f
mov ebx, dword [esp + 0x24]
mov dword [edx + edi*4], ecx
add edx, dword [esp + 0x2c]
cmp edi, ebx
jg 0x6fba1e72
mov ecx, dword [edx]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov esi, ecx
shl esi, 8
shl eax, 8
mov eax, dword [ebp + eax*4]
sub eax, dword [ebp + esi*4]
cmp eax, dword [esp + 0x28]
ja 0x6fba1e40
mov eax, dword [esp + 0x38]
add dword [esp + 0x30], 1
add dword [esp + 0x34], 4
mov dword [esp + ebx*4 + 0x640], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x100
jne 0x6fba1e10
cmp edi, 1
jne 0x6fba1dcf
lea eax, [esp + 0x640]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], 0
mov eax, dword [eax]
mov dword [esp + 0x68], eax
shl eax, 8
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x68], eax
je 0x6fba21e5
mov edx, dword [esp + 0x84]
add edx, eax
mov eax, dword [esp + 0x1260]
shl edx, 2
add eax, edx
mov dword [esp + 0x74], eax
mov eax, dword [eax]
test eax, 0x200000
jne 0x6fba21da
mov ecx, dword [esp + 0x1260]
mov esi, eax
and esi, 0xffdfffff
mov ebx, dword [ecx + edx + 4]
and ebx, 0xffdfffff
sub ebx, 1
cmp esi, ebx
jge 0x6fba21da
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x1268], 3
jg 0x6fba2abd
mov dword [esp + 0x8c], eax
mov dword [esp + 0x190], esi
mov dword [esp + 0x320], ebx
mov dword [esp + 0x4b0], 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x24], 2
mov dword [esp + 0x38], 1
mov dword [esp + 0x88], edi
mov ebx, dword [esp + 0x50]
sub ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
sub eax, 1
cmp ebx, 0x13
mov dword [esp + 0x60], eax
jle 0x6fba2480
cmp dword [esp + 0x24], 0xe
jg 0x6fba2480
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x88]
add ebp, dword [esp + 0x24]
mov eax, edi
add eax, esi
sar eax, 1
mov edx, dword [ecx + eax*4]
mov eax, dword [ecx + esi*4]
add edx, ebp
add eax, ebp
movzx ebx, byte [edx]
mov edx, ecx
movzx ecx, byte [eax]
lea eax, [edx + edi*4]
mov edi, dword [eax]
mov dword [esp + 0x3c], eax
add edi, ebp
movzx eax, byte [edi]
cmp cl, al
jb 0x6fba1fea
mov edx, ecx
mov ecx, eax
movzx eax, dl
cmp bl, al
jae 0x6fba1ff6
cmp bl, cl
movzx eax, cl
cmovae eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
lea edi, [eax + 1]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jmp 0x6fba204a
mov esi, dword [esp + 0x4c]
mov edx, dword [esi + eax*4 - 4]
movzx eax, byte [ebp + edx]
sub eax, dword [esp + 0x28]
cmp eax, 0
jne 0x6fba20c7
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add dword [esp + 0x34], 1
lea eax, [esi + ebx*4]
mov ebx, dword [eax]
mov dword [esi + edi*4 - 4], ebx
mov dword [eax], edx
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
lea edi, [eax - 1]
cmp ecx, edi
jge 0x6fba2013
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x34], esi
jle 0x6fba2920
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
add eax, 1
mov dword [esp + edi*4 + 0x4b0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0x61
jle 0x6fba2094
mov dword [esp], 0x3e9
call sym.cygbz2_1.dll_BZ2_bz__AssertH__fail
mov edi, dword [esp + 0x60]
mov eax, edi
mov dword [esp + 0x38], edi
sub eax, 1
mov ecx, dword [esp + eax*4 + 0x190]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + eax*4 + 0x320]
mov eax, dword [esp + eax*4 + 0x4b0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], eax
jmp 0x6fba1f7b
jle 0x6fba2045
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
lea edx, [ecx - 1]
mov dword [esp + 0x2c], edi
lea eax, [eax + ecx*4]
jmp 0x6fba2103
mov ebx, dword [esp + 0x4c]
lea ebx, [ebx + esi*4]
sub esi, 1
mov edi, dword [ebx]
mov dword [eax], edi
mov dword [ebx], ecx
mov ecx, edx
sub eax, 4
sub edx, 1
cmp ecx, dword [esp + 0x2c]
jl 0x6fba205d
mov ecx, dword [eax]
movzx ebx, byte [ebp + ecx]
cmp ebx, dword [esp + 0x28]
je 0x6fba20e1
js 0x6fba2116
mov ecx, edx
jmp 0x6fba20f3
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x30]
mov ebx, dword [edi + esi*4 - 4]
mov dword [edi + esi*4 - 4], ecx
mov ecx, edx
mov dword [eax], ebx
jmp 0x6fba2045
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
add dword [esp + 0x40], 3
mov dword [eax], edx
mov eax, dword [esp + 0x126c]
mov ecx, dword [eax]
test ecx, ecx
js 0x6fba246f
add dword [esp + 0x44], 0xc
add dword [esp + 0x48], 0xc
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x40], ecx
jle 0x6fba2502
sub dword [esp + 0x5c], 4
mov edi, 0x6fbaf1bc
mov eax, dword [esp + 0x5c]
cmp edi, eax
jne 0x6fba24c2
mov eax, dword [esp + 0x126c]
mov ebx, dword [eax]
test ebx, ebx
js 0x6fba246f
mov edx, dword [esp + 0x60]
test edx, edx
jne 0x6fba2081
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
lea eax, [eax + ecx + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x126c]
mov eax, dword [eax]
test eax, eax
js 0x6fba246f
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
or eax, 0x200000
mov dword [ecx], eax
add dword [esp + 0x64], 1
mov eax, dword [esp + 0x64]
cmp eax, 0x100
jne 0x6fba1ed2
mov eax, dword [esp + 0x68]
cmp byte [esp + eax + 0x90], 0
je 0x6fba2213
mov dword [esp], 0x3ee
call sym.cygbz2_1.dll_BZ2_bz__AssertH__fail
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1260]
xor eax, eax
mov edx, eax
shl edx, 8
add edx, ebx
mov esi, dword [ecx + edx*4]
mov edx, dword [ecx + edx*4 + 4]
and edx, 0xffdfffff
and esi, 0xffdfffff
sub edx, 1
mov dword [esp + eax*4 + 0xa40], esi
mov dword [esp + eax*4 + 0xe40], edx
add eax, 1
cmp eax, 0x100
jne 0x6fba2220
mov eax, dword [esp + 0x1260]
mov ecx, dword [esp + 0x84]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp]
mov ebx, dword [esp + eax*4 + 0xa40]
and esi, 0xffdfffff
cmp ebx, esi
jle 0x6fba22d2
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
lea eax, [ecx - 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1264]
add ecx, eax
test eax, eax
cmovs eax, ecx
movzx edx, byte [edi + eax]
cmp byte [esp + edx + 0x90], 0
jne 0x6fba22cb
mov ecx, dword [esp + edx*4 + 0xa40]
lea ebx, [ecx + 1]
mov dword [esp + edx*4 + 0xa40], ebx
mov edx, dword [esp + 0x4c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + eax*4 + 0xa40]
add esi, 1
cmp ebx, esi
jg 0x6fba227e
mov ecx, dword [esp + 0x68]
mov eax, ecx
mov ecx, dword [esp + ecx*4 + 0xe40]
add eax, 1
shl eax, 0xa
add eax, dword [esp + 0x1260]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov esi, eax
mov dword [esp + 0x28], eax
and esi, 0xffdfffff
sub esi, 1
cmp esi, ecx
jle 0x6fba2361
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1264]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x28], eax
sub eax, 1
add edx, eax
test eax, eax
cmovs eax, edx
movzx edx, byte [edi + eax]
cmp byte [esp + edx + 0x90], 0
jne 0x6fba2356
mov ecx, dword [esp + edx*4 + 0xe40]
lea ebx, [ecx - 1]
mov dword [esp + edx*4 + 0xe40], ebx
mov edx, dword [esp + 0x4c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + eax*4 + 0xe40]
sub esi, 1
cmp ecx, esi
jl 0x6fba2309
mov ebx, dword [esp + 0x2c]
lea eax, [ebx - 1]
cmp eax, ecx
je 0x6fba2381
cmp dword [esp + 0x80], ecx
jne 0x6fba2375
test ebx, ebx
je 0x6fba2381
mov dword [esp], 0x3ef
call sym.cygbz2_1.dll_BZ2_bz__AssertH__fail
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1260]
xor edx, edx
mov eax, edx
add edx, 1
shl eax, 8
add eax, ebx
or dword [ecx + eax*4], 0x200000
cmp edx, 0x100
jne 0x6fba238e
mov eax, dword [esp + 0x68]
mov byte [esp + eax + 0x90], 1
lea eax, [esp + 0xa3c]
cmp eax, dword [esp + 0x78]
je 0x6fba2461
mov eax, dword [esp + 0x24]
mov edx, dword [ebp]
xor ecx, ecx
mov esi, dword [eax]
and edx, 0xffdfffff
and esi, 0xffdfffff
sub esi, edx
cmp esi, 0xfffe
jle 0x6fba23f3
add ecx, 1
mov eax, esi
sar eax, cl
cmp eax, 0xfffe
jg 0x6fba23e5
mov eax, dword [esp + 0x4c]
sub esi, 1
test esi, esi
mov ebx, esi
lea ebp, [eax + edx*4]
js 0x6fba2433
mov dword [esp + 0x24], esi
mov eax, dword [ebp + ebx*4]
mov esi, dword [esp + 0x70]
mov edx, ebx
sar edx, cl
cmp eax, 0x21
mov word [esi + eax*2], dx
jg 0x6fba2427
add eax, dword [esp + 0x1264]
mov word [esi + eax*2], dx
sub ebx, 1
cmp ebx, 0xffffffff
jne 0x6fba2407
mov esi, dword [esp + 0x24]
sar esi, cl
cmp esi, 0xffff
jle 0x6fba2449
mov dword [esp], 0x3ea
call sym.cygbz2_1.dll_BZ2_bz__AssertH__fail
add dword [esp + 0x78], 4
lea edx, [esp + 0xa40]
mov eax, dword [esp + 0x78]
cmp edx, eax
jne 0x6fba1eb6
cmp dword [esp + 0x1268], 3
jg 0x6fba2b02
add esp, 0x124c
pop ebx
pop esi
pop edi
pop ebp
ret
add ebx, 1
cmp ebx, 1
jle 0x6fba218c
mov ecx, 4
xor edx, edx
jmp 0x6fba249e
mov ecx, dword [eax*4 + 0x6fbaf1c4]
mov edx, eax
cmp ebx, ecx
lea eax, [edx + 1]
jg 0x6fba2495
lea eax, [edx*4 + 0x6fbaf1c0]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
shl eax, 2
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
mov edi, dword [eax]
mov eax, dword [esp + 0x58]
add eax, edi
cmp eax, dword [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x28], eax
jg 0x6fba2176
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
lea eax, [edx + eax*4]
add edx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
lea eax, [edi*4]
neg eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
add eax, ebp
mov dword [esp + 0x38], eax
jmp 0x6fba2546
seta al
test al, al
je 0x6fba2643
mov eax, dword [ebx]
mov esi, dword [esp + 0x30]
mov dword [ebx + edi*4], eax
add ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], esi
jg 0x6fba264e
mov eax, esi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], ebx
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [ebx]
movzx edx, byte [edx]
cmp byte [ebp + eax], dl
jne 0x6fba2524
mov edx, dword [esp + 0x3c]
movzx ecx, byte [ebp + edx + 1]
cmp byte [ebp + eax + 1], cl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 2]
cmp byte [ebp + eax + 2], cl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 3]
cmp byte [ebp + eax + 3], cl
jne 0x6fba2524
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 4]
cmp byte [ebp + eax + 4], dl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 5]
cmp byte [ebp + eax + 5], cl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 6]
cmp byte [ebp + eax + 6], dl
jne 0x6fba2524
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 7]
cmp byte [ebp + eax + 7], dl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 8]
cmp byte [ebp + eax + 8], cl
jne 0x6fba2524
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 9]
cmp byte [ebp + eax + 9], dl
jne 0x6fba2524
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 0xa]
cmp byte [ebp + eax + 0xa], cl
jne 0x6fba2524
mov edx, dword [esp + 0x126c]
mov ecx, dword [esp + 0x1264]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp], edx
mov edx, dword [esp + 0x3c]
call fcn.6fbad6c8
test al, al
jne 0x6fba252f
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
lea esi, [eax + 1]
cmp esi, dword [esp + 0x50]
jg 0x6fba2176
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
add eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
lea ebx, [eax + 4]
jmp 0x6fba26b2
seta al
test al, al
je 0x6fba27b0
mov eax, dword [ebx]
mov esi, dword [esp + 0x30]
mov dword [ebx + edi*4], eax
add ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], esi
jg 0x6fba27bb
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], ebx
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [ebx]
movzx ecx, byte [ecx]
cmp byte [ebp + eax], cl
jne 0x6fba2690
mov edx, dword [esp + 0x3c]
movzx ecx, byte [ebp + edx + 1]
cmp byte [ebp + eax + 1], cl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 2]
cmp byte [ebp + eax + 2], cl
jne 0x6fba2690
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 3]
cmp byte [ebp + eax + 3], dl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 4]
cmp byte [ebp + eax + 4], dl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 5]
cmp byte [ebp + eax + 5], cl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 6]
cmp byte [ebp + eax + 6], dl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 7]
cmp byte [ebp + eax + 7], dl
jne 0x6fba2690
mov edx, dword [esp + 0x3c]
movzx ecx, byte [ebp + edx + 8]
cmp byte [ebp + eax + 8], cl
jne 0x6fba2690
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 9]
cmp byte [ebp + eax + 9], dl
jne 0x6fba2690
mov edx, dword [esp + 0x3c]
movzx ecx, byte [ebp + edx + 0xa]
cmp byte [ebp + eax + 0xa], cl
jne 0x6fba2690
mov ecx, dword [esp + 0x126c]
mov edx, dword [esp + 0x1264]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, ebp
call fcn.6fbad6c8
test al, al
jne 0x6fba269b
nop
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
lea esi, [eax + 2]
cmp esi, dword [esp + 0x50]
jg 0x6fba2176
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
add eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
lea ebx, [eax + 8]
jmp 0x6fba2822
seta al
test al, al
je 0x6fba2133
mov eax, dword [ebx]
mov esi, dword [esp + 0x30]
mov dword [ebx + edi*4], eax
add ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], esi
jg 0x6fba213e
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], ebx
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [ebx]
movzx edx, byte [ecx]
cmp byte [ebp + eax], dl
jne 0x6fba2800
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 1]
cmp byte [ebp + eax + 1], dl
jne 0x6fba2800
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 2]
cmp byte [ebp + eax + 2], dl
jne 0x6fba2800
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 3]
cmp byte [ebp + eax + 3], cl
jne 0x6fba2800
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 4]
cmp byte [ebp + eax + 4], dl
jne 0x6fba2800
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 5]
cmp byte [ebp + eax + 5], cl
jne 0x6fba2800
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ebp + ecx + 6]
cmp byte [ebp + eax + 6], dl
jne 0x6fba2800
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 7]
cmp byte [ebp + eax + 7], dl
jne 0x6fba2800
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 8]
cmp byte [ebp + eax + 8], cl
jne 0x6fba2800
mov edx, dword [esp + 0x3c]
movzx edx, byte [ebp + edx + 9]
cmp byte [ebp + eax + 9], dl
jne 0x6fba2800
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ebp + ecx + 0xa]
cmp byte [ebp + eax + 0xa], cl
jne 0x6fba2800
mov edx, dword [esp + 0x126c]
mov ecx, dword [esp + 0x1264]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp], edx
mov edx, dword [esp + 0x3c]
call fcn.6fbad6c8
jmp 0x6fba2803
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, ebx
sub edx, eax
sub eax, dword [esp + 0x58]
cmp edx, eax
cmovg edx, eax
sub ebx, edx
test edx, edx
jle 0x6fba2962
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
add edx, edi
sub ebx, edi
lea edx, [ebp + edx*4]
mov ebp, edx
mov edx, dword [eax]
mov edi, dword [eax + ebx*4]
mov dword [eax], edi
mov dword [eax + ebx*4], edx
add eax, 4
cmp eax, ebp
jne 0x6fba2951
mov ebp, esi
sub ebp, ecx
mov ecx, dword [esp + 0x50]
mov edx, ecx
sub edx, esi
cmp edx, ebp
cmovg edx, ebp
sub ecx, edx
test edx, edx
jle 0x6fba29a0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
add edx, edi
sub ecx, edi
lea eax, [esi + edi*4]
lea ebx, [esi + edx*4]
mov edx, ecx
mov ecx, dword [eax]
mov esi, dword [eax + edx*4 + 4]
mov dword [eax], esi
mov dword [eax + edx*4 + 4], ecx
add eax, 4
cmp eax, ebx
jne 0x6fba298d
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
add esi, edx
sub esi, dword [esp + 0x34]
mov eax, ebx
add edi, 1
sub eax, ebp
mov dword [esp + 0x2c], edi
mov ebp, eax
lea eax, [eax + 1]
lea ecx, [esi - 1]
mov edi, ecx
sub edi, edx
mov edx, edi
mov edi, ebx
sub ebx, eax
cmp edx, ebx
mov dword [esp + 0x30], edx
jge 0x6fba29f7
mov edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, edx
mov edx, ebp
mov edi, dword [esp + 0x24]
sub edx, esi
cmp edx, ebx
mov dword [esp + 0x28], edi
jle 0x6fba2a25
mov ebx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], ebp
mov ebp, edx
mov edx, eax
mov eax, esi
mov esi, edx
cmp dword [esp + 0x30], ebx
jl 0x6fba2a4f
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], edi
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x58], edx
mov edi, dword [esp + 0x60]
mov dword [esp + edi*4 + 0x190], eax
mov eax, dword [esp + 0x50]
mov dword [esp + edi*4 + 0x320], eax
mov eax, dword [esp + 0x28]
mov dword [esp + edi*4 + 0x4b0], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov dword [esp + eax*4 + 0x320], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0x190], edi
mov edi, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x4b0], edi
mov edi, eax
add eax, 1
mov dword [esp + eax*4 + 0x190], esi
mov dword [esp + eax*4 + 0x320], ebp
mov dword [esp + eax*4 + 0x4b0], ecx
mov eax, edi
add eax, 2
mov dword [esp + 0x60], eax
jmp 0x6fba2081
mov ebp, eax
mov dword [esp + 0x8c], eax
call sub.cygwin1.dll___getreent
mov ecx, dword [esp + 0x7c]
lea edx, [ebp + 1]
mov dword [esp + 4], str.________qsort__0x_x__0x_x____done__d___this__d_n
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x6fba1f43
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x1264]
call sub.cygwin1.dll___getreent
mov dword [esp + 4], str._________d_pointers___d_sorted___d_scanned_n
sub ebx, edi
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x1264]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x6fba246f