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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42c0b4]
push esi
xor esi, esi
xor ecx, ecx
cmp ecx, 0x18a
jne 0x4180ed
mov eax, dword [0x41d7d4]
add eax, 0x9e49
cmp eax, 0x141
jne 0x418105
or dword [0x41e3cc], 0xffffffff
mov dword [0x41e3c8], 0xec58acac
inc ecx
cmp ecx, 0x1237750
jl 0x4180db
mov dword [0x42c0b4], eax
xor ecx, ecx
cmp ecx, 0x562d05
jne 0x418129
mov edx, dword [0x41cfe8]
mov dword [0x42c1e4], edx
inc ecx
cmp ecx, 0x5f6c74
jl 0x418115
cmp eax, 0x7c
jne 0x4181b5
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 [0x42c0b4], 0x54
jne 0x4181a7
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 0x418200
inc edi
cmp edi, 0xe860d
jl 0x4181b8
cmp dword [0x42c0b4], 0x110a
jne 0x4182b2
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
push esi
push esi
push esi
mov dword [0x42c0a8], esi
mov dword [0x42c0ac], esi
call edi
cmp dword [0x42c0b4], 0xcc
jne 0x418252
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 [0x41e3c0], 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, 0x41a3e4
push ebx
push str.0__f
mov edi, 0x41e340
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 [0x42c0b4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ecx, ecx
mov dword [0x42befc], eax
pop edi
cmp dword [0x42c0b4], esi
jbe 0x418312
mov eax, dword [0x42c1e4]
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 [0x42befc]
mov byte [edx + ecx], al
mov eax, dword [0x42c0b4]
cmp eax, 0x5ab
jne 0x41830d
mov dword [0x42bf00], 0x19b0
inc ecx
cmp ecx, eax
jb 0x4182cf
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00417e6b
call fcn.00417e4d
call fcn.0041807f
xor eax, eax
cmp eax, 0xd606b
jne 0x41833a
call fcn.00417e42
inc eax
cmp eax, 0x24e87d
jl 0x41832e
mov dword [0x42bf04], 0x8e46a6f0
cmp esi, 0x408e
jle 0x418360
cmp dword [ebp - 0x854], 0xf5bed7
jne 0x418369
inc esi
cmp esi, 0x687ed2
jl 0x41834c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401006
leave
ret