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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585c38
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 0x10], 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
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004212a0
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x20]
mov edi, eax
neg edi
sbb edi, edi
or esi, 0xffffffff
inc edi
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x41444a
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41444a
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.00414e00
test eax, eax
jne 0x4140c1
lea ecx, [ebp - 0x48]
xor ebx, ebx
call fcn.00405ce0
jmp 0x41444c
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x4140d6
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x4140fa
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push str..zip
mov edx, ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040b410
push ecx
mov byte [ebp - 4], 4
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004382c0
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00405dc0
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41415e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407c00
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004145e0
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
test eax, eax
je 0x4143e1
cmp dword [ebx - 0xc], 0
je 0x4143e1
cmp dword [edi - 0xc], 0
je 0x4143e1
lea ecx, [ebp - 0x20]
call fcn.00407f90
mov eax, 0x40
mov byte [ebp - 4], 6
call fcn.00556c40
mov ecx, esp
mov edx, str.XunduBoundary0xKhTSLbOuNdCrY
push 3
push 0x3a
call fcn.004153c0
push eax
lea eax, [ebp - 0x20]
push str._r_n___s___r_n
push eax
call fcn.004152e0
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4141e4
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x414202
xor eax, eax
jmp 0x414217
add esi, esi
mov eax, esi
call fcn.00556e10
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.004153c0
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b360
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x48]
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 - 0x18], eax
call fcn.0055622a
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x14], eax
push dword [ecx - 0xc]
push ecx
push eax
call fcn.005593d0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [ecx - 0xc]
add eax, ecx
push dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
push eax
call fcn.005593d0
mov eax, dword [ebp - 0x24]
add esp, 0xc
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
push dword [esi - 0xc]
push esi
push eax
call fcn.005593d0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00407f90
push 0x5ebee4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.004078d0
lea ecx, [ebp - 0x34]
call fcn.00407f90
mov esi, eax
lea ecx, [ebp - 0x60]
call fcn.00407f90
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.00402b30
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00405a80
lea ecx, [ebp - 0x34]
call fcn.00405a80
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.00405a80
push str.XunduBoundary0xKhTSLbOuNdCrY
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00406550
add esp, 0xc
lea ecx, [ebp - 0x24]
push str.Content_Type
call fcn.004078d0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ecx + 0x28]
call fcn.0041f5e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00405a80
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x50]
push esi
call fcn.004206f0
push esi
call fcn.00556225
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push ecx
push 0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
push 0
push 0
call fcn.00443d70
mov esi, dword [ebp - 0x5c]
add esp, 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
sub eax, esi
mov dword [ebp - 0x18], eax
call fcn.00402a90
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push esi
call fcn.00405d50
cmp dword [ebp - 0x34], 0
je 0x4143a8
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 1
call fcn.00405a80
lea ecx, [ebp - 0x5c]
call fcn.00405ce0
lea ecx, [ebp - 0x50]
call fcn.00405930
lea ecx, [ebp - 0x1c]
call fcn.00405a80
lea ecx, [ebp - 0x28]
call fcn.00405a80
lea ecx, [ebp - 0x20]
call fcn.00405a80
jmp 0x4143e6
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x2c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414407
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x414422
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41443d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.00405ce0
jmp 0x41444c
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41446b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
lea esp, [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555b37
mov esp, ebp
pop ebp
ret 8