Function at 0x418340
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 0x41836f
mov eax, dword [0x41d7d4]
add eax, 0x9e49
cmp eax, 0x141
jne 0x418387
or dword [0x41e3cc], 0xffffffff
mov dword [0x41e3c8], 0xec58acac
inc ecx
cmp ecx, 0x1237750
jl 0x41835d
mov dword [0x42c0b4], eax
xor ecx, ecx
cmp ecx, 0x562d05
jne 0x4183ab
mov edx, dword [0x41cfe8]
mov dword [0x42c1e4], edx
inc ecx
cmp ecx, 0x5f6c74
jl 0x418397
cmp eax, 0x7c
jne 0x418437
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 0x418429
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 0x418482
inc edi
cmp edi, 0xe860d
jl 0x41843a
cmp dword [0x42c0b4], 0x110a
jne 0x418534
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 0x4184d4
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 0x418594
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 0x41858f
mov dword [0x42bf00], 0x19b0
inc ecx
cmp ecx, eax
jb 0x418551
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.004180ed
call fcn.004180cf
call fcn.00418301
xor eax, eax
cmp eax, 0xd606b
jne 0x4185bc
call fcn.004180c4
inc eax
cmp eax, 0x24e87d
jl 0x4185b0
mov dword [0x42bf04], 0x8e46a6f0
cmp esi, 0x408e
jle 0x4185e2
cmp dword [ebp - 0x854], 0xf5bed7
jne 0x4185eb
inc esi
cmp esi, 0x687ed2
jl 0x4185ce
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401006
leave
ret