Function at 0x1000dcb1
Capabilities:
Check http status code
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1854]
mov eax, 0x1854
call fcn.1001d670
push 0xffffffffffffffff
push 0x10040a42
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x1850], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x185c]
mov esi, dword [eax + 0x224]
push dword [eax + 0x23c]
mov edi, dword [esi + 0xda0]
mov ebx, ecx
call fcn.1000d1ee
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], eax
je 0x1000de4b
and dword [ebp - 0x20], 0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
push 0x100435d4
call dword [eax + 0x30]
test eax, eax
je 0x1000dd87
push dword [ebp - 0x20]
lea eax, [esi + 0x40]
push eax
call fcn.10004ec9
cmp dword [edi + 8], 0
pop ecx
pop ecx
je 0x1000dd87
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, 7
jb 0x1000dd87
and dword [ebp - 0x14], 0
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax]
test eax, eax
je 0x1000dd87
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xa8]
add dword [ebp - 0x14], 4
cmp dword [ebp - 0x14], 0x190
jb 0x1000dd60
and dword [ebp - 0x10], 0
cmp dword [ebx + 8], 0
mov byte [ebp - 4], 1
je 0x1000de29
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x10043d18
call dword [eax + 0x30]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x1000dde4
push 0x9ca5
lea ecx, [ebp - 0x14]
call fcn.10006c03
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
lea eax, [esi + 0x248]
push eax
push 1
push 1
lea eax, [esi + 0x40]
push eax
push edi
mov byte [ebp - 4], 2
call dword [ecx + 0x40]
lea ecx, [ebp - 0x14]
call fcn.100053ef
jmp 0x1000de29
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x10043cec
call dword [eax + 0x30]
test eax, eax
jl 0x1000de11
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [esi + 0x248]
push edx
lea edx, [esi + 0x40]
push edx
push eax
call dword [ecx + 0x2c]
jmp 0x1000de29
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000de29
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x1000de3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1000de4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1000dfc5
lea edi, [esi + 0x40]
lea esi, [ebx + 0xc]
mov dword [ebp - 0x14], esi
push edi
push dword [ebp - 0x10]
mov ecx, esi
call fcn.1000d441
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1000de99
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jl 0x1000de73
jmp 0x1000dfc5
mov edi, 0x1850
push edi
lea eax, [ebp]
push 0
push eax
call fcn.1001a410
and dword [ebp], 0
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 4], eax
mov dword [ebp + 8], 2
lea ecx, [ebp - 0x18]
je 0x1000dece
push 0x9d2c
jmp 0x1000ded3
push 0x9d42
call fcn.10006c03
push dword [eax]
lea eax, [ebp + 0xc]
push 0x20
push eax
call fcn.100054b8
lea ecx, [ebp - 0x18]
call fcn.100053ef
push 0x9d1d
lea ecx, [ebp - 0x1c]
call fcn.10006c03
mov eax, dword [eax]
push dword [ebp - 0x10]
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.1000d441
mov esi, 0x208
add eax, esi
push eax
push dword [ebp - 0x18]
lea eax, [ebp + 0x4c]
push 0x400
push eax
call fcn.1000551f
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.100053ef
push 0x9d69
lea ecx, [ebp - 0x28]
call fcn.10006c03
mov eax, dword [eax]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.1000d441
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.1000d441
add eax, esi
push eax
push dword [ebp - 0x18]
lea eax, [ebp + 0x84c]
push 0x1000
push eax
call fcn.10005553
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.100053ef
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp]
push eax
push 0x13
mov dword [ebp - 4], 3
call fcn.1000d307
mov esi, dword [ebp - 0x1c]
add esp, 0x10
test eax, eax
je 0x1000dfaf
mov dword [esi + 0x10], 1
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x10]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000d3f0
test esi, esi
je 0x1000dfc5
push esi
call fcn.1000d3ab
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1850]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x1854
leave
ret 4