Function at 0x5900bf80
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59139705
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xfc
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x5900c67a
mov esi, dword [esp + 0x120]
mov ebp, dword [esp + 0x13c]
mov edi, dword [esp + 0x124]
test esi, esi
je 0x5900bfd5
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
test edi, edi
je 0x5900bfea
push edi
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
mov eax, dword [esp + 0x128]
test eax, eax
je 0x5900c002
push eax
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x5900c01a
push eax
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
mov eax, dword [esp + 0x130]
test eax, eax
je 0x5900c032
push eax
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
mov eax, dword [esp + 0x134]
test eax, eax
je 0x5900c04a
push eax
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c077
mov ebx, dword [esp + 0x138]
test ebx, ebx
je 0x5900c062
push ebx
call fcn.5907c6fd
add esp, 4
test eax, eax
jne 0x5900c07e
test ebp, ebp
je 0x5900c67a
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900c67a
jmp 0x5900c07e
mov ebx, dword [esp + 0x138]
lea ecx, [esp + 0x60]
call fcn.590bea20
test esi, esi
mov dword [esp + 0x114], 0
mov dword [esp + 0x14], 1
je 0x5900c0ed
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c0ed
push esi
lea ecx, [esp + 0x3c]
call fcn.590c5a40
lea eax, [esp + 0x38]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x118], 1
call fcn.590c0870
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 2
call fcn.590c4a70
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0
call fcn.590c4a70
test edi, edi
je 0x5900c111
push edi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c111
push 0
push edi
lea ecx, [esp + 0x68]
call fcn.590c0da0
and eax, 1
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x128]
test esi, esi
je 0x5900c139
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c139
push 1
push esi
lea ecx, [esp + 0x68]
call fcn.590c0da0
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x5900c161
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c161
push 2
push esi
lea ecx, [esp + 0x68]
call fcn.590c0da0
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x130]
test esi, esi
je 0x5900c183
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c183
push esi
lea ecx, [esp + 0x64]
call fcn.590c0830
mov esi, dword [esp + 0x134]
test esi, esi
je 0x5900c19e
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c19e
push esi
jmp 0x5900c1a3
push 0x591735b4
lea ecx, [esp + 0x64]
call fcn.590c19a0
test ebx, ebx
je 0x5900c3ce
push ebx
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c3ce
push ebx
lea ecx, [esp + 0x20]
call fcn.59099c70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 4
call fcn.5909b740
mov eax, dword [esp + 0x1c]
push str._html_
xor esi, esi
mov edi, eax
mov ebx, eax
call fcn.5907c6fd
add esp, 4
shl eax, 1
push eax
push str._html_
push edi
call fcn.5907c6fd
add esp, 4
shl eax, 1
push eax
push ebx
call fcn.5900c6f0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900c289
mov ecx, dword [str._r_n__html_]
push ecx
call fcn.5907c6fd
mov edx, dword [str._html__r_n_meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
mov esi, eax
push edx
call fcn.5907c6fd
mov ebx, dword [esp + 0x140]
add esi, eax
push ebx
call fcn.5907c6fd
add esi, eax
lea edi, [esi + esi + 2]
mov eax, edi
shr eax, 1
shl eax, 1
push eax
call fcn.5912c500
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900c290
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [str._html__r_n_meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push eax
push esi
call fcn.5907b538
push ebx
push esi
call fcn.5907b50e
add esp, 0x10
jmp 0x5900c290
mov ebx, dword [esp + 0x138]
mov eax, dword [esp + 0x1c]
push 0x59173594
mov edi, eax
mov dword [esp + 0x14], eax
call fcn.5907c6fd
add esp, 4
shl eax, 1
push eax
push 0x59173594
push edi
call fcn.5907c6fd
add esp, 4
mov ecx, edi
shl eax, 1
push eax
push ecx
call fcn.5900c6f0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900c358
test esi, esi
jne 0x5900c348
mov edx, dword [str._meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push edx
call fcn.5907c6fd
mov esi, eax
mov eax, dword [str._r_n__html_]
push eax
call fcn.5907c6fd
push ebx
add esi, eax
call fcn.5907c6fd
add esi, eax
lea edi, [esi + esi + 2]
mov ecx, edi
shr ecx, 1
shl ecx, 1
push ecx
call fcn.5912c500
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900c35c
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [str._meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push eax
push esi
call fcn.5907b538
push ebx
push esi
call fcn.5907b50e
mov ecx, dword [str._r_n__html_]
push ecx
push esi
call fcn.5907b50e
add esp, 0x18
jmp 0x5900c358
mov edx, dword [str._r_n__html_]
push edx
push esi
call fcn.5907b50e
add esp, 8
test esi, esi
jne 0x5900c3a8
mov eax, dword [0x5914f850]
mov dword [esp + 0x10], eax
mov ecx, dword [str._meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push ebx
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x124], 5
call fcn.5909d390
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x60]
push eax
call fcn.590c1a30
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call fcn.5909a410
jmp 0x5900c3bb
push esi
lea ecx, [esp + 0x64]
call fcn.590c1a30
push esi
call fcn.5912c529
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.5909a410
jmp 0x5900c440
test esi, esi
je 0x5900c432
push esi
call fcn.5907c6fd
add esp, 4
test eax, eax
je 0x5900c432
mov ecx, dword [0x5914f850]
mov dword [esp + 0x10], ecx
mov edx, dword [str._r_n__html_]
mov eax, dword [str._html__r_n_meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push edx
push esi
push eax
lea ecx, [esp + 0x1c]
push str._s_pre__r_n_s_r_n__pre__s
push ecx
mov byte [esp + 0x128], 6
call fcn.5909d390
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esp + 0x60]
push edx
call fcn.590c1a30
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 0
call fcn.5909a410
jmp 0x5900c440
push str._html__pre__r_n__r_n__pre___html_
lea ecx, [esp + 0x64]
call fcn.590c1a30
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
call fcn.59094760
push 0x2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 7
call fcn.590961e0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.590976b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 8
call fcn.59095210
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 7
call fcn.59095090
push str..mht
lea ecx, [esp + 0x1c]
call fcn.59095ca0
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590c0650
mov ecx, dword [esp + 0x14]
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.5909f0b0
test ebp, ebp
mov byte [esp + 0x114], 9
je 0x5900c5cb
mov ebx, dword [esp + 0x140]
test ebx, ebx
je 0x5900c5cb
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900c5cb
cmp eax, dword [ebx + 4]
jne 0x5900c5cb
xor esi, esi
test eax, eax
jle 0x5900c5cb
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, ebx
call fcn.5900c6a0
mov edi, dword [eax]
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
mov byte [esp + 0x11c], 0xa
call fcn.5900c6a0
mov eax, dword [eax]
push edi
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 0xb
call fcn.590c1d50
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x114], 0xa
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 9
call fcn.5909a410
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.5900c6a0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x118], 0xc
call fcn.59094930
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0xe
call fcn.5909a410
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.5909f6b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 9
call fcn.59095090
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x5900c504
mov edx, dword [esp + 0x11c]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590c0650
mov ecx, dword [esp + 0x14]
and ecx, eax
mov eax, dword [esp + 0x144]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x5900c63e
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x5900c63e
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 0xf
mov eax, dword [esp + 0x28]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.59094660
mov edx, dword [esp + 0x10]
mov byte [esp + 0x114], bl
push edx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 9
call fcn.59095090
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x5900c605
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 7
call fcn.5909f0c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 0
call fcn.59095090
lea ecx, [esp + 0x60]
mov dword [esp + 0x114], 0xffffffff
call fcn.590beb40
mov eax, dword [esp + 0x14]
jmp 0x5900c67c
xor eax, eax
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret