Function at 0x46ae6c
Capabilities:
Create http request
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46b4c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046b4e0
xor eax, eax
mov dword [esi + 0xa4], eax
mov eax, esi
call fcn.0046bc9c
test eax, eax
jle 0x46af56
cmp dword [esi + 0x90], 0
jne 0x46aede
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x168]
call fcn.004053d4
push eax
call sub.wininet.dll_InternetOpenA
mov dword [esi + 0xa4], eax
jmp 0x46af07
push 0
push 0
mov eax, dword [esi + 0x90]
call fcn.004053d4
push eax
push 3
mov eax, dword [esi + 0x168]
call fcn.004053d4
push eax
call sub.wininet.dll_InternetOpenA
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x9c]
test eax, eax
jle 0x46af56
imul eax, eax, 0x3e8
mov dword [ebp - 0x18], eax
push 4
lea eax, [ebp - 0x18]
push eax
push 2
mov eax, dword [esi + 0xa4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x18]
push eax
push 5
mov eax, dword [esi + 0xa4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x18]
push eax
push 6
mov eax, dword [esi + 0xa4]
push eax
call sub.wininet.dll_InternetSetOptionA
xor eax, eax
mov dword [esi + 0x34], eax
lea eax, [esi + 0x164]
call fcn.00404f44
mov eax, dword [esi + 0xa0]
call fcn.00416484
test eax, eax
jle 0x46b3f2
mov dword [ebp - 0x1c], eax
mov ebx, 1
mov edx, ebx
dec edx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
cmp byte [eax + 0x2c], 0
je 0x46b3e8
inc dword [esi + 0x34]
cmp word [esi + 0xca], 0
je 0x46afb7
mov ecx, ebx
dec ecx
mov edx, esi
mov eax, dword [esi + 0xcc]
call dword [esi + 0xc8]
mov edx, ebx
dec edx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
mov edi, eax
mov byte [ebp - 1], 0
movzx eax, byte [edi + 0x18]
cmp eax, 6
ja case.default.0x46afd4
jmp dword [eax*4 + 0x46afdb]
lea eax, [ebp - 0x20]
mov ecx, 0x46b4d8
mov edx, dword [esi + 0x124]
call fcn.0040525c
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x3c]
call fcn.00440004
jmp case.default.0x46afd4
lea eax, [ebp - 0x24]
mov ecx, 0x46b4d8
mov edx, dword [esi + 0x128]
call fcn.0040525c
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x3c]
call fcn.00440004
jmp case.default.0x46afd4
lea eax, [ebp - 0x28]
mov ecx, 0x46b4d8
mov edx, dword [esi + 0x78]
call fcn.0040525c
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x3c]
call fcn.00440004
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x11], 0
mov eax, dword [esi + 0xa0]
call fcn.00416484
dec eax
cmp ebx, eax
jg 0x46b0ff
mov edx, ebx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
movzx eax, byte [eax + 0x18]
sub al, 1
je 0x46b08f
sub al, 2
jne 0x46b0ff
movzx eax, byte [edi + 0x18]
sub al, 1
je 0x46b09b
sub al, 2
jne 0x46b0ff
push dword [edi + 0x1c]
push dword [edi + 0x20]
push dword [edi + 0x24]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004052d8
mov eax, dword [ebp - 0x2c]
push eax
mov edx, ebx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
push dword [eax + 0x1c]
mov edx, ebx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
push dword [eax + 0x20]
mov edx, ebx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
push dword [eax + 0x24]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x30]
pop eax
call fcn.0040536c
sete byte [ebp - 0x11]
movzx eax, byte [edi + 0x18]
cmp eax, 9
ja case.default.0x46b10c
jmp dword [eax*4 + 0x46b113]
mov edx, ebx
dec edx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [edi + 0x48]
push eax
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x54]
push eax
mov ecx, dword [edi + 0xc]
mov edx, ebx
dec edx
mov eax, esi
call fcn.00465c74
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x19]
push eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov eax, esi
call fcn.004650f8
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.00466860
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [ebp - 0x11]
push eax
push 1
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.0046860c
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.004698d8
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.00467d6c
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.0046754c
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [edi + 0x2e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 2]
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.00469340
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x14]
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.0046a754
mov byte [ebp - 1], al
jmp case.default.0x46b10c
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
mov ecx, dword [edi + 0x20]
mov edx, ebx
dec edx
mov eax, esi
call fcn.0046a56c
mov byte [ebp - 1], al
mov edx, ebx
dec edx
mov eax, dword [esi + 0xa0]
call fcn.0046be70
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x40], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x44], edx
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [esi + 0xa0]
call fcn.0046be70
cmp byte [ebp - 1], 0
je 0x46b397
cmp byte [esi + 0x38], 0
je 0x46b39b
xor edx, edx
jmp 0x46b39d
mov dl, 1
mov byte [eax + 0x2d], dl
mov edx, edi
mov eax, dword [esi + 0xa0]
call fcn.0046be70
movzx edx, byte [esi + 0x38]
mov byte [eax + 0x5c], dl
mov edx, edi
mov eax, dword [esi + 0xa0]
call fcn.0046be70
movzx edx, byte [ebp - 2]
mov byte [eax + 0x38], dl
cmp byte [esi + 0x38], 0
jne 0x46b3f2
cmp word [esi + 0xc2], 0
je 0x46b3e8
mov ecx, edi
mov edx, esi
mov eax, dword [esi + 0xc4]
call dword [esi + 0xc0]
inc ebx
dec dword [ebp - 0x1c]
jne 0x46af81
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x46b402
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [esi + 0x119], 0
jne 0x46b414
cmp byte [esi + 0x118], 0
je 0x46b47f
cmp word [esi + 0xba], 0
je 0x46b42c
mov edx, esi
mov eax, dword [esi + 0xbc]
call dword [esi + 0xb8]
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x5c]
call fcn.00440004
mov byte [esi + 0x14a], 1
xor edx, edx
mov eax, dword [esi + 0x68]
call fcn.00462994
cmp byte [esi + 0x38], 0
jne 0x46b464
cmp byte [esi + 0x119], 0
je 0x46b464
mov dl, 1
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp byte [esi + 0x38], 0
jne 0x46b4a6
cmp byte [esi + 0x118], 0
je 0x46b4a6
mov dl, 1
mov eax, dword [esi + 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp 0x46b4a6
mov byte [esi + 0x14a], 1
mov eax, dword [esi + 0x3c]
call fcn.0045a9f4
cmp word [esi + 0xba], 0
je 0x46b4a6
mov edx, esi
mov eax, dword [esi + 0xbc]
call dword [esi + 0xb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b4c8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00404f68
ret