Function at 0x41282e
Capabilities:
Delete file

Disassembly:
mov eax, 0x4529ef
call fcn.0044c764
sub esp, 0x8c
push ebx
push edi
xor ebx, ebx
lea edi, [ebp - 0x94]
mov dword [ebp - 0x14], ebx
call fcn.00412b45
mov dword [ebp - 4], ebx
cmp dword [esi + 0x58], 8
jb 0x41285e
mov eax, dword [esi + 0x44]
jmp 0x412861
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x58], 8
jb 0x412873
mov eax, dword [esi + 0x44]
jmp 0x412876
lea eax, [esi + 0x44]
push ebx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004202ec
test al, al
jne 0x4128a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0042053b
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret
push dword [esi + 0xb4]
lea eax, [ebp - 0x34]
push dword [esi + 0xb0]
push 0x457ef8
push eax
call fcn.0043bf32
mov eax, dword [esi + 4]
add esp, 0x10
cmp byte [eax + 0x1794], bl
je 0x4128fb
push dword [eax + 0x16d8]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], 1
jb 0x4128f6
mov eax, dword [eax + 4]
jmp 0x412900
add eax, 4
jmp 0x412900
mov eax, 0x45811c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov dword [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.BlockSize
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edi, str.FileInfo
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 1
call fcn.004207d4
mov dword [ebp - 4], ebx
test byte [ebp - 0x14], 1
je 0x412962
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004017a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x1794], bl
lea eax, [ebp - 0x34]
jne 0x412975
mov eax, 0x45811c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Length
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], bl
call fcn.004207d4
cmp dword [esi + 0x74], 0x10
jb 0x4129c5
mov eax, dword [esi + 0x60]
jmp 0x4129c8
lea eax, [esi + 0x60]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x458788
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], bl
call fcn.004207d4
lea eax, [esi + 0x94]
cmp dword [eax + 0x18], 0x10
jb 0x412a1e
mov eax, dword [eax + 4]
jmp 0x412a21
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x45878c
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], bl
call fcn.004207d4
cmp dword [esi + 0x90], 0x10
jb 0x412a74
mov eax, dword [esi + 0x7c]
jmp 0x412a77
lea eax, [esi + 0x7c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Referer
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], bl
call fcn.004207d4
mov eax, dword [esi + 4]
push dword [eax + 0x1690]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x412adf
mov eax, dword [eax + 4]
jmp 0x412ae2
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DlMode
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040162e
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0xc
call fcn.004207d4
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004017a7
lea ebx, [ebp - 0x94]
call fcn.00420586
mov bl, al
jmp 0x412888