Function at 0x43596e
Capabilities:
Clear file content
Delete file
Receive http response
Write file on windows

Disassembly:
push 0x88
mov eax, 0x46e0ea
call fcn.0046cef5
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], eax
or dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], eax
mov esi, eax
mov dword [ebp - 0x78], esi
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 6
mov dword [ebp - 0x5c], eax
test edx, edx
je 0x4359d8
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4359d8
mov edi, dword [ecx]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
jmp 0x435a37
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x64]
push ecx
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435a0c
push 0x5bf
jmp 0x435f6e
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.00448f15
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435a31
push 0x5c3
jmp 0x435f6e
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x54], edi
mov ecx, 0x80000000
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x435a4a
cmp edi, ecx
jbe 0x435a61
mov eax, ecx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x20], eax
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x435ab3
mov eax, dword [ebx + 0x5c]
push 0x5d2
push 0x40f908
mov dword [ebp - 0x78], esi
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x18], 0x8007000e
call dword [0x47547c]
lea ecx, [ebx + 0x5c]
call edi
mov edx, 0x8007000e
mov ecx, eax
call fcn.00446ed9
jmp 0x435f9a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x78], esi
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435ae0
push 0x5d6
jmp 0x435f6e
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x408cc4
push edi
call fcn.004346b9
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435b11
push 0x5df
jmp 0x435f6e
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435b38
push 0x5e3
jmp 0x435f6e
cmp dword [ebp + 0x10], 0
je 0x435b48
cmp dword [ebp + 0x14], 0
je 0x435b48
push 2
jmp 0x435b4a
push 4
pop eax
xor edi, edi
push edi
push 0x8000000
push eax
push edi
push 5
push 0x40000000
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004147b9
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x435f56
cmp ebx, 0xffffffff
je 0x435f56
push edi
push edi
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x435bac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x5f2
jmp 0x435f68
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x435bce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x5f4
jmp 0x435f68
push edi
push edi
push dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x54]
call fcn.00448f15
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jns 0x435bf1
push 0x5f8
jmp 0x435f6b
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
je 0x435dfe
mov edi, dword [ebp - 0x1c]
xor eax, eax
cmp dword [edi + 0xd0], eax
jne 0x435f18
cmp dword [edi + 0xdc], eax
jne 0x435f0e
cmp dword [edi + 0xd4], eax
je 0x435c2f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x435df2
cmp dword [edi + 0xd8], eax
je 0x435c94
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x435c8c
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 0xc]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e23
cmp dword [ebp - 0x7c], 3
jne 0x435c89
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e19
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov dword [edi + 0xd8], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x435efa
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x435ecb
and dword [ebp - 0x50], 0
mov ecx, 0x8000
cmp eax, ecx
jbe 0x435cc9
mov eax, ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x20], 0
jg 0x435cdc
jl 0x435cd6
cmp dword [ebp - 0x24], eax
jae 0x435cdc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x50]
push ecx
push eax
push esi
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x435e9a
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x38]
jne 0x435e93
mov edx, dword [ebp + 0x10]
lea edi, [ebp - 0x94]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test edx, edx
je 0x435d25
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x435d25
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], edi
jmp 0x435d34
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
test edx, edx
je 0x435d3f
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x435d42
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x80]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435e7c
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x80]
jne 0x435e55
push 0
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
push edi
call fcn.00448e93
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e4b
push 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00448e93
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e41
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call fcn.00448f15
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e37
push dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
push dword [ebp - 0x60]
mov eax, dword [eax + 8]
push dword [ebp - 0x64]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x435e2d
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x435c00
cmp dword [ebp - 0x5c], 0
mov ebx, dword [ebp - 0x18]
je 0x435f92
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x435f92
push 0x61e
jmp 0x435f6b
push 0x61b
jmp 0x435f6b
push 0x652
jmp 0x435f6b
push 0x64e
jmp 0x435f6b
push 0x64d
jmp 0x435f6b
push 0x64c
jmp 0x435f6b
mov ebx, dword [ebp - 0x1c]
push 0x648
push 0x40f908
mov dword [ebp - 0x18], 0x80004005
mov eax, dword [ebx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
lea ecx, [ebx + 0x5c]
jmp 0x435eee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x647
jmp 0x435f68
push 0x63b
jmp 0x435ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x63a
mov dword [ebp - 0x18], eax
lea ebx, [edi + 0x5c]
mov eax, dword [ebx]
push 0x40f908
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, ebx
jmp 0x435f84
push 0x62e
lea ebx, [edi + 0x5c]
mov dword [ebp - 0x18], 0x80004005
mov eax, dword [ebx]
push 0x40f908
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, ebx
call edi
mov edx, 0x80004005
jmp 0x435aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x62b
jmp 0x435eac
mov ebx, eax
mov dword [ebp - 0x18], ebx
jmp 0x436086
push eax
push 0xb
mov ecx, edi
call fcn.0043610c
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435f33
push 0x5ff
jmp 0x435eaf
push 0
push 0x800704d3
mov ecx, edi
call fcn.00446d14
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x435f52
push 0x600
jmp 0x435eaf
xor ebx, ebx
jmp 0x435f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x5eb
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5c]
push 0x40f908
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
lea ecx, [ebx + 0x5c]
call edi
mov ebx, dword [ebp - 0x18]
mov ecx, eax
mov edx, ebx
call fcn.00446ed9
test ebx, ebx
jns 0x436086
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x435fbc
lea edx, [ebp - 0x5c]
call fcn.00419823
test eax, eax
js 0x435fbc
cmp dword [ebp - 0x5c], 0
je 0x435fbc
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp + 8]
push 0
push dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov edi, dword [eax]
mov ecx, edi
call dword [0x47547c]
lea ecx, [ebx + 8]
call edi
test eax, eax
js 0x436064
and dword [ebp - 0x70], 0
mov eax, ebx
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x43605f
lea ebx, [ecx + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x74]
push ecx
push 0x10001
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x47547c]
mov ecx, ebx
call edi
test eax, eax
js 0x436064
cmp dword [ebp - 0x70], 0
je 0x436064
cmp dword [ebp - 0x28], 0
je 0x436064
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x47547c]
mov ecx, ebx
call edi
test eax, eax
js 0x436064
push dword [ebp - 0x28]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x436064
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [eax], 1
jmp 0x436067
mov ebx, dword [ebp - 0x18]
jmp 0x43606a
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
test ebx, ebx
jns 0x436086
mov eax, dword [eax + 8]
push 0xffffffffffffffff
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call edi
mov ecx, ebx
call fcn.004190b1
test esi, esi
je 0x4360a1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x3c], 0
je 0x4360b0
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x68], 0
je 0x4360bf
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x6c]
call fcn.004158ee
cmp dword [ebp - 0x40], 0
je 0x4360da
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x28], 0
je 0x4360ed
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0
je 0x4360fc
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
call fcn.0046cea9
ret 0x14