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

Disassembly:
push 0x88
mov eax, 0x475731
call fcn.00474165
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 0x43c898
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x43c898
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 0x43c8f7
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 [0x47d4cc]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43c8cc
push 0x5bf
jmp 0x43ce2e
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.0044fca5
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43c8f1
push 0x5c3
jmp 0x43ce2e
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 0x43c90a
cmp edi, ecx
jbe 0x43c921
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 0x43c973
mov eax, dword [ebx + 0x5c]
push 0x5d2
push 0x4109d8
mov dword [ebp - 0x78], esi
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x18], 0x8007000e
call dword [0x47d4cc]
lea ecx, [ebx + 0x5c]
call edi
mov edx, 0x8007000e
mov ecx, eax
call fcn.0044dc99
jmp 0x43ce5a
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 [0x47d4cc]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43c9a0
push 0x5d6
jmp 0x43ce2e
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 0x409bfc
push edi
call fcn.0043b578
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43c9d1
push 0x5df
jmp 0x43ce2e
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43c9f8
push 0x5e3
jmp 0x43ce2e
cmp dword [ebp + 0x10], 0
je 0x43ca08
cmp dword [ebp + 0x14], 0
je 0x43ca08
push 2
jmp 0x43ca0a
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.00424cbb
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x43ce16
cmp ebx, 0xffffffff
je 0x43ce16
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 0x43ca6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x5f2
jmp 0x43ce28
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43ca8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x5f4
jmp 0x43ce28
push edi
push edi
push dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x54]
call fcn.0044fca5
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jns 0x43cab1
push 0x5f8
jmp 0x43ce2b
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
je 0x43ccbe
mov edi, dword [ebp - 0x1c]
xor eax, eax
cmp dword [edi + 0xd0], eax
jne 0x43cdd8
cmp dword [edi + 0xdc], eax
jne 0x43cdce
cmp dword [edi + 0xd4], eax
je 0x43caef
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43ccb2
cmp dword [edi + 0xd8], eax
je 0x43cb54
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43cb4c
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, dword [ebp + 0xc]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43cce3
cmp dword [ebp - 0x7c], 3
jne 0x43cb49
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43ccd9
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 0x43cdba
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43cd8b
and dword [ebp - 0x50], 0
mov ecx, 0x8000
cmp eax, ecx
jbe 0x43cb89
mov eax, ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x20], 0
jg 0x43cb9c
jl 0x43cb96
cmp dword [ebp - 0x24], eax
jae 0x43cb9c
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 0x43cd5a
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x38]
jne 0x43cd53
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 0x43cbe5
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43cbe5
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], edi
jmp 0x43cbf4
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
test edx, edx
je 0x43cbff
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x43cc02
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 0x43cd3c
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x80]
jne 0x43cd15
push 0
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
push edi
call fcn.0044fc23
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43cd0b
push 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0044fc23
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43cd01
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call fcn.0044fca5
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43ccf7
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 [0x47d4cc]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43cced
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x43cac0
cmp dword [ebp - 0x5c], 0
mov ebx, dword [ebp - 0x18]
je 0x43ce52
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x43ce52
push 0x61e
jmp 0x43ce2b
push 0x61b
jmp 0x43ce2b
push 0x652
jmp 0x43ce2b
push 0x64e
jmp 0x43ce2b
push 0x64d
jmp 0x43ce2b
push 0x64c
jmp 0x43ce2b
mov ebx, dword [ebp - 0x1c]
push 0x648
push 0x4109d8
mov dword [ebp - 0x18], 0x80004005
mov eax, dword [ebx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47d4cc]
lea ecx, [ebx + 0x5c]
jmp 0x43cdae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x647
jmp 0x43ce28
push 0x63b
jmp 0x43cd90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x63a
mov dword [ebp - 0x18], eax
lea ebx, [edi + 0x5c]
mov eax, dword [ebx]
push 0x4109d8
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, ebx
jmp 0x43ce44
push 0x62e
lea ebx, [edi + 0x5c]
mov dword [ebp - 0x18], 0x80004005
mov eax, dword [ebx]
push 0x4109d8
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, ebx
call edi
mov edx, 0x80004005
jmp 0x43c967
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x62b
jmp 0x43cd6c
mov ebx, eax
mov dword [ebp - 0x18], ebx
jmp 0x43cf46
push eax
push 0xb
mov ecx, edi
call fcn.0043cfcc
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43cdf3
push 0x5ff
jmp 0x43cd6f
push 0
push 0x800704d3
mov ecx, edi
call fcn.0044dad4
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43ce12
push 0x600
jmp 0x43cd6f
xor ebx, ebx
jmp 0x43cdd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
push 0x5eb
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5c]
push 0x4109d8
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47d4cc]
lea ecx, [ebx + 0x5c]
call edi
mov ebx, dword [ebp - 0x18]
mov ecx, eax
mov edx, ebx
call fcn.0044dc99
test ebx, ebx
jns 0x43cf46
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43ce7c
lea edx, [ebp - 0x5c]
call fcn.0042485e
test eax, eax
js 0x43ce7c
cmp dword [ebp - 0x5c], 0
je 0x43ce7c
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 [0x47d4cc]
lea ecx, [ebx + 8]
call edi
test eax, eax
js 0x43cf24
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 0x43cf1f
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 [0x47d4cc]
mov ecx, ebx
call edi
test eax, eax
js 0x43cf24
cmp dword [ebp - 0x70], 0
je 0x43cf24
cmp dword [ebp - 0x28], 0
je 0x43cf24
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 [0x47d4cc]
mov ecx, ebx
call edi
test eax, eax
js 0x43cf24
push dword [ebp - 0x28]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43cf24
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [eax], 1
jmp 0x43cf27
mov ebx, dword [ebp - 0x18]
jmp 0x43cf2a
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
test ebx, ebx
jns 0x43cf46
mov eax, dword [eax + 8]
push 0xffffffffffffffff
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d4cc]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call edi
mov ecx, ebx
call fcn.004298d9
test esi, esi
je 0x43cf61
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 0x43cf70
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x68], 0
je 0x43cf7f
push dword [ebp - 0x68]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x6c]
call fcn.00424c9a
cmp dword [ebp - 0x40], 0
je 0x43cf9a
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x28], 0
je 0x43cfad
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0
je 0x43cfbc
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
call fcn.00474119
ret 0x14