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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c4c
call fcn.00408b80
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
xor eax, eax
cmp eax, 0x18a
jne 0x417c38
mov ecx, dword [0x41c6e4]
add ecx, 0x9e49
mov dword [0x4b0094], ecx
jmp 0x417c3e
mov ecx, dword [0x4b0094]
cmp ecx, 0x141
jne 0x417c57
or dword [0x41d2ec], 0xffffffff
mov dword [0x41d2e8], 0xec58acac
inc eax
cmp eax, 0x1237750
jl 0x417c1d
xor eax, eax
cmp eax, 0x562d05
jne 0x417c74
mov edx, dword [0x41bef8]
mov dword [0x4b01c4], edx
inc eax
cmp eax, 0x5f6c74
jl 0x417c61
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp ecx, 0x7c
jne 0x417d1e
push esi
lea eax, [ebp - 0x1c04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [ebp - 0x1c48]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
lea eax, [ebp - 0x1c4c]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
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_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x4b0094], 0x54
jne 0x417d10
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call fcn.004013bb
push esi
call fcn.004013d1
pop ecx
pop ecx
push edi
xor edi, edi
cmp dword [0x4b0094], 0xc31
jne 0x417d3c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea eax, [ebp - 0x1c44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommProperties]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x2580e
jge 0x417d60
push esi
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
cmp dword [0x4b0094], 0xf1d
jne 0x417d73
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
push esi
push esi
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp edi, 0x25868
jle 0x417d9e
cmp dword [0x4b0094], 0xa
jne 0x417d9e
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
inc edi
cmp edi, 0xe5efd
jl 0x417d21
cmp dword [0x4b0094], 0x110a
jne 0x417e27
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
push esi
push esi
push esi
mov dword [0x4b0088], esi
mov dword [0x4b008c], esi
call edi
cmp dword [0x4b0094], 0xcc
jne 0x417df9
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 [0x41d2e0], 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
call fcn.0040108c
push esi
push esi
call fcn.0040111a
push esi
push esi
push esi
call fcn.00401386
push esi
push esi
call fcn.004013dc
push esi
push esi
push esi
call fcn.0040100f
add esp, 0x2c
call fcn.00417943
xor ecx, ecx
pop edi
cmp dword [0x4b0094], esi
jbe 0x417e7a
mov eax, dword [0x4b01c4]
mov dword [ebp - 0x1c48], eax
mov eax, 0x9e49
add dword [ebp - 0x1c48], eax
mov eax, dword [ebp - 0x1c48]
mov al, byte [eax + ecx]
mov edx, dword [0x4afedc]
mov byte [edx + ecx], al
mov eax, dword [0x4b0094]
cmp eax, 0x5ab
jne 0x417e75
mov dword [0x4afee0], 0x19b0
inc ecx
cmp ecx, eax
jb 0x417e37
push str.msimg32.dll
call ebx
call fcn.00417980
call fcn.00417962
call fcn.00417bc2
xor eax, eax
pop ebx
cmp eax, 0xd606b
jne 0x417e9f
call fcn.00417957
inc eax
cmp eax, 0x24e87d
jl 0x417e93
mov dword [0x4afee4], 0x8e46a6f0
cmp esi, 0x408e
jle 0x417ec5
cmp dword [ebp - 0x1c28], 0xf5bed7
jne 0x417ece
inc esi
cmp esi, 0x687ed2
jl 0x417eb1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret