Function at 0x411030
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov edx, str.full.data
lea ecx, [ebp - 0x20]
call fcn.0041e0a0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
push dword [ebp - 0x20]
call edi
mov edx, dword [ebp - 0x20]
mov esi, eax
neg esi
sbb esi, esi
add edx, 0xfffffff0
inc esi
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x411099
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4110a4
xor eax, eax
jmp 0x411456
mov ebx, dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
je 0x41109d
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.00411d40
test eax, eax
jne 0x4110e0
xor esi, esi
jmp 0x41144c
call fcn.00402960
mov ecx, eax
test ecx, ecx
jne 0x4110f5
push 0x80004005
call fcn.004029e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
call fcn.00402960
mov ecx, eax
test ecx, ecx
jne 0x411119
push 0x80004005
call fcn.004029e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push str..zip
mov edx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040b090
push ecx
mov byte [ebp - 4], 3
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00434850
add esp, 8
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00405b50
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x24]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004115d0
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
test eax, eax
je 0x4113f0
cmp dword [ebx - 0xc], 0
je 0x4113f0
cmp dword [edi - 0xc], 0
je 0x4113f0
lea ecx, [ebp - 0x20]
call fcn.00407c20
mov eax, 0x40
mov byte [ebp - 4], 5
call fcn.00460ab0
mov ecx, esp
mov edx, 0x4a7618
push 3
push 0x3a
call fcn.00412300
push eax
lea eax, [ebp - 0x20]
push str._r_n___s___r_n
push eax
call fcn.00412220
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4111f0
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x41120e
xor eax, eax
jmp 0x411223
add esi, esi
mov eax, esi
call fcn.004603d0
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.00412300
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040afe0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x4c]
mov ecx, dword [eax - 0xc]
mov eax, dword [esi - 0xc]
add eax, edx
mov dword [ebp - 0x1c], edx
add eax, ecx
push eax
mov dword [ebp - 0x28], eax
call fcn.0045fec8
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ecx - 0xc]
push ecx
push eax
call fcn.00462f00
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [ecx - 0xc]
add eax, ecx
push dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
push eax
call fcn.00462f00
mov eax, dword [ebp - 0x24]
add esp, 0xc
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
push dword [esi - 0xc]
push esi
push eax
call fcn.00462f00
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00407c20
push str.POST
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004075e0
lea ecx, [ebp - 0x38]
call fcn.00407c20
mov esi, eax
lea ecx, [ebp - 0x64]
call fcn.00407c20
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x54]
call fcn.00402a00
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00405810
lea ecx, [ebp - 0x38]
call fcn.00405810
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00405810
push 0x4a7618
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x1c]
push eax
call fcn.004062e0
add esp, 0xc
lea ecx, [ebp - 0x24]
push str.Content_Type
call fcn.004075e0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ecx + 0x28]
call fcn.0041c3e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00405810
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
push esi
call fcn.0041d4f0
push esi
call fcn.0045fec3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push ecx
push 0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
push 0
push 0
call fcn.0043c900
mov esi, dword [ebp - 0x60]
add esp, 0x14
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
sub eax, esi
mov dword [ebp - 0x28], eax
call fcn.00402960
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push esi
call fcn.00405ae0
cmp dword [ebp - 0x38], 0
je 0x4113b4
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 1
call fcn.00405810
lea ecx, [ebp - 0x60]
call fcn.00405a70
lea ecx, [ebp - 0x54]
call fcn.004056c0
lea ecx, [ebp - 0x1c]
call fcn.00405810
lea ecx, [ebp - 0x2c]
call fcn.00405810
lea ecx, [ebp - 0x20]
call fcn.00405810
or esi, 0xffffffff
jmp 0x4113f7
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411430
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x411449
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
call fcn.00405a70
mov eax, esi
lea esp, [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 4