Function at 0x5900c690
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914a525
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 0x5900cd8c
mov esi, dword [esp + 0x120]
mov ebp, dword [esp + 0x13c]
mov edi, dword [esp + 0x124]
test esi, esi
je 0x5900c6e5
push esi
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
test edi, edi
je 0x5900c6fa
push edi
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
mov eax, dword [esp + 0x128]
test eax, eax
je 0x5900c712
push eax
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x5900c72a
push eax
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
mov eax, dword [esp + 0x130]
test eax, eax
je 0x5900c742
push eax
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
mov eax, dword [esp + 0x134]
test eax, eax
je 0x5900c75a
push eax
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c787
mov ebx, dword [esp + 0x138]
test ebx, ebx
je 0x5900c772
push ebx
call fcn.5908850e
add esp, 4
test eax, eax
jne 0x5900c78e
test ebp, ebp
je 0x5900cd8c
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900cd8c
jmp 0x5900c78e
mov ebx, dword [esp + 0x138]
lea ecx, [esp + 0x60]
call fcn.590cd140
test esi, esi
mov dword [esp + 0x114], 0
mov dword [esp + 0x14], 1
je 0x5900c7fd
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c7fd
push esi
lea ecx, [esp + 0x3c]
call fcn.590d4680
lea eax, [esp + 0x38]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x118], 1
call fcn.590cef90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 2
call fcn.590d36b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0
call fcn.590d36b0
test edi, edi
je 0x5900c821
push edi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c821
push 0
push edi
lea ecx, [esp + 0x68]
call fcn.590cf4c0
and eax, 1
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x128]
test esi, esi
je 0x5900c849
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c849
push 1
push esi
lea ecx, [esp + 0x68]
call fcn.590cf4c0
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x5900c871
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c871
push 2
push esi
lea ecx, [esp + 0x68]
call fcn.590cf4c0
and dword [esp + 0x14], eax
mov esi, dword [esp + 0x130]
test esi, esi
je 0x5900c893
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c893
push esi
lea ecx, [esp + 0x64]
call fcn.590cef50
mov esi, dword [esp + 0x134]
test esi, esi
je 0x5900c8ae
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900c8ae
push esi
jmp 0x5900c8b3
push 0x59188b5c
lea ecx, [esp + 0x64]
call fcn.590d00c0
test ebx, ebx
je 0x5900cade
push ebx
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900cade
push ebx
lea ecx, [esp + 0x20]
call fcn.590a5aa0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 4
call fcn.590a7570
mov eax, dword [esp + 0x1c]
push str._html_
xor esi, esi
mov edi, eax
mov ebx, eax
call fcn.5908850e
add esp, 4
shl eax, 1
push eax
push str._html_
push edi
call fcn.5908850e
add esp, 4
shl eax, 1
push eax
push ebx
call fcn.5900ce00
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900c999
mov ecx, dword [str._r_n__html_]
push ecx
call fcn.5908850e
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.5908850e
mov ebx, dword [esp + 0x140]
add esi, eax
push ebx
call fcn.5908850e
add esi, eax
lea edi, [esi + esi + 2]
mov eax, edi
shr eax, 1
shl eax, 1
push eax
call fcn.5913d2d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900c9a0
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.590872f8
push ebx
push esi
call fcn.590872ce
add esp, 0x10
jmp 0x5900c9a0
mov ebx, dword [esp + 0x138]
mov eax, dword [esp + 0x1c]
push 0x59188b3c
mov edi, eax
mov dword [esp + 0x14], eax
call fcn.5908850e
add esp, 4
shl eax, 1
push eax
push 0x59188b3c
push edi
call fcn.5908850e
add esp, 4
mov ecx, edi
shl eax, 1
push eax
push ecx
call fcn.5900ce00
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5900ca68
test esi, esi
jne 0x5900ca58
mov edx, dword [str._meta_http_equivContent_Type_content_text_html_charsetutf_8___r_n]
push edx
call fcn.5908850e
mov esi, eax
mov eax, dword [str._r_n__html_]
push eax
call fcn.5908850e
push ebx
add esi, eax
call fcn.5908850e
add esi, eax
lea edi, [esi + esi + 2]
mov ecx, edi
shr ecx, 1
shl ecx, 1
push ecx
call fcn.5913d2d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5900ca6c
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.590872f8
push ebx
push esi
call fcn.590872ce
mov ecx, dword [str._r_n__html_]
push ecx
push esi
call fcn.590872ce
add esp, 0x18
jmp 0x5900ca68
mov edx, dword [str._r_n__html_]
push edx
push esi
call fcn.590872ce
add esp, 8
test esi, esi
jne 0x5900cab8
mov eax, dword [0x59162880]
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.590a91c0
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x60]
push eax
call fcn.590d0150
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call fcn.590a6240
jmp 0x5900cacb
push esi
lea ecx, [esp + 0x64]
call fcn.590d0150
push esi
call fcn.5913d2f9
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.590a6240
jmp 0x5900cb50
test esi, esi
je 0x5900cb42
push esi
call fcn.5908850e
add esp, 4
test eax, eax
je 0x5900cb42
mov ecx, dword [0x59162880]
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.590a91c0
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esp + 0x60]
push edx
call fcn.590d0150
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 0
call fcn.590a6240
jmp 0x5900cb50
push str._html__pre__r_n__r_n__pre___html_
lea ecx, [esp + 0x64]
call fcn.590d0150
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
call fcn.590a0590
push 0x2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 7
call fcn.590a2010
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.590a34e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 8
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 7
call fcn.590a0ec0
push str..mht
lea ecx, [esp + 0x1c]
call fcn.590a1ad0
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590ced70
mov ecx, dword [esp + 0x14]
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.590aaee0
test ebp, ebp
mov byte [esp + 0x114], 9
je 0x5900ccdd
mov ebx, dword [esp + 0x140]
test ebx, ebx
je 0x5900ccdd
mov eax, dword [ebp + 4]
test eax, eax
je 0x5900ccdd
cmp eax, dword [ebx + 4]
jne 0x5900ccdd
xor esi, esi
test eax, eax
jle 0x5900ccdd
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, ebx
call fcn.5900cdb0
mov edi, dword [eax]
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
mov byte [esp + 0x11c], 0xa
call fcn.5900cdb0
mov eax, dword [eax]
push 0
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 0xb
call fcn.590d0490
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x114], 0xa
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 9
call fcn.590a6240
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.5900cdb0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x118], 0xc
call fcn.590a0760
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0xe
call fcn.590a6240
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.590ab4e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 9
call fcn.590a0ec0
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x5900cc14
mov edx, dword [esp + 0x11c]
push 0
push edx
lea ecx, [esp + 0x68]
call fcn.590ced70
mov ecx, dword [esp + 0x14]
and ecx, eax
mov eax, dword [esp + 0x144]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x5900cd50
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x5900cd50
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.590a0490
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.590a0ec0
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x5900cd17
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 7
call fcn.590aaef0
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 0
call fcn.590a0ec0
lea ecx, [esp + 0x60]
mov dword [esp + 0x114], 0xffffffff
call fcn.590cd260
mov eax, dword [esp + 0x14]
jmp 0x5900cd8e
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