Function at 0x46ae42
Capabilities:
Check for software breakpoints
Set console window title
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x46f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x47f0b4]
push esi
xor esi, esi
xor ecx, ecx
cmp ecx, 0x18a
jne 0x46ae71
mov eax, dword [0x4707d4]
add eax, 0x9e49
cmp eax, 0x141
jne 0x46ae89
or dword [0x4713cc], 0xffffffff
mov dword [0x4713c8], 0xec58acac
inc ecx
cmp ecx, 0x1237750
jl 0x46ae5f
mov dword [0x47f0b4], eax
xor ecx, ecx
cmp ecx, 0x562d05
jne 0x46aead
mov edx, dword [0x46ffe8]
mov dword [0x47f1e4], edx
inc ecx
cmp ecx, 0x5f6c74
jl 0x46ae99
cmp eax, 0x7c
jne 0x46af39
push esi
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
lea eax, [ebp - 0x810]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x47f0b4], 0x54
jne 0x46af2b
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call fcn.004011e9
push esi
call fcn.004011ff
pop ecx
pop ecx
push edi
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x81c]
push eax
call sub.KERNEL32.dll_GetSystemTimes
push esi
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
cmp edi, 0x25930
jg 0x46af84
inc edi
cmp edi, 0xe860d
jl 0x46af3c
cmp dword [0x47f0b4], 0x110a
jne 0x46b036
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
push esi
push esi
push esi
mov dword [0x47f0a8], esi
mov dword [0x47f0ac], esi
call edi
cmp dword [0x47f0b4], 0xcc
jne 0x46afd6
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
push esi
push esi
push esi
call edi
mov dword [0x4713c0], 0x14
push ebx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov ebx, 0x46d3e4
push ebx
push str.0__f
mov edi, 0x471340
push edi
call fcn.00401093
push esi
call fcn.004010ad
push esi
push esi
call fcn.0040113b
push ebx
push str._s__c
push edi
call fcn.0040120a
call fcn.0040740d
push esi
push esi
call fcn.0040113b
push esi
push esi
call fcn.0040117b
push esi
push esi
call fcn.0040113b
add esp, 0x3c
pop ebx
push dword [0x47f0b4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ecx, ecx
mov dword [0x47eefc], eax
pop edi
cmp dword [0x47f0b4], esi
jbe 0x46b096
mov eax, dword [0x47f1e4]
mov dword [ebp - 0x808], eax
mov eax, 0x9e49
add dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x808]
mov al, byte [eax + ecx]
mov edx, dword [0x47eefc]
mov byte [edx + ecx], al
mov eax, dword [0x47f0b4]
cmp eax, 0x5ab
jne 0x46b091
mov dword [0x47ef00], 0x19b0
inc ecx
cmp ecx, eax
jb 0x46b053
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0046abef
call fcn.0046abd1
call fcn.0046ae03
xor eax, eax
cmp eax, 0xd606b
jne 0x46b0be
call fcn.0046abc6
inc eax
cmp eax, 0x24e87d
jl 0x46b0b2
mov dword [0x47ef04], 0x8e46a6f0
cmp esi, 0x408e
jle 0x46b0e4
cmp dword [ebp - 0x854], 0xf5bed7
jne 0x46b0ed
inc esi
cmp esi, 0x687ed2
jl 0x46b0d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401006
leave
ret