Function at 0x434760
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Write file on windows

Disassembly:
mov eax, 0x46b193
call fcn.00468300
sub esp, 0x290
push ebx
xor ebx, ebx
mov dword [ebp - 0x8c], 0xf
push esi
push edi
mov dword [ebp - 0xa0], ebx
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x20], eax
jb 0x4347b4
mov esi, dword [esi]
push ebx
push 0x80
push 2
push ebx
xor eax, eax
inc eax
push eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x24], eax
jb 0x4347d8
mov edi, dword [edi]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0xac]
push eax
push str._99_:_:___99____99__n_
push edi
call fcn.00433b23
add esp, 0x14
mov dword [ebp - 0x18], 0x3939254d
mov cl, 0x4d
mov word [ebp - 0x14], 0x3e3d
mov byte [ebp - 0x12], bl
mov edx, ebx
xor byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 5
jae 0x43481e
mov cl, byte [ebp - 0x18]
jmp 0x43480f
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], bl
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00445640
mov esi, dword [ebp - 0x20]
test eax, eax
pop ecx
pop ecx
push 1
movzx ebx, bl
pop eax
cmove ebx, eax
test esi, esi
je 0x434a8f
xor eax, eax
test bl, bl
je 0x4348ae
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x2c], 0xf
call fcn.00413e6c
xor eax, eax
lea edx, [ebp - 0x40]
inc eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], al
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x43488a
mov eax, dword [eax]
push 0
push 0x1bb
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x1c], edi
call fcn.00413c2d
lea ecx, [ebp - 0x40]
jmp 0x434906
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x44], 0xf
call fcn.00413e6c
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x4348e7
mov eax, dword [eax]
push 0
push 0x50
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x1c], eax
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00413e0b
test edi, edi
je 0x434a88
lea eax, [ebp - 0x29c]
push eax
test bl, bl
je 0x43497d
xor ebx, ebx
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x70], ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.00413e6c
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf4]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x434956
mov eax, dword [eax]
push 0x800100
push ebx
push ebx
push ebx
push eax
push 0x47d010
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x70]
jmp 0x4349e5
xor ebx, ebx
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x88], ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
call fcn.00413e6c
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x4349bd
mov eax, dword [eax]
push 0x100
push ebx
push ebx
push ebx
push eax
push 0x47d010
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.00413e0b
test esi, esi
je 0x434a7e
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x434a78
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x434a7e
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.00440b3f
mov ecx, dword [ebp - 0x10]
mov ebx, eax
inc ecx
push ecx
push 0
push ebx
call fcn.00442300
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x434a63
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call fcn.0044087f
cmp dword [ebp - 0x10], 0
pop ecx
push 0
pop ebx
ja 0x434a15
mov edi, dword [ebp - 0x1c]
jmp 0x434a7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp - 0x20]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0xa0]
call fcn.00413e0b
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret