Function at 0x401ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x14]
mov edi, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x4e4], 2
mov edx, 1
cmp edx, 0x62
jge 0x402202
dec edx
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x24], edx
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x354]
lea ecx, [ebp - 0x4e4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x34], eax
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
lea eax, [ecx + eax*4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
mov eax, edx
sub eax, esi
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], ecx
cmp eax, 0x14
jl 0x4021d0
cmp ecx, 0xe
jg 0x4021d0
lea eax, [edx + esi]
sar eax, 1
mov eax, dword [edi + eax*4]
add eax, ecx
mov al, byte [eax + ebx]
mov byte [ebp + 0x13], al
mov eax, dword [edi + edx*4]
add eax, ecx
mov dl, byte [eax + ebx]
lea eax, [edi + esi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
add eax, ecx
mov bl, byte [eax + ebx]
cmp bl, dl
jbe 0x401f80
mov al, bl
mov bl, dl
mov dl, al
mov bh, byte [ebp + 0x13]
cmp dl, bh
jbe 0x401f92
movzx edx, bh
movzx eax, bl
cmp bl, bh
cmova edx, eax
movzx eax, dl
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov ebx, esi
mov dword [ebp + 0x10], eax
cmp esi, eax
jg 0x402006
mov edx, dword [edi + esi*4]
mov edi, dword [ebp - 0x1c]
add ecx, edx
movzx ecx, byte [ecx + edi]
mov edi, dword [ebp - 0x20]
sub ecx, dword [ebp - 0xc]
jne 0x401fcc
mov ecx, dword [edi + ebx*4]
mov dword [edi + esi*4], ecx
mov dword [edi + ebx*4], edx
inc esi
inc ebx
cmp esi, eax
jg 0x402006
mov ecx, dword [ebp - 4]
jmp 0x401fa4
test ecx, ecx
jle 0x40203b
mov edx, dword [edi + eax*4]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
add ecx, edx
movzx ecx, byte [ecx + edi]
mov edi, dword [ebp - 0x20]
sub ecx, dword [ebp - 0xc]
jne 0x401ffd
mov ecx, dword [ebp + 0x10]
mov ecx, dword [edi + ecx*4]
mov dword [edi + eax*4], ecx
mov ecx, dword [ebp + 0x10]
dec ecx
mov dword [edi + ecx*4 + 4], edx
mov dword [ebp + 0x10], ecx
jmp 0x402001
test ecx, ecx
js 0x402025
dec eax
cmp esi, eax
jle 0x401fd0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esi
cmp ecx, ebx
jge 0x402044
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
inc eax
mov dword [edx], eax
mov edx, dword [ebp - 0x24]
inc edx
jmp 0x4021f3
mov ecx, dword [edi + eax*4]
mov edx, dword [edi + esi*4]
mov dword [edi + esi*4], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + eax*4], edx
inc esi
dec eax
jmp 0x401fa0
mov ecx, dword [ebp - 4]
inc esi
jmp 0x401fa0
mov edx, esi
sub edx, ebx
sub ebx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
cmp ebx, edx
cmovl edx, ebx
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x402082
mov ecx, esi
mov esi, dword [ebp - 0x14]
sub ecx, edx
lea ebx, [edi + ecx*4]
mov edi, edx
mov ecx, dword [ebx]
mov edx, dword [esi]
mov dword [esi], ecx
dec edi
mov dword [ebx], edx
lea esi, [esi + 4]
lea ebx, [ebx + 4]
test edi, edi
jg 0x402066
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x10]
mov edx, ecx
mov ecx, dword [ebp + 0x14]
sub edx, eax
sub ecx, ebx
cmp ecx, edx
cmovl edx, ecx
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x4020c9
mov ecx, dword [ebp + 0x14]
lea ebx, [edi + esi*4]
mov esi, edx
sub ecx, esi
inc ecx
lea ecx, [edi + ecx*4]
mov dword [ebp - 0x10], ecx
mov edi, ecx
lea ecx, [ecx]
mov ecx, dword [edi]
mov edx, dword [ebx]
mov dword [ebx], ecx
dec esi
mov dword [edi], edx
lea ebx, [ebx + 4]
lea edi, [edi + 4]
test esi, esi
jg 0x4020b0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 0x14]
sub eax, ebx
mov ebx, dword [ebp - 0x18]
dec edx
add ecx, edx
mov edx, dword [ebp - 4]
inc esi
add esi, eax
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
lea eax, [esi - 1]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], ecx
lea eax, [edx + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
sub eax, ebx
sub ecx, esi
cmp eax, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
jge 0x402123
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov ebx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
sub eax, esi
cmp eax, ecx
jge 0x402150
mov ecx, dword [ebp - 0x28]
mov eax, esi
mov esi, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, edx
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0xc], eax
jmp 0x402153
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub ecx, esi
sub eax, ebx
cmp eax, ecx
jge 0x402177
mov ecx, dword [ebp + 0x14]
mov eax, ebx
mov ebx, esi
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, edx
jmp 0x40217d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
mov dword [edx], ebx
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [edx], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + edx*4 - 0x4e0], eax
mov eax, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x1c0], esi
mov dword [ebp + edx*4 - 0x1bc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + edx*4 - 0x350], ecx
mov dword [ebp + edx*4 - 0x34c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x4dc], eax
add edx, 3
jmp 0x4021f3
push dword [ebp + 0x1c]
push ecx
push edx
push esi
push dword [ebp + 0xc]
mov edx, ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.00401c40
mov eax, dword [ebp + 0x1c]
add esp, 0x18
cmp dword [eax], 0
jl 0x4021fb
mov edx, dword [ebp - 0x24]
test edx, edx
jg 0x401ef7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.1.0.6__6_Sept_2010
push 0x3e9
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 dword [sym.imp.msvcrt.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0x10
push 3
call dword [sym.imp.msvcrt.dll_exit]
int3