Function at 0x402af8
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4406a9
call fcn.00416678
sub esp, 0x84
push ebx
push esi
mov esi, ecx
mov ebx, 0x458744
push edi
push ebx
lea ecx, [esi + 0x18]
call fcn.00426b8f
mov ecx, esi
call fcn.00401492
or dword [ebp - 0x10], 0xffffffff
mov edi, 0x443720
mov dword [ebp - 0x14], edi
push dword [esi + 0x10]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00403372
test eax, eax
jne 0x402b67
push str.Self_Parse_Failed
lea ecx, [ebp + 8]
call fcn.00426a74
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00402aa5
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.00426a06
push 0
jmp 0x402dde
mov eax, dword [0x458740]
test eax, eax
je 0x402b8b
mov eax, dword [eax + 4]
test eax, eax
je 0x402b8b
cmp dword [eax + 0x3c], 0
je 0x402b8b
call fcn.00404512
test eax, eax
je 0x402b8b
call fcn.0040452c
mov eax, dword [esi + 4]
test eax, eax
je 0x402bd8
mov eax, dword [eax + 0x118]
push ebx
push eax
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
je 0x402bd8
mov eax, dword [esi + 4]
push dword [eax + 0x118]
call fcn.00401000
test eax, eax
pop ecx
je 0x402bd8
mov eax, dword [esi + 4]
push dword [eax + 0x11c]
call fcn.00401000
test eax, eax
pop ecx
je 0x402bd8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call fcn.00406bb3
pop ecx
and dword [ebp - 0x34], 0
call fcn.004021ac
mov ecx, eax
call fcn.00402095
test eax, eax
jne 0x402d51
push 0x10
call fcn.00426fd1
mov ebx, eax
pop ecx
mov dword [ebp - 0x38], ebx
xor ecx, ecx
cmp ebx, ecx
je 0x402c2c
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
push dword [ebp + 8]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
mov dword [ebx], method.CCommandLineInfo.virtual_0
call fcn.004071c5
mov dword [ebp + 8], ebx
jmp 0x402c2f
mov dword [ebp + 8], ecx
and byte [ebp - 4], 0
push 0x458744
lea ecx, [ebp - 0x18]
call fcn.00426a74
mov byte [ebp - 4], 4
call fcn.004021ac
mov ecx, eax
call fcn.00401e9c
mov dword [ebp - 0x2c], eax
call fcn.004021ac
mov ecx, eax
call fcn.00401eab
cmp dword [ebp - 0x2c], 0xffffffff
mov ebx, eax
jne 0x402c9a
mov ecx, dword [ebp + 8]
push ebx
call fcn.004075e6
test eax, eax
jne 0x402cad
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00407775
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00426b3f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00426a06
cmp dword [ebp - 0x2c], 0xfffffffe
jne 0x402d1b
mov ecx, dword [ebp + 8]
push ebx
call fcn.004075d0
test eax, eax
je 0x402cf5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 1
push eax
call fcn.004021ac
mov ecx, eax
call fcn.00401ecc
push 0x458744
mov byte [ebp - 4], 7
push dword [ebp - 0x24]
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
je 0x402ce7
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x18]
push eax
call fcn.00426b3f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00426a06
jmp 0x402d37
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0040761d
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00426b3f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00426a06
call fcn.004021ac
mov ecx, eax
call fcn.00401eba
test eax, eax
je 0x402d37
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x18]
push eax
call fcn.00426b3f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00426a06
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x402d51
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 4]
xor ebx, ebx
mov ecx, dword [eax + 0x138]
cmp ecx, ebx
mov dword [ebp - 0x1c], ecx
jne 0x402d8b
push str.No_files_in_E_Book_
lea ecx, [ebp + 8]
call fcn.00426a74
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
call fcn.00402aa5
and byte [ebp - 4], bl
pop ecx
lea ecx, [ebp + 8]
call fcn.00426a06
jmp 0x402ddd
mov edx, dword [esi + 0xc]
cmp ecx, dword [edx + 8]
je 0x402db7
push str.File_Counts_do_not_match_
lea ecx, [ebp + 8]
call fcn.00426a74
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
call fcn.00402aa5
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
jmp 0x402d84
push dword [eax + 0x118]
call fcn.00401000
test eax, eax
pop ecx
je 0x402ddd
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], ebx
push dword [eax + 0x11c]
call fcn.00401000
test eax, eax
pop ecx
jne 0x402df0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x403331
push str.Password_Protected_Page
lea ecx, [ebp - 0x44]
call fcn.00426a74
push str.PASSWORD_PROTECTED_PAGE
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.00426a74
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
push eax
call fcn.0040b753
mov ebx, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov dword [esp], str._TARGET_blank_Click_here__A__to_get_your_password.
call fcn.00426a74
mov dword [ebp + 8], eax
push str._BR__BR__A_HREF
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.00426a74
push eax
mov eax, dword [esi + 4]
add eax, 0x8c
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00426c35
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xf
add ecx, 0x90
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00426c35
push dword [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00426c35
mov dword [ebp + 8], eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00401a01
push eax
mov ecx, esi
call fcn.00401a12
push eax
lea eax, [ebp - 0x44]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b4ea
add esp, 0x14
mov dword [ebp + 8], eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00401a45
push eax
mov ecx, esi
call fcn.00401a34
push eax
mov ecx, esi
call fcn.00401a23
push eax
mov ecx, esi
call fcn.0040198b
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040b2f5
add esp, 0x18
push dword [ebp + 8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00426c35
push ebx
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
call fcn.00426c35
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x20
call fcn.00426a06
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1f
call fcn.00426a06
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1e
call fcn.00426a06
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1d
call fcn.00426a06
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call fcn.00426a06
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
call fcn.00426a06
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1a
call fcn.00426a06
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x19
call fcn.00426a06
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
call fcn.00426a06
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00426a06
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x16
call fcn.00426a06
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 0x118
add ecx, 4
mov eax, dword [eax]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
je 0x402fb7
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 8]
cmp dword [eax + 0xc], 0
jle 0x403011
lea eax, [ebp + 8]
push eax
call fcn.0040655d
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
push dword [ecx + 0xc]
mov eax, dword [eax + 0x60]
push eax
push dword [ebp + 8]
call fcn.0040565b
push eax
lea eax, [ebp - 0x90]
push 0x4542e8
push eax
call fcn.0041692d
add esp, 0x1c
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x20]
push eax
push 0x4542e4
call fcn.004243f0
mov ecx, esi
call fcn.00402095
mov dword [ebp - 0x3c], eax
lea ebx, [esi + 0x14]
push 0x458744
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
call fcn.00426b8f
push 0x458744
lea ecx, [ebp - 0x28]
call fcn.00426a74
mov eax, dword [esi + 8]
mov byte [ebp - 4], 0x21
push dword [eax + 4]
call fcn.00401000
test eax, eax
pop ecx
je 0x4031ee
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jle 0x4031de
xor ebx, ebx
lea eax, [ebp - 0x54]
push eax
call fcn.0040bf6d
pop ecx
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 0x22
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ebx + 4]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00426c35
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x24
call fcn.00426a06
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
lea eax, [eax + ebx + 4]
push eax
call fcn.0042677b
lea eax, [ebp - 0x18]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 0x25
call fcn.0042677b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x26
call fcn.00426f3a
mov eax, dword [ebp - 0x2c]
push 0x458744
mov eax, dword [eax]
push eax
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
jne 0x4030df
push str.index.htm
push dword [ebp + 8]
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
je 0x4030f2
push str.index.html
push dword [ebp + 8]
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
jne 0x40310a
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
call fcn.00426b3f
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
call fcn.00426b3f
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 8], ecx
jne 0x40311c
xor eax, eax
jmp 0x403124
xor eax, eax
cmp dword [ebp - 0x3c], ecx
sete al
cmp dword [ebp - 0x34], ecx
je 0x40312c
push 1
pop eax
cmp eax, ecx
je 0x403160
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
push dword [eax - 8]
call fcn.0040453f
push eax
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0042677b
call fcn.0040c2d3
add esp, 0xc
test eax, eax
je 0x403202
jmp 0x403195
lea eax, [ebp - 0x5c]
push eax
call fcn.0040bf6d
pop ecx
push eax
lea ecx, [ebp - 0x14]
push dword [esi + 0x10]
mov byte [ebp - 4], 0x27
push dword [ebp - 0x24]
push dword [esi + 0xc]
call fcn.004042ec
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x26
call fcn.00426a06
cmp dword [ebp - 0x38], 0
je 0x403212
lea eax, [ebp - 0x30]
push eax
call fcn.0040c141
mov ecx, eax
call fcn.0040c184
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x25
call fcn.00426a06
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x24
call fcn.00426a06
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x21
call fcn.00426a06
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add ebx, 0x30
cmp eax, dword [ebp - 0x1c]
jl 0x403058
mov ebx, dword [ebp - 0x2c]
mov eax, dword [esi + 8]
push dword [eax + 8]
call fcn.00401000
test eax, eax
pop ecx
jne 0x40325d
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x403319
push 0
push 0
push str.Out_of_disk_space_or_file_handles
call fcn.0043237c
jmp 0x403239
push str.Error_parsing_content_of_E_Book.__Out_of_disk_space__file_handles_or_file_corrupted.
lea ecx, [ebp - 0x1c]
call fcn.00426a74
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x28
push eax
call fcn.00402aa5
pop ecx
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x1c]
call fcn.00426a06
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x25
call fcn.00426a06
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x24
call fcn.00426a06
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x30]
jmp 0x403314
mov ecx, esi
call fcn.00401ccd
test eax, eax
jne 0x4032bd
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040c61e
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x29
call fcn.00426b3f
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x21
call fcn.00426a06
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
add eax, 0x11c
add esi, 8
mov eax, dword [eax]
mov esi, dword [esi]
push eax
push esi
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
je 0x4032bd
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebx]
push 0x458744
push eax
call fcn.004161f3
pop ecx
test eax, eax
pop ecx
jne 0x403319
push str.Index_file_not_found_
lea ecx, [ebp + 8]
call fcn.00426a74
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x2a
push eax
call fcn.00402aa5
pop ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 8]
call fcn.00426a06
lea eax, [ebp + 8]
push eax
call fcn.0040c348
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x2b
call fcn.00426b3f
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 8]
call fcn.00426a06
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.00426a06
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00426a06
cmp dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], edi
je 0x403343
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll__lclose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4