Function at 0x10055700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1448
call fcn.10115e40
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 1
mov dword [ebp - 0x1440], ecx
test edi, edi
jle 0x10055750
lea esi, [ebp - 0xc20]
mov ecx, edi
sub esi, edx
mov eax, dword [edx]
lea edx, [edx + 4]
test eax, eax
cmove eax, ebx
shl eax, 8
mov dword [esi + edx - 4], eax
dec ecx
jne 0x10055736
lea ebx, [ebx]
xor esi, esi
mov dword [ebp - 0x143c], edi
mov dword [ebp - 0x414], esi
mov dword [ebp - 0xc24], esi
mov dword [ebp - 0x1434], 0xfffffffe
lea ebx, [esi + 1]
cmp edi, ebx
jl 0x100559b4
mov ecx, edi
or eax, 0xffffffff
lea edi, [ebp - 0x1430]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + ebx*4 - 0xc24]
inc esi
mov eax, esi
mov ecx, esi
sar eax, 1
mov dword [ebp + esi*4 - 0x414], ebx
mov edx, dword [ebp + eax*4 - 0x414]
cmp edi, dword [ebp + edx*4 - 0xc24]
jge 0x100557cb
jmp 0x100557b0
mov dword [ebp + ecx*4 - 0x414], edx
mov ecx, eax
sar eax, 1
mov edx, dword [ebp + eax*4 - 0x414]
cmp edi, dword [ebp + edx*4 - 0xc24]
jl 0x100557b0
mov edi, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x414], ebx
inc ebx
cmp ebx, edi
jle 0x10055786
cmp esi, 0x104
jge 0x10055a71
cmp esi, 1
jle 0x100559b8
nop
mov eax, dword [ebp - 0x410]
mov edi, 1
mov ecx, dword [ebp + esi*4 - 0x414]
dec esi
mov dword [ebp - 0x1448], eax
mov eax, 2
mov dword [ebp - 0x1438], ecx
mov dword [ebp - 0x410], ecx
cmp esi, eax
jl 0x1005586d
mov ebx, dword [ebp + ecx*4 - 0xc24]
cmp eax, esi
jge 0x10055848
mov ecx, dword [ebp + eax*4 - 0x410]
mov edx, dword [ebp + eax*4 - 0x414]
mov ecx, dword [ebp + ecx*4 - 0xc24]
cmp ecx, dword [ebp + edx*4 - 0xc24]
jge 0x10055848
inc eax
mov ecx, dword [ebp + eax*4 - 0x414]
cmp ebx, dword [ebp + ecx*4 - 0xc24]
jl 0x10055867
mov dword [ebp + edi*4 - 0x414], ecx
mov edi, eax
add eax, eax
cmp eax, esi
jle 0x10055827
mov ecx, dword [ebp - 0x1438]
mov dword [ebp + edi*4 - 0x414], ecx
mov edx, 2
mov eax, dword [ebp + esi*4 - 0x414]
mov edi, 1
mov ecx, dword [ebp - 0x410]
dec esi
mov dword [ebp - 0x1444], ecx
mov dword [ebp - 0x1438], eax
mov dword [ebp - 0x410], eax
cmp esi, edx
jl 0x100558f7
mov ebx, dword [ebp + eax*4 - 0xc24]
cmp edx, esi
jge 0x100558cc
mov eax, dword [ebp + edx*4 - 0x410]
mov ecx, dword [ebp + edx*4 - 0x414]
mov eax, dword [ebp + eax*4 - 0xc24]
cmp eax, dword [ebp + ecx*4 - 0xc24]
jge 0x100558cc
inc edx
mov eax, dword [ebp + edx*4 - 0x414]
cmp ebx, dword [ebp + eax*4 - 0xc24]
jl 0x100558eb
mov dword [ebp + edi*4 - 0x414], eax
mov edi, edx
add edx, edx
cmp edx, esi
jle 0x100558ab
mov eax, dword [ebp - 0x1438]
mov ecx, dword [ebp - 0x1444]
mov ebx, dword [ebp - 0x143c]
mov edx, dword [ebp + ecx*4 - 0xc24]
inc ebx
mov dword [ebp + edi*4 - 0x414], eax
mov eax, dword [ebp - 0x1448]
mov dword [ebp + ecx*4 - 0x1434], ebx
mov ecx, edx
and ecx, 0xff
mov dword [ebp + esi*4 - 0x410], ebx
mov dword [ebp - 0x143c], ebx
mov edi, dword [ebp + eax*4 - 0xc24]
mov dword [ebp + eax*4 - 0x1434], ebx
mov eax, edi
and eax, 0xff
mov dword [ebp + ebx*4 - 0x1434], 0xffffffff
cmp eax, ecx
cmovg ecx, eax
and edi, 0xffffff00
and edx, 0xffffff00
inc esi
add edi, edx
lea eax, [ecx + 1]
mov ecx, esi
or edi, eax
mov eax, esi
sar eax, 1
mov dword [ebp + ebx*4 - 0xc24], edi
mov edx, dword [ebp + eax*4 - 0x414]
cmp edi, dword [ebp + edx*4 - 0xc24]
jge 0x1005599f
mov dword [ebp + ecx*4 - 0x414], edx
mov ecx, eax
sar eax, 1
mov edx, dword [ebp + eax*4 - 0x414]
cmp edi, dword [ebp + edx*4 - 0xc24]
jl 0x10055984
mov dword [ebp + ecx*4 - 0x414], ebx
cmp esi, 1
jg 0x100557f0
mov edi, dword [ebp + 8]
jmp 0x100559be
mov ebx, edi
jmp 0x100559be
mov ebx, dword [ebp - 0x143c]
cmp ebx, 0x204
jge 0x10055a54
mov esi, 1
xor bl, bl
cmp edi, esi
jl 0x10055a60
mov eax, dword [ebp - 0x1440]
lea edx, [ebp - 0x1430]
xor ecx, ecx
cmp dword [edx], ecx
jl 0x10055a0a
mov eax, edx
lea ecx, [ecx]
mov eax, dword [eax]
inc ecx
cmp dword [ebp + eax*4 - 0x1434], 0
lea eax, [ebp + eax*4 - 0x1434]
jge 0x100559f0
mov eax, dword [ebp - 0x1440]
cmp ecx, 0x11
mov byte [eax + esi - 1], cl
movzx ebx, bl
mov ecx, 1
cmovg ebx, ecx
inc esi
add edx, 4
cmp esi, edi
jle 0x100559e5
test bl, bl
je 0x10055a60
jmp 0x10055a30
mov eax, dword [ebp + ecx*4 - 0xc24]
sar eax, 8
cdq
sub eax, edx
sar eax, 1
inc eax
shl eax, 8
mov dword [ebp + ecx*4 - 0xc24], eax
inc ecx
cmp ecx, edi
jle 0x10055a30
jmp 0x10055750
push str.1.0.6__6_Sept_2010
push 0x7d2
jmp 0x10055a7b
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 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__10_December_2007._n_n
call fcn.10105b27
add eax, 0x40
push eax
call fcn.10105c03
add esp, 0x10
push 3
call fcn.1010696e
int3