Function at 0x10018960
Capabilities:
Terminate process

Disassembly:
mov eax, 0x143c
call fcn.10037760
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1454]
xor ebp, ebp
cmp edi, ebp
jle 0x100189a0
lea edx, [esp + 0x430]
sub edx, ecx
mov esi, edi
mov eax, dword [ecx]
cmp eax, ebp
jne 0x10018991
mov eax, 1
shl eax, 8
mov dword [edx + ecx], eax
add ecx, 4
sub esi, 1
jne 0x10018986
nop
mov esi, 1
xor edx, edx
cmp edi, esi
mov ebx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x42c], ebp
mov dword [esp + 0xc3c], 0xfffffffe
mov dword [esp + 0x10], esi
jl 0x10018bd9
mov ecx, edi
or eax, 0xffffffff
lea edi, [esp + 0xc40]
rep stosd dword es:[edi], eax
lea esp, [esp]
add edx, 1
mov eax, edx
mov edi, esi
mov ebp, dword [esp + edi*4 + 0x42c]
sar eax, 1
mov dword [esp + edx*4 + 0x1c], esi
mov esi, dword [esp + eax*4 + 0x1c]
cmp ebp, dword [esp + esi*4 + 0x42c]
mov ecx, edx
jge 0x10018a18
mov dword [esp + ecx*4 + 0x1c], esi
mov ecx, eax
sar eax, 1
mov esi, dword [esp + eax*4 + 0x1c]
cmp ebp, dword [esp + esi*4 + 0x42c]
jl 0x10018a03
mov esi, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x1c], edi
mov edi, dword [esp + 0x1454]
add esi, 1
cmp esi, edi
mov dword [esp + 0x10], esi
jle 0x100189e0
cmp edx, 0x104
jge 0x10018c6d
cmp edx, 1
jle 0x10018bd9
jmp 0x10018a50
mov esi, dword [esp + edx*4 + 0x1c]
mov edi, dword [esp + 0x20]
sub edx, 1
mov eax, 2
cmp eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov ecx, 1
mov dword [esp + 0x14], esi
jg 0x10018aba
mov esi, dword [esp + esi*4 + 0x42c]
mov dword [esp + 0x10], esi
jge 0x10018a9d
mov esi, dword [esp + eax*4 + 0x20]
mov ebp, dword [esp + eax*4 + 0x1c]
mov esi, dword [esp + esi*4 + 0x42c]
cmp esi, dword [esp + ebp*4 + 0x42c]
jge 0x10018a9d
add eax, 1
mov esi, dword [esp + eax*4 + 0x1c]
mov ebp, dword [esp + 0x10]
cmp ebp, dword [esp + esi*4 + 0x42c]
jl 0x10018aba
mov dword [esp + ecx*4 + 0x1c], esi
mov ecx, eax
add eax, eax
cmp eax, edx
jle 0x10018a80
mov eax, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x1c], eax
mov esi, dword [esp + edx*4 + 0x1c]
mov ebp, dword [esp + 0x20]
sub edx, 1
mov eax, 2
cmp eax, edx
mov dword [esp + 0x20], esi
mov ecx, 1
mov dword [esp + 0x10], esi
jg 0x10018b2c
mov esi, dword [esp + esi*4 + 0x42c]
mov dword [esp + 0x14], esi
jge 0x10018b0b
mov esi, dword [esp + eax*4 + 0x20]
mov edi, dword [esp + eax*4 + 0x1c]
mov esi, dword [esp + esi*4 + 0x42c]
cmp esi, dword [esp + edi*4 + 0x42c]
jge 0x10018b0b
add eax, 1
mov edi, dword [esp + eax*4 + 0x1c]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + edi*4 + 0x42c]
jl 0x10018b28
mov dword [esp + ecx*4 + 0x1c], edi
mov ecx, eax
add eax, eax
cmp eax, edx
jle 0x10018aee
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, 1
mov dword [esp + ecx*4 + 0x1c], eax
mov eax, dword [esp + edi*4 + 0x42c]
mov ecx, dword [esp + ebp*4 + 0x42c]
mov dword [esp + ebp*4 + 0xc3c], ebx
mov dword [esp + edi*4 + 0xc3c], ebx
mov esi, ecx
mov edi, eax
and esi, 0xff
and edi, 0xff
cmp edi, esi
jle 0x10018b69
mov esi, edi
and eax, 0xffffff00
and ecx, 0xffffff00
add eax, ecx
add esi, 1
or eax, esi
add edx, 1
mov dword [esp + ebx*4 + 0x42c], eax
mov eax, edx
sar eax, 1
mov edi, ebx
mov ebp, dword [esp + edi*4 + 0x42c]
mov dword [esp + edx*4 + 0x1c], ebx
mov esi, dword [esp + eax*4 + 0x1c]
cmp ebp, dword [esp + esi*4 + 0x42c]
mov dword [esp + ebx*4 + 0xc3c], 0xffffffff
mov ecx, edx
jge 0x10018bc5
mov dword [esp + ecx*4 + 0x1c], esi
mov ecx, eax
sar eax, 1
mov esi, dword [esp + eax*4 + 0x1c]
cmp ebp, dword [esp + esi*4 + 0x42c]
jl 0x10018bb0
cmp edx, 1
mov dword [esp + ecx*4 + 0x1c], edi
jg 0x10018a50
mov edi, dword [esp + 0x1454]
cmp ebx, 0x204
jge 0x10018c94
mov edx, 1
xor bl, bl
cmp edi, edx
jl 0x10018ca0
lea esi, [esp + 0xc40]
xor ebp, ebp
lea ecx, [ecx]
xor ecx, ecx
cmp dword [esi], ebp
jl 0x10018c20
mov eax, esi
jmp 0x10018c10
mov eax, dword [eax]
lea eax, [esp + eax*4 + 0xc3c]
add ecx, 1
cmp dword [eax], ebp
jge 0x10018c10
cmp ecx, 0x11
mov eax, dword [esp + 0x1450]
mov byte [eax + edx - 1], cl
jle 0x10018c32
mov bl, 1
add edx, 1
add esi, 4
cmp edx, edi
jle 0x10018c00
test bl, bl
je 0x10018ca0
mov ecx, 1
mov eax, dword [esp + ecx*4 + 0x42c]
sar eax, 8
cdq
sub eax, edx
sar eax, 1
add eax, 1
shl eax, 8
mov dword [esp + ecx*4 + 0x42c], eax
add ecx, 1
cmp ecx, edi
jle 0x10018c45
jmp 0x100189a0
push str.1.0.4__20_Dec_2006
push 0x7d1
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__15_February_2005._n_n
call fcn.1002f561
add eax, 0x40
push eax
call fcn.1002f702
add esp, 0x10
push 3
call fcn.1002fae1
push str.1.0.4__20_Dec_2006
push 0x7d2
jmp 0x10018c77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x143c
ret