Function at 0x1004f020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd34
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
mov eax, edx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xd18], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd10], eax
mov dword [ebp - 0xd28], ecx
mov dword [ebp - 0xd14], esi
mov dword [ebp - 0xd1c], edi
jl 0x1004f081
push str.________main_sort_initialise_..._n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
mov eax, dword [ebp - 0xd10]
add esp, 8
mov ecx, 0x10000
mov dword [esi + ecx*4], 0
dec ecx
jns 0x1004f086
movzx ecx, byte [eax]
lea edx, [edi - 1]
shl ecx, 8
mov dword [ebp - 0xd34], edx
cmp edx, 3
jl 0x1004f11b
mov ebx, dword [ebp - 0xd28]
lea edi, [eax - 1]
lea ebx, [ebx + edx*2]
add ebx, 0xfffffffc
xor eax, eax
sar ecx, 8
mov word [ebx + 4], ax
lea ebx, [ebx - 8]
movzx eax, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
xor ecx, ecx
inc dword [esi + eax*4]
mov word [ebx + 0xa], cx
movzx ecx, byte [edi + edx]
shl ecx, 8
sar eax, 8
or ecx, eax
xor eax, eax
inc dword [esi + ecx*4]
mov word [ebx + 8], ax
movzx eax, byte [edi + edx - 1]
sar ecx, 8
shl eax, 8
or eax, ecx
xor ecx, ecx
inc dword [esi + eax*4]
mov word [ebx + 6], cx
movzx ecx, byte [edi + edx - 2]
sub edx, 4
shl ecx, 8
sar eax, 8
or ecx, eax
inc dword [esi + ecx*4]
cmp edx, 3
jge 0x1004f0b3
mov edi, dword [ebp - 0xd1c]
test edx, edx
js 0x1004f14e
mov ebx, dword [ebp - 0xd10]
mov edi, dword [ebp - 0xd28]
jmp 0x1004f130
xor eax, eax
sar ecx, 8
mov word [edi + edx*2], ax
movzx eax, byte [ebx + edx]
shl eax, 8
or ecx, eax
inc dword [esi + ecx*4]
dec edx
jns 0x1004f130
mov edi, dword [ebp - 0xd1c]
mov eax, dword [ebp - 0xd28]
xor ecx, ecx
mov ebx, dword [ebp - 0xd10]
lea edx, [eax + edi*2]
add edi, ebx
mov al, byte [ebx + ecx]
lea edx, [edx + 2]
mov byte [edi + ecx], al
xor eax, eax
inc ecx
mov word [edx - 2], ax
cmp ecx, 0x22
jl 0x1004f161
cmp dword [ebp + 0x14], 4
mov ebx, dword [ebp - 0xd18]
jl 0x1004f198
push str.________bucket_sorting_..._n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
add esp, 8
lea ecx, [esi + 8]
mov edx, 0x4000
mov eax, dword [ecx - 8]
lea ecx, [ecx + 0x10]
add dword [ecx - 0x14], eax
mov eax, dword [ecx - 0x14]
add dword [ecx - 0x10], eax
mov eax, dword [ecx - 0x10]
add dword [ecx - 0xc], eax
mov eax, dword [ecx - 0xc]
add dword [ecx - 8], eax
dec edx
jne 0x1004f1a0
mov ecx, dword [ebp - 0xd10]
mov edi, dword [ebp - 0xd34]
movzx eax, byte [ecx]
shl ax, 8
movzx edx, ax
cmp edi, 3
jl 0x1004f2e1
or ebx, 0xffffffff
lea eax, [edi - 1]
sub ebx, ecx
add eax, ecx
mov dword [ebp - 0xd0c], ebx
mov ebx, 0xfffffffe
sub ebx, ecx
mov dword [ebp - 0xd08], eax
mov dword [ebp - 0xd20], ebx
mov ebx, dword [ebp - 0xd18]
jmp 0x1004f210
movzx eax, byte [eax + 1]
shl ax, 8
shr dx, 8
or ax, dx
movzx edx, ax
mov eax, edx
shr dx, 8
mov ecx, dword [esi + eax*4]
dec ecx
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0xd08]
mov dword [ebx + ecx*4], edi
movzx eax, byte [eax]
shl ax, 8
or ax, dx
movzx edx, ax
mov eax, edx
shr dx, 8
mov ecx, dword [esi + eax*4]
dec ecx
mov dword [esi + eax*4], ecx
lea eax, [edi - 1]
sub edi, 4
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0xd08]
mov ebx, dword [ebp - 0xd18]
movzx eax, byte [eax - 1]
shl ax, 8
or ax, dx
movzx edx, ax
mov eax, edx
shr dx, 8
mov ecx, dword [esi + eax*4]
dec ecx
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0xd08]
add eax, dword [ebp - 0xd0c]
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0xd08]
movzx eax, byte [eax - 2]
shl ax, 8
or ax, dx
movzx edx, ax
mov eax, edx
mov ecx, dword [esi + eax*4]
dec ecx
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0xd08]
add eax, dword [ebp - 0xd20]
mov esi, dword [ebp - 0xd14]
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0xd08]
sub eax, 4
mov dword [ebp - 0xd08], eax
cmp edi, 3
jge 0x1004f210
mov ecx, dword [ebp - 0xd10]
test edi, edi
js 0x1004f317
jmp 0x1004f2f0
movzx eax, byte [ecx + edi]
shl ax, 8
shr dx, 8
or ax, dx
movzx edx, ax
mov eax, edx
mov ecx, dword [esi + eax*4]
dec ecx
mov dword [esi + eax*4], ecx
mov dword [ebx + ecx*4], edi
dec edi
mov ecx, dword [ebp - 0xd10]
jns 0x1004f2f0
xor eax, eax
lea esp, [esp]
cmp eax, 0x100
jae 0x1004f85f
mov byte [ebp + eax - 0x104], 0
mov dword [ebp + eax*4 - 0xd04], eax
inc eax
cmp eax, 0xff
jle 0x1004f320
mov edi, 1
jmp 0x1004f350
lea edi, [edi + edi*2]
inc edi
cmp edi, 0x100
jle 0x1004f350
lea esp, [esp]
mov eax, 0x55555556
imul edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [ebp - 0xd0c], edi
mov eax, edi
mov dword [ebp - 0xd20], eax
cmp edi, 0xff
jg 0x1004f45a
lea edx, [ebp - 0xd04]
mov dword [ebp - 0xd08], edx
jmp 0x1004f3a0
mov ecx, dword [ebp + eax*4 - 0xd04]
mov dword [ebp - 0xd24], ecx
shl ecx, 0xa
mov ebx, dword [ecx + esi + 0x400]
sub ebx, dword [ecx + esi]
mov ecx, dword [edx]
shl ecx, 0xa
mov edx, dword [ecx + esi + 0x400]
sub edx, dword [ecx + esi]
cmp edx, ebx
jbe 0x1004f426
mov esi, dword [ebp - 0xd08]
lea edx, [edi - 1]
jmp 0x1004f3e0
mov ecx, dword [esi]
mov dword [ebp + eax*4 - 0xd04], ecx
lea ecx, [edi*4]
sub eax, edi
sub esi, ecx
cmp eax, edx
jle 0x1004f420
mov ecx, dword [esi]
mov edx, dword [ebp - 0xd14]
mov edi, dword [ebp - 0xd14]
shl ecx, 0xa
mov edx, dword [ecx + edx + 0x400]
sub edx, dword [ecx + edi]
mov edi, dword [ebp - 0xd0c]
cmp edx, ebx
lea edx, [edi - 1]
ja 0x1004f3e0
mov esi, dword [ebp - 0xd14]
mov ecx, dword [ebp - 0xd24]
mov edx, dword [ebp - 0xd08]
mov dword [ebp + eax*4 - 0xd04], ecx
add edx, 4
mov eax, dword [ebp - 0xd20]
inc eax
mov dword [ebp - 0xd08], edx
mov dword [ebp - 0xd20], eax
cmp eax, 0xff
jle 0x1004f3a0
cmp edi, 1
jne 0x1004f360
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0xd08], ecx
mov dword [ebp - 0xd20], ebx
jmp 0x1004f480
mov edx, dword [ebp + ebx*4 - 0xd04]
xor ebx, ebx
mov dword [ebp - 0xd24], edx
nop
cmp ebx, edx
je 0x1004f54b
mov eax, edx
shl eax, 8
add eax, ebx
mov edi, dword [esi + eax*4]
lea eax, [esi + eax*4]
mov dword [ebp - 0xd0c], eax
test edi, 0x200000
jne 0x1004f545
mov esi, dword [eax + 4]
and edi, 0xffdfffff
and esi, 0xffdfffff
dec esi
cmp esi, edi
jle 0x1004f53f
cmp dword [ebp + 0x14], 4
jl 0x1004f4f0
mov eax, esi
sub eax, edi
inc eax
push eax
push ecx
push ebx
push edx
push str.________qsort__0x_x__0x_x____done__d___this__d_n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
add esp, 0x18
push dword [ebp + 0x18]
mov edx, dword [ebp - 0xd10]
push ecx
mov ecx, dword [ebp - 0xd18]
push esi
push edi
push dword [ebp - 0xd1c]
push dword [ebp - 0xd28]
call fcn.1004eb60
mov ecx, dword [ebp - 0xd08]
sub esi, edi
mov eax, dword [ebp + 0x18]
inc ecx
add ecx, esi
add esp, 0x18
mov dword [ebp - 0xd08], ecx
cmp dword [eax], 0
jl 0x1004f811
mov eax, dword [ebp - 0xd0c]
mov edx, dword [ebp - 0xd24]
mov esi, dword [ebp - 0xd14]
or dword [eax], 0x200000
inc ebx
cmp ebx, 0xff
jle 0x1004f490
lea eax, [ebp - 0x104]
add eax, edx
mov dword [ebp - 0xd2c], eax
cmp byte [eax], 0
jne 0x1004f822
lea eax, [edx*4]
xor ecx, ecx
lea ebx, [eax + esi]
mov dword [ebp - 0xd30], eax
mov dword [ebp - 0xd0c], ebx
mov edi, ebx
lea esp, [esp]
mov eax, dword [edi]
lea edi, [edi + 0x400]
and eax, 0xffdfffff
mov dword [ebp + ecx - 0x904], eax
mov eax, dword [edi - 0x3fc]
and eax, 0xffdfffff
dec eax
mov dword [ebp + ecx - 0x504], eax
add ecx, 4
cmp ecx, 0x3fc
jle 0x1004f590
mov eax, dword [ebp - 0xd30]
shl edx, 0xa
lea edi, [edx + esi]
mov edx, dword [edi]
and edx, 0xffdfffff
mov dword [ebp - 0xd24], edi
cmp edx, dword [ebp + eax - 0x904]
jge 0x1004f643
mov esi, dword [ebp - 0xd18]
mov ebx, dword [ebp - 0xd1c]
mov ecx, dword [esi + edx*4]
dec ecx
jns 0x1004f5f9
add ecx, ebx
mov eax, dword [ebp - 0xd10]
mov al, byte [eax + ecx]
movzx edi, al
cmp byte [ebp + edi - 0x104], 0
jne 0x1004f621
mov eax, dword [ebp + edi*4 - 0x904]
mov dword [esi + eax*4], ecx
inc eax
mov dword [ebp + edi*4 - 0x904], eax
mov eax, dword [ebp - 0xd30]
inc edx
cmp edx, dword [ebp + eax - 0x904]
jl 0x1004f5f1
mov esi, dword [ebp - 0xd14]
mov ebx, dword [ebp - 0xd0c]
mov edi, dword [ebp - 0xd24]
mov edx, dword [edi + 0x400]
and edx, 0xffdfffff
dec edx
cmp edx, dword [ebp + eax - 0x504]
jle 0x1004f6b7
mov esi, dword [ebp - 0xd18]
mov ebx, dword [ebp - 0xd1c]
mov ecx, dword [esi + edx*4]
dec ecx
jns 0x1004f66d
add ecx, ebx
mov eax, dword [ebp - 0xd10]
mov al, byte [eax + ecx]
movzx edi, al
cmp byte [ebp + edi - 0x104], 0
jne 0x1004f695
mov eax, dword [ebp + edi*4 - 0x504]
mov dword [esi + eax*4], ecx
dec eax
mov dword [ebp + edi*4 - 0x504], eax
mov eax, dword [ebp - 0xd30]
dec edx
cmp edx, dword [ebp + eax - 0x504]
jg 0x1004f665
mov esi, dword [ebp - 0xd14]
mov ebx, dword [ebp - 0xd0c]
mov edi, dword [ebp - 0xd24]
mov ecx, dword [ebp + eax - 0x904]
mov edx, dword [ebp + eax - 0x504]
lea eax, [ecx - 1]
cmp eax, edx
je 0x1004f6e0
test ecx, ecx
jne 0x1004f82e
cmp edx, dword [ebp - 0xd34]
jne 0x1004f82e
mov eax, 0x100
jmp 0x1004f6f0
or dword [ebx], 0x200000
lea ebx, [ebx + 0x400]
dec eax
jne 0x1004f6f0
mov eax, dword [ebp - 0xd2c]
mov ebx, dword [ebp - 0xd20]
mov byte [eax], 1
cmp ebx, 0xff
jge 0x1004f7c8
mov edx, dword [ebp - 0xd24]
xor ecx, ecx
mov edi, dword [edi]
and edi, 0xffdfffff
mov edx, dword [edx + 0x400]
and edx, 0xffdfffff
sub edx, edi
cmp edx, 0xfffe
jle 0x1004f74c
inc ecx
mov eax, edx
sar eax, cl
cmp eax, 0xfffe
jg 0x1004f740
lea eax, [edx - 1]
mov edx, eax
mov dword [ebp - 0xd0c], eax
test edx, edx
js 0x1004f7bf
lea eax, [edi + edx]
mov edi, dword [ebp - 0xd18]
lea ebx, [edi + eax*4]
jmp 0x1004f770
mov edi, dword [ebx]
mov eax, edx
mov esi, dword [ebp - 0xd28]
sar eax, cl
movzx eax, ax
mov dword [ebp - 0xd2c], eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xd1c]
cmp edi, 0x22
jge 0x1004f7a7
lea eax, [esi + edi]
mov esi, dword [ebp - 0xd28]
mov edi, dword [ebp - 0xd2c]
mov word [esi + eax*2], di
sub ebx, 4
dec edx
jns 0x1004f770
mov esi, dword [ebp - 0xd14]
mov eax, dword [ebp - 0xd0c]
mov ebx, dword [ebp - 0xd20]
sar eax, cl
cmp eax, 0xffff
jg 0x1004f838
inc ebx
mov dword [ebp - 0xd20], ebx
cmp ebx, 0xff
jg 0x1004f7e2
mov ecx, dword [ebp - 0xd08]
jmp 0x1004f480
cmp dword [ebp + 0x14], 4
jl 0x1004f811
mov ecx, dword [ebp - 0xd1c]
mov eax, ecx
mov edx, dword [ebp - 0xd08]
sub eax, edx
push eax
push edx
push ecx
push str._________d_pointers___d_sorted___d_scanned_n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10103392
mov esp, ebp
pop ebp
ret
push str.1.0.6__6_Sept_2010
push 0x3ee
jmp 0x1004f842
mov ecx, 0x3ef
call fcn.1004f9e0
push str.1.0.6__6_Sept_2010
push 0x3ea
push str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to_me_at:_jseward_bzip.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks.__Julian_Seward__10_December_2007._n_n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
add esp, 0x10
push 3
call fcn.1010696e
call fcn.10105200
int3