Function at 0x5900c510
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914b3e5
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 0x5900cc0c
mov esi, dword [esp + 0x120]
mov ebp, dword [esp + 0x13c]
mov edi, dword [esp + 0x124]
test esi, esi
je 0x5900c565
push esi
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
test edi, edi
je 0x5900c57a
push edi
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
mov eax, dword [esp + 0x128]
test eax, eax
je 0x5900c592
push eax
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x5900c5aa
push eax
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
mov eax, dword [esp + 0x130]
test eax, eax
je 0x5900c5c2
push eax
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
mov eax, dword [esp + 0x134]
test eax, eax
je 0x5900c5da
push eax
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c607
mov ebx, dword [esp + 0x138]
test ebx, ebx
je 0x5900c5f2
push ebx
call fcn.5908992e
add esp, 4
test eax, eax
jne 0x5900c60e
test ebp, ebp
je 0x5900cc0c
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900cc0c
jmp 0x5900c60e
mov ebx, dword [esp + 0x138]
lea ecx, [esp + 0x60]
call fcn.590cdeb0
test esi, esi
mov dword [esp + 0x114], 0
mov dword [esp + 0x14], 1
je 0x5900c67d
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c67d
push esi
lea ecx, [esp + 0x3c]
call fcn.590d5530
lea eax, [esp + 0x38]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x118], 1
call fcn.590cfd00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 2
call fcn.590d4560
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0
call fcn.590d4560
test edi, edi
je 0x5900c6a1
push edi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c6a1
push 0
push edi
lea ecx, [esp + 0x68]
call fcn.590d0230
and eax, 1
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x128]
test esi, esi
je 0x5900c6c9
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c6c9
push 1
push esi
lea ecx, [esp + 0x68]
call fcn.590d0230
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x5900c6f1
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c6f1
push 2
push esi
lea ecx, [esp + 0x68]
call fcn.590d0230
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x130]
test esi, esi
je 0x5900c713
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c713
push esi
lea ecx, [esp + 0x64]
call fcn.590cfcc0
mov esi, dword [esp + 0x134]
test esi, esi
je 0x5900c72e
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c72e
push esi
jmp 0x5900c733
push 0x59189b74
lea ecx, [esp + 0x64]
call fcn.590d0f70
test ebx, ebx
je 0x5900c95e
push ebx
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c95e
push ebx
lea ecx, [esp + 0x20]
call fcn.590a6ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 4
call fcn.590a8990
mov eax, dword [esp + 0x1c]
push str._html_
xor esi, esi
mov edi, eax
mov ebx, eax
call fcn.5908992e
add esp, 4
shl eax, 1
push eax
push str._html_
push edi
call fcn.5908992e
add esp, 4
shl eax, 1
push eax
push ebx
call fcn.5900cc80
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900c819
mov ecx, dword [str._r_n__html_]
push ecx
call fcn.5908992e
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.5908992e
mov ebx, dword [esp + 0x140]
add esi, eax
push ebx
call fcn.5908992e
add esi, eax
lea edi, [esi + esi + 2]
mov eax, edi
shr eax, 1
shl eax, 1
push eax
call fcn.5913e1e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900c820
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.59088718
push ebx
push esi
call fcn.590886ee
add esp, 0x10
jmp 0x5900c820
mov ebx, dword [esp + 0x138]
mov eax, dword [esp + 0x1c]
push 0x59189b54
mov edi, eax
mov dword [esp + 0x14], eax
call fcn.5908992e
add esp, 4
shl eax, 1
push eax
push 0x59189b54
push edi
call fcn.5908992e
add esp, 4
mov ecx, edi
shl eax, 1
push eax
push ecx
call fcn.5900cc80
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900c8e8
test esi, esi
jne 0x5900c8d8
mov edx, dword [str._meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push edx
call fcn.5908992e
mov esi, eax
mov eax, dword [str._r_n__html_]
push eax
call fcn.5908992e
push ebx
add esi, eax
call fcn.5908992e
add esi, eax
lea edi, [esi + esi + 2]
mov ecx, edi
shr ecx, 1
shl ecx, 1
push ecx
call fcn.5913e1e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900c8ec
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.59088718
push ebx
push esi
call fcn.590886ee
mov ecx, dword [str._r_n__html_]
push ecx
push esi
call fcn.590886ee
add esp, 0x18
jmp 0x5900c8e8
mov edx, dword [str._r_n__html_]
push edx
push esi
call fcn.590886ee
add esp, 8
test esi, esi
jne 0x5900c938
mov eax, dword [0x591638c0]
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.590aa5e0
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x60]
push eax
call fcn.590d1000
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call fcn.590a7660
jmp 0x5900c94b
push esi
lea ecx, [esp + 0x64]
call fcn.590d1000
push esi
call fcn.5913e209
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.590a7660
jmp 0x5900c9d0
test esi, esi
je 0x5900c9c2
push esi
call fcn.5908992e
add esp, 4
test eax, eax
je 0x5900c9c2
mov ecx, dword [0x591638c0]
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.590aa5e0
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esp + 0x60]
push edx
call fcn.590d1000
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 0
call fcn.590a7660
jmp 0x5900c9d0
push str._html__pre__r_n__r_n__pre___html_
lea ecx, [esp + 0x64]
call fcn.590d1000
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
call fcn.590a19b0
push 0x2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 7
call fcn.590a3430
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.590a4900
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 8
call fcn.590a2460
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 7
call fcn.590a22e0
push str..mht
lea ecx, [esp + 0x1c]
call fcn.590a2ef0
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590cfae0
mov ecx, dword [esp + 0x14]
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.590ac300
test ebp, ebp
mov byte [esp + 0x114], 9
je 0x5900cb5d
mov ebx, dword [esp + 0x140]
test ebx, ebx
je 0x5900cb5d
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900cb5d
cmp eax, dword [ebx + 4]
jne 0x5900cb5d
xor esi, esi
test eax, eax
jle 0x5900cb5d
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, ebx
call fcn.5900cc30
mov edi, dword [eax]
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
mov byte [esp + 0x11c], 0xa
call fcn.5900cc30
mov eax, dword [eax]
push 0
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 0xb
call fcn.590d1340
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x114], 0xa
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
call fcn.590a7660
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 9
call fcn.590a7660
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.5900cc30
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x118], 0xc
call fcn.590a1b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0xe
call fcn.590a7660
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.590ac900
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 9
call fcn.590a22e0
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x5900ca94
mov edx, dword [esp + 0x11c]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590cfae0
mov ecx, dword [esp + 0x14]
and ecx, eax
mov eax, dword [esp + 0x144]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x5900cbd0
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x5900cbd0
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.590a18b0
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.590a22e0
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x5900cb97
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 7
call fcn.590ac310
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 0
call fcn.590a22e0
lea ecx, [esp + 0x60]
mov dword [esp + 0x114], 0xffffffff
call fcn.590cdfd0
mov eax, dword [esp + 0x14]
jmp 0x5900cc0e
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