Function at 0x42f71d
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1b0
push ebx
mov dword [ebp + 0x6c], ecx
mov ecx, dword [ecx + 0x148]
push esi
push edi
test ecx, ecx
je 0x42f6d6
mov edx, str.gzip
call fcn.0042d06b
mov byte [ebp + 0x73], 1
test eax, eax
jne 0x42f6da
mov byte [ebp + 0x73], 0
mov eax, dword [0x483250]
test eax, eax
jne 0x42f6fd
mov ecx, str.webui.zip
call fcn.004344f6
mov ecx, eax
call fcn.00436b12
mov dword [0x483250], eax
test eax, eax
je 0x42f745
mov ecx, eax
call fcn.00436cd9
mov byte [0x483283], al
test al, al
je 0x42f72e
mov eax, dword [0x483250]
push dword [eax + 0x14]
push dword [eax + 0x18]
push str.__.8X_.8X_
push 0x13
push 0x483270
call fcn.0042e794
add esp, 0x14
jmp 0x42f745
test dword [0x486524], 0x8000000
je 0x42f745
push str.Unable_to_read_webui.zip
call fcn.0045c406
pop ecx
mov ebx, dword [ebp + 0x7c]
mov al, byte [ebx]
xor edi, edi
jmp 0x42f756
cmp al, 0x3f
je 0x42f75a
inc edi
mov al, byte [edi + ebx]
test al, al
jne 0x42f74e
lea esi, [edi + 1]
mov eax, esi
call section..text
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov ecx, esp
lea eax, [eax + 0x1c]
mov dword [eax], ecx
mov eax, esp
push esi
push ebx
push eax
call sub.MSVCRT.dll_memcpy
mov esi, eax
add esp, 0xc
lea eax, [edi + 4]
mov dword [ebp + 0x60], esi
mov byte [esi + edi], 0
call section..text
mov dword [ebp + 0x5c], esp
push edi
push esi
push dword [ebp + 0x5c]
call sub.MSVCRT.dll_memcpy
mov edx, dword [ebp + 0x5c]
add edi, edx
mov esi, 0x4679f8
movsd dword es:[edi], dword [esi]
and dword [ebp + 0x64], 0
add esp, 0xc
cmp byte [0x483283], 0
je 0x42f864
mov esi, dword [ebp + 0x6c]
lea ecx, [esi + 0x130]
cmp byte [ecx], 0
je 0x42f80c
mov eax, 0x483270
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x42f7f1
test bl, bl
je 0x42f7ed
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x42f7f1
inc eax
inc eax
inc ecx
inc ecx
test bl, bl
jne 0x42f7d3
xor eax, eax
jmp 0x42f7f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f80c
push str.HTTP_1.1_304_Not_Modified_r_nContent_Length:_0_r_n_r_n
push esi
call fcn.00420e19
pop ecx
pop ecx
jmp 0x42fc41
cmp byte [ebp + 0x73], 0
mov eax, edx
jne 0x42f956
mov eax, dword [ebp + 0x60]
mov esi, edx
lea ecx, [ebp + 0x64]
push ecx
mov ecx, dword [0x483250]
mov edx, eax
call fcn.00436d0a
mov ebx, eax
mov al, byte [ebp + 0x73]
mov byte [ebp + 0x72], al
test ebx, ebx
jne 0x42fae9
mov ecx, dword [0x483250]
lea eax, [ebp + 0x64]
push eax
mov edx, esi
call fcn.00436d0a
cmp byte [ebp + 0x73], 0
mov ebx, eax
sete byte [ebp + 0x72]
test ebx, ebx
jne 0x42fae9
mov ebx, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x60]
push 0x4679c0
push esi
call sub.MSVCRT.dll_strstr
pop ecx
pop ecx
test eax, eax
jne 0x42f8d9
mov ecx, dword [ebp + 0x5c]
cmp byte [ebp + 0x73], al
jne 0x42f885
mov ecx, esi
mov esi, dword [ebp + 0x5c]
call fcn.0042d321
push eax
call fcn.0042f1a4
push 0
lea edx, [ebp + 0x64]
mov ecx, eax
call fcn.00436140
mov ebx, eax
mov al, byte [ebp + 0x73]
mov byte [ebp + 0x72], al
test ebx, ebx
jne 0x42fae9
mov ecx, esi
call fcn.0042d321
push eax
call fcn.0042f1a4
push ebx
lea edx, [ebp + 0x64]
mov ecx, eax
call fcn.00436140
cmp byte [ebp + 0x73], 0
mov ebx, eax
sete byte [ebp + 0x72]
test ebx, ebx
jne 0x42fae9
mov ebx, dword [ebp + 0x7c]
push 0xa
push str.index.html
push ebx
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x42f98d
push 0x32
pop ecx
mov esi, str.The_micro_Torrent_WebUI_does_not_seem_to_be_installed._Click__a_href_download_webui__here__a__to_try_to_install_it__or_see_the__a_href_http:__utorrent.com_webui_guide.php__guide__a__for_more_details.
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push str.index.html_error1
push ebx
movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll__stricmp
pop ecx
pop ecx
mov ebx, 0xca
test eax, eax
jne 0x42f95e
push 0x1e
pop ecx
mov esi, str._b_There_was_a_problem_installing_micro_Torrent_WebUI__please_see_the_micro_Torrent_log_for_more_details.__b___br___br_
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x6c]
push 1
push eax
push eax
push 0xc8
push 0x143
movsw word es:[edi], word [esi]
call fcn.0041a81a
mov ecx, dword [ebp + 0x6c]
push 2
push 0x463de4
call fcn.0042040f
push 0x79
lea eax, [ebp - 0x60]
push eax
jmp 0x42f979
mov esi, dword [ebp + 0x60]
jmp 0x42f81d
mov ecx, dword [ebp + 0x6c]
push 1
push 0
push 0
push 0xc8
push ebx
call fcn.0041a81a
push 2
push 0x463de4
mov ecx, dword [ebp + 0x6c]
call fcn.0042040f
push ebx
lea eax, [ebp - 0x13c]
jmp 0x42fa56
push 0xe
push str.download_webui
push ebx
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x42f9e6
mov ecx, dword [0x483250]
test ecx, ecx
je 0x42f9be
call fcn.00436b31
and dword [0x483250], 0
mov byte [0x483283], 0
mov ecx, str.webui.zip
call fcn.004344f6
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call fcn.0042f124
mov ecx, dword [ebp + 0x6c]
push str.downloading_webui
call fcn.0041a2db
jmp 0x42fc41
push 0x11
push str.downloading_webui
push ebx
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x42fa64
cmp dword [0x482768], eax
jne 0x42fa1b
mov ecx, dword [ebp + 0x6c]
cmp byte [0x483283], al
je 0x42fa14
push str._gui_index.html
jmp 0x42f9dc
push str._gui_index.html_error1
jmp 0x42f9dc
push 0x22
pop ecx
mov esi, str._meta_http_equiv_refresh__content_1____Please_wait_while_the_micro_Torrent_WebUI_is_installed..._You_will_be_automatically_redirected.
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x6c]
push 1
push 0
push 0
movsw word es:[edi], word [esi]
push 0xc8
mov esi, 0x89
push esi
call fcn.0041a81a
mov ecx, dword [ebp + 0x6c]
push 2
push 0x463de4
call fcn.0042040f
push esi
lea eax, [ebp - 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
call fcn.0042040f
jmp 0x42fc41
push 0xa
push str.token.html
push ebx
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x42fadc
push 0xb
pop ecx
mov esi, str._html__div_idtoken_styledisplay:none__
lea edi, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.__div___html_
lea edi, [ebp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
push 0xd
lea eax, [ebp + 0x4c]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0x6c]
push 0x2c
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.0042ef2d
push 1
xor ebx, ebx
push ebx
push ebx
push 0xc8
push dword [ebp + 0x64]
mov ecx, esi
mov edi, eax
call fcn.0041a81a
push 2
push 0x463de4
mov ecx, esi
call fcn.0042040f
push ebx
push dword [ebp + 0x64]
push edi
jmp 0x42fc3a
push str.HTTP_1.1_404_Not_Found_r_nContent_Length:_0_r_n_r_n
push dword [ebp + 0x6c]
jmp 0x42f800
push 0xa
push str.index.html
push dword [ebp + 0x7c]
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x42fb19
push 0xa
push str.token.html
push dword [ebp + 0x7c]
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
mov byte [ebp + 0x6b], 0
test eax, eax
jne 0x42fb1d
mov byte [ebp + 0x6b], 1
cmp byte [ebp + 0x73], 0
je 0x42fb2d
cmp byte [ebp + 0x6b], 0
jne 0x42fb2d
mov al, 1
jmp 0x42fb2f
xor al, al
cmp byte [ebp + 0x72], 0
je 0x42fb5c
test al, al
jne 0x42fb5c
mov edx, dword [ebp + 0x64]
lea eax, [ebp + 0x60]
push eax
mov ecx, ebx
call fcn.004187ed
mov esi, eax
test esi, esi
je 0x42fb5c
mov ecx, ebx
call fcn.0043492c
mov eax, dword [ebp + 0x60]
mov ebx, esi
mov dword [ebp + 0x64], eax
cmp byte [ebp + 0x6b], 0
mov byte [ebp + 0x73], 1
je 0x42fbb9
mov eax, dword [ebp + 0x64]
mov esi, str.TOKEN
lea edi, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffff7
push eax
lea edx, [ebp + 0x50]
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.0042d0e9
test eax, eax
je 0x42fbb9
sub eax, ebx
mov ecx, eax
mov eax, dword [ebp + 0x64]
sub eax, ecx
lea edx, [ebp + 0x64]
push edx
sub eax, 9
mov edx, ebx
sub edx, eax
add edx, dword [ebp + 0x64]
push eax
push edx
push ecx
mov ecx, dword [ebp + 0x6c]
push ebx
mov esi, ebx
call fcn.0042ef2d
mov ecx, esi
mov ebx, eax
call fcn.0043492c
mov byte [ebp + 0x73], 0
push 0x2e
push dword [ebp + 0x7c]
call sub.MSVCRT.dll_strrchr
pop ecx
pop ecx
mov edx, str..ico
mov ecx, eax
call fcn.0040f103
xor ecx, ecx
test eax, eax
jl 0x42fbde
mov ecx, dword [eax*4 + 0x4676bc]
cmp byte [ebp + 0x73], 0
mov esi, dword [ebp + 0x6c]
sete al
movzx eax, al
push eax
movzx eax, byte [ebp + 0x72]
neg eax
sbb eax, eax
and eax, str.gzip
push eax
push ecx
push 0xc8
push dword [ebp + 0x64]
mov ecx, esi
call fcn.0041a81a
cmp byte [0x483283], 0
je 0x42fc26
push 0x483270
push str.ETag:__s_r_n
push esi
call fcn.00420e19
add esp, 0xc
push 2
push 0x463de4
mov ecx, esi
call fcn.0042040f
push 0
push dword [ebp + 0x64]
push ebx
mov ecx, esi
call fcn.004204b0
lea esp, [ebp - 0x148]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4