Function at 0x417dfc
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 [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
xor eax, eax
cmp eax, 0x18a
jne 0x417e33
mov ecx, dword [0x41d6e4]
add ecx, 0x9e49
mov dword [0x4b1094], ecx
jmp 0x417e39
mov ecx, dword [0x4b1094]
cmp ecx, 0x141
jne 0x417e52
or dword [0x41e2ec], 0xffffffff
mov dword [0x41e2e8], 0xec58acac
inc eax
cmp eax, 0x1237750
jl 0x417e18
xor eax, eax
cmp eax, 0x562d05
jne 0x417e6f
mov edx, dword [0x41cef8]
mov dword [0x4b11c4], edx
inc eax
cmp eax, 0x5f6c74
jl 0x417e5c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp ecx, 0x7c
jne 0x417f19
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 [0x4b1094], 0x54
jne 0x417f0b
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 [0x4b1094], 0xc31
jne 0x417f37
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 0x417f5b
push esi
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
cmp dword [0x4b1094], 0xf1d
jne 0x417f6e
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 0x417f99
cmp dword [0x4b1094], 0xa
jne 0x417f99
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
inc edi
cmp edi, 0xe5efd
jl 0x417f1c
cmp dword [0x4b1094], 0x110a
jne 0x418022
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
push esi
push esi
push esi
mov dword [0x4b1088], esi
mov dword [0x4b108c], esi
call edi
cmp dword [0x4b1094], 0xcc
jne 0x417ff4
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 [0x41e2e0], 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.00417b3e
xor ecx, ecx
pop edi
cmp dword [0x4b1094], esi
jbe 0x418075
mov eax, dword [0x4b11c4]
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 [0x4b0edc]
mov byte [edx + ecx], al
mov eax, dword [0x4b1094]
cmp eax, 0x5ab
jne 0x418070
mov dword [0x4b0ee0], 0x19b0
inc ecx
cmp ecx, eax
jb 0x418032
push str.msimg32.dll
call ebx
call fcn.00417b7b
call fcn.00417b5d
call fcn.00417dbd
xor eax, eax
pop ebx
cmp eax, 0xd606b
jne 0x41809a
call fcn.00417b52
inc eax
cmp eax, 0x24e87d
jl 0x41808e
mov dword [0x4b0ee4], 0x8e46a6f0
cmp esi, 0x408e
jle 0x4180c0
cmp dword [ebp - 0x1c28], 0xf5bed7
jne 0x4180c9
inc esi
cmp esi, 0x687ed2
jl 0x4180ac
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret