Function at 0x1004dec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x328], ebx
mov eax, 1
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x344], edx
cmp eax, 0x63
jge 0x1004e1e1
dec eax
lea ecx, [ebp - 0x324]
mov esi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x34c], ecx
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x33c], eax
lea eax, [ecx + eax*4]
mov dword [ebp - 0x340], esi
mov ecx, dword [eax]
mov dword [ebp - 0x350], eax
mov eax, ecx
sub eax, esi
mov dword [ebp - 0x330], ecx
cmp eax, 0xa
jge 0x1004df60
push ecx
push esi
mov edx, ebx
mov ecx, edi
call fcn.1004ddf0
add esp, 8
jmp 0x1004e1bc
imul edx, edx, 0x1dc5
mov eax, 0xaaaaaaab
inc edx
and edx, 0x7fff
mov dword [ebp - 0x344], edx
mov ecx, dword [ebp - 0x344]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x1004df9d
mov eax, dword [edi + esi*4]
mov ecx, dword [ebx + eax*4]
mov dword [ebp - 0x32c], ecx
mov ecx, dword [ebp - 0x328]
jmp 0x1004dfd2
mov eax, dword [ebp - 0x330]
cmp ecx, 1
jne 0x1004dfc0
add eax, esi
sar eax, 1
mov eax, dword [edi + eax*4]
mov ecx, dword [ebx + eax*4]
mov dword [ebp - 0x32c], ecx
mov ecx, dword [ebp - 0x328]
jmp 0x1004dfd2
mov eax, dword [edi + eax*4]
mov ecx, dword [ebp - 0x328]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x330]
mov ebx, esi
mov dword [ebp - 0x338], eax
cmp esi, eax
jg 0x1004e050
mov edx, dword [edi + esi*4]
mov ecx, dword [ecx + edx*4]
sub ecx, dword [ebp - 0x32c]
jne 0x1004e009
mov ecx, dword [edi + ebx*4]
mov dword [edi + esi*4], ecx
inc esi
mov dword [edi + ebx*4], edx
inc ebx
cmp esi, eax
jg 0x1004e050
mov ecx, dword [ebp - 0x328]
jmp 0x1004dfe4
test ecx, ecx
jle 0x1004e183
mov edx, dword [edi + eax*4]
mov ecx, dword [ebp - 0x328]
mov ecx, dword [ecx + edx*4]
sub ecx, dword [ebp - 0x32c]
jne 0x1004e043
mov ecx, dword [ebp - 0x338]
mov ecx, dword [edi + ecx*4]
mov dword [edi + eax*4], ecx
mov ecx, dword [ebp - 0x338]
mov dword [edi + ecx*4], edx
dec ecx
mov dword [ebp - 0x338], ecx
jmp 0x1004e04b
test ecx, ecx
js 0x1004e16a
dec eax
cmp esi, eax
jle 0x1004e011
mov dword [ebp - 0x334], esi
cmp dword [ebp - 0x338], ebx
jl 0x1004e1b6
mov edx, esi
sub edx, ebx
sub ebx, dword [ebp - 0x340]
cmp ebx, edx
mov dword [ebp - 0x354], edx
mov ecx, edx
cmovl ecx, ebx
mov dword [ebp - 0x32c], ecx
test ecx, ecx
jle 0x1004e0c2
mov ecx, dword [ebp - 0x340]
lea ebx, [edi + ecx*4]
mov ecx, esi
mov esi, dword [ebp - 0x32c]
sub ecx, esi
lea ecx, [edi + ecx*4]
mov dword [ebp - 0x32c], ecx
mov edi, ecx
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, dword [edi]
lea edi, [edi + 4]
mov dword [ebx - 4], ecx
dec esi
mov dword [edi - 4], edx
test esi, esi
jg 0x1004e0a1
mov esi, dword [ebp - 0x334]
mov edi, dword [ebp - 0x348]
mov ebx, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x330]
sub ebx, eax
sub ecx, dword [ebp - 0x338]
cmp ecx, ebx
cmovl ebx, ecx
test ebx, ebx
jle 0x1004e113
mov ecx, dword [ebp - 0x330]
lea esi, [edi + esi*4]
sub ecx, ebx
add edi, 4
lea ecx, [edi + ecx*4]
mov dword [ebp - 0x334], ecx
mov edi, ecx
mov edx, dword [esi]
lea esi, [esi + 4]
mov ecx, dword [edi]
lea edi, [edi + 4]
mov dword [esi - 4], ecx
dec ebx
mov dword [edi - 4], edx
test ebx, ebx
jg 0x1004e0f8
mov edi, dword [ebp - 0x348]
mov ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x354]
sub eax, dword [ebp - 0x338]
dec edx
mov ebx, dword [ebp - 0x340]
add edx, ebx
lea esi, [ecx + 1]
add esi, eax
mov eax, edx
sub ecx, esi
sub eax, ebx
cmp eax, ecx
jle 0x1004e18f
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x330]
mov ebx, dword [ebp - 0x328]
mov dword [eax], edx
mov eax, dword [ebp - 0x33c]
mov dword [ebp + eax*4 - 0x320], esi
mov dword [ebp + eax*4 - 0x190], ecx
add eax, 2
jmp 0x1004e1c2
mov ecx, dword [edi + eax*4]
mov edx, dword [edi + esi*4]
mov dword [edi + esi*4], ecx
inc esi
mov ecx, dword [ebp - 0x328]
mov dword [edi + eax*4], edx
dec eax
jmp 0x1004dfe0
mov ecx, dword [ebp - 0x328]
inc esi
jmp 0x1004dfe0
mov eax, dword [ebp - 0x34c]
mov dword [eax], esi
mov eax, dword [ebp - 0x33c]
mov dword [ebp + eax*4 - 0x320], ebx
mov ebx, dword [ebp - 0x328]
mov dword [ebp + eax*4 - 0x190], edx
add eax, 2
jmp 0x1004e1c2
mov ebx, dword [ebp - 0x328]
mov eax, dword [ebp - 0x33c]
mov edx, dword [ebp - 0x344]
test eax, eax
jg 0x1004df05
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 0x3ec
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