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

Disassembly:
push 0x88
mov eax, 0x46c618
call fcn.0046b3e5
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], ebx
or dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x68], ebx
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 6
mov dword [ebp - 0x5c], ebx
test edx, edx
je 0x433c16
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x433c16
mov eax, dword [edx]
mov esi, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
jmp 0x433c7a
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x473450]
mov ecx, ebx
call esi
mov ebx, eax
test ebx, ebx
jns 0x433c4e
mov edx, dword [edi + 0x5c]
push 0x5bf
mov esi, dword [edx + 4]
jmp 0x434176
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.004473b1
mov ebx, eax
test ebx, ebx
jns 0x433c72
push 0x5c3
jmp 0x434170
mov eax, dword [ebp - 0x20]
xor ebx, ebx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x54], esi
mov ecx, 0x80000000
mov dword [ebp - 0x58], eax
cmp eax, ebx
ja 0x433c8d
cmp esi, ecx
jbe 0x433ca4
mov eax, ecx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x20], eax
push 0x8000
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea ecx, [ebp - 0x68]
call fcn.00419799
mov ebx, dword [ebp - 0x68]
test ebx, ebx
jne 0x433cf7
mov ebx, 0x8007000e
push 0x5d2
mov eax, dword [edi + 0x5c]
push 0x40f650
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x5c]
call esi
mov edx, ebx
mov ecx, eax
call fcn.00444f99
jmp 0x434199
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x473450]
mov ecx, dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x433d3c
push 0x5d6
mov eax, dword [edi + 0x5c]
push 0x40f650
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x5c]
call esi
mov ebx, dword [ebp - 0x18]
jmp 0x434188
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x408b9c
push esi
call fcn.004328f8
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x433d6a
push 0x5df
jmp 0x433d1c
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x473450]
mov ecx, dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x433d8e
push 0x5e3
jmp 0x433d1c
cmp dword [ebp + 0x10], 0
je 0x433d9e
cmp dword [ebp + 0x14], 0
je 0x433d9e
push 2
jmp 0x433da0
push 4
pop eax
push 0
push 0x8000000
push eax
push 0
push 5
push 0x40000000
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x70]
call fcn.004144e9
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x43415c
cmp esi, 0xffffffff
je 0x43415c
push 0
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x433e04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x5f2
jmp 0x43416e
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x433e26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x5f4
jmp 0x43416e
push 0
push 0
push dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x54]
call fcn.004473b1
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x43403f
push 0x5f8
jmp 0x433d1c
xor eax, eax
cmp dword [edi + 0xd0], eax
jne 0x434129
cmp dword [edi + 0xdc], eax
jne 0x434122
cmp dword [edi + 0xd4], eax
je 0x433e7c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43403f
cmp dword [edi + 0xd8], eax
je 0x433ee1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x433ed9
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x473450]
mov ecx, dword [ebp + 0xc]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x434072
cmp dword [ebp - 0x7c], 3
jne 0x433ed6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x473450]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x434065
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 0x43410e
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4340ff
and dword [ebp - 0x50], 0
mov ecx, 0x8000
cmp eax, ecx
jbe 0x433f16
mov eax, ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x20], 0
jg 0x433f29
jl 0x433f23
cmp dword [ebp - 0x24], eax
jae 0x433f29
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x50]
push ecx
push eax
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4340eb
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x38]
jne 0x4340dc
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 0x433f72
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x433f72
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], edi
jmp 0x433f81
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
test edx, edx
je 0x433f8c
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x433f8f
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 ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4340c2
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x80]
jne 0x4340b0
push 0
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
push edi
call fcn.00447310
mov dword [ebp - 0x18], eax
test eax, eax
js 0x4340a3
push 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00447310
mov dword [ebp - 0x18], eax
test eax, eax
js 0x434096
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call fcn.004473b1
mov dword [ebp - 0x18], eax
test eax, eax
js 0x434089
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 [0x473450]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x43407f
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x433e4d
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x5c], eax
je 0x434191
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x434191
mov edi, dword [ebp - 0x1c]
push 0x61e
jmp 0x433d1c
mov edi, dword [ebp - 0x1c]
push 0x61b
jmp 0x433d1c
push 0x652
jmp 0x433d1c
mov edi, dword [ebp - 0x1c]
push 0x64e
jmp 0x433d1c
mov edi, dword [ebp - 0x1c]
push 0x64d
jmp 0x433d1c
mov edi, dword [ebp - 0x1c]
push 0x64c
jmp 0x433d1c
mov edi, dword [ebp - 0x1c]
mov ebx, 0x80004005
push 0x648
jmp 0x433cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
mov edi, dword [ebp - 0x1c]
push 0x647
jmp 0x43416e
mov ebx, 0x80004005
push 0x63b
jmp 0x433cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x63a
jmp 0x43416e
mov ebx, 0x80004005
push 0x62e
jmp 0x433cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x62b
jmp 0x43416e
xor ebx, ebx
jmp 0x43427b
push 0
push 0xb
mov ecx, edi
call fcn.004342f4
mov ebx, eax
test ebx, ebx
jns 0x434141
push 0x5ff
jmp 0x434170
push 0
push 0x800704d3
mov ecx, edi
call fcn.00444dd4
mov ebx, eax
test ebx, ebx
jns 0x434122
push 0x600
jmp 0x434170
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x5eb
mov ebx, eax
mov eax, dword [edi + 0x5c]
mov esi, dword [eax + 4]
push 0x40f650
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x5c]
call esi
mov edx, ebx
mov ecx, eax
call fcn.00444f99
test ebx, ebx
jns 0x43427b
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4341bb
lea edx, [ebp - 0x5c]
call fcn.004187e4
test eax, eax
js 0x4341bb
cmp dword [ebp - 0x5c], 0
je 0x4341bb
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 8]
add edi, 8
push 0
push ebx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473450]
mov ecx, edi
call esi
test eax, eax
js 0x434264
and dword [ebp - 0x78], 0
mov eax, dword [ebp + 8]
and dword [ebp - 0x74], 0
and dword [ebp - 0x74], 0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x434264
lea edi, [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push ecx
push 0x10001
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x473450]
mov ecx, edi
call esi
test eax, eax
js 0x434261
cmp dword [ebp - 0x74], 0
je 0x434261
cmp dword [ebp - 0x28], 0
je 0x434261
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x473450]
mov ecx, edi
call esi
test eax, eax
js 0x434261
push dword [ebp - 0x28]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x434264
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [eax], 1
jmp 0x434264
mov edi, dword [ebp - 0x1c]
test ebx, ebx
jns 0x43427b
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x473450]
mov ecx, edi
call esi
mov ecx, ebx
call fcn.00418048
lea ecx, [ebp - 0x68]
call fcn.0041543f
cmp dword [ebp - 0x3c], 0
je 0x434299
push dword [ebp - 0x3c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x6c], 0
je 0x4342a8
push dword [ebp - 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x70]
call fcn.0041541e
cmp dword [ebp - 0x40], 0
je 0x4342c3
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x28], 0
je 0x4342d6
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0
je 0x4342e5
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
call fcn.0046b399
ret 0x14