Function at 0x46aa90
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 [0x46e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
xor eax, eax
cmp eax, 0x18a
jne 0x46aac7
mov ecx, dword [0x46f6e4]
add ecx, 0x9e49
mov dword [0x503094], ecx
jmp 0x46aacd
mov ecx, dword [0x503094]
cmp ecx, 0x141
jne 0x46aae6
or dword [0x4702ec], 0xffffffff
mov dword [0x4702e8], 0xec58acac
inc eax
cmp eax, 0x1237750
jl 0x46aaac
xor eax, eax
cmp eax, 0x562d05
jne 0x46ab03
mov edx, dword [0x46eef8]
mov dword [0x5031c4], edx
inc eax
cmp eax, 0x5f6c74
jl 0x46aaf0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp ecx, 0x7c
jne 0x46abad
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 [0x503094], 0x54
jne 0x46ab9f
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 [0x503094], 0xc31
jne 0x46abcb
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 0x46abef
push esi
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
cmp dword [0x503094], 0xf1d
jne 0x46ac02
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 0x46ac2d
cmp dword [0x503094], 0xa
jne 0x46ac2d
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
inc edi
cmp edi, 0xe5efd
jl 0x46abb0
cmp dword [0x503094], 0x110a
jne 0x46acb6
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
push esi
push esi
push esi
mov dword [0x503088], esi
mov dword [0x50308c], esi
call edi
cmp dword [0x503094], 0xcc
jne 0x46ac88
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 [0x4702e0], 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.0046a7d2
xor ecx, ecx
pop edi
cmp dword [0x503094], esi
jbe 0x46ad09
mov eax, dword [0x5031c4]
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 [0x502edc]
mov byte [edx + ecx], al
mov eax, dword [0x503094]
cmp eax, 0x5ab
jne 0x46ad04
mov dword [0x502ee0], 0x19b0
inc ecx
cmp ecx, eax
jb 0x46acc6
push str.msimg32.dll
call ebx
call fcn.0046a80f
call fcn.0046a7f1
call fcn.0046aa51
xor eax, eax
pop ebx
cmp eax, 0xd606b
jne 0x46ad2e
call fcn.0046a7e6
inc eax
cmp eax, 0x24e87d
jl 0x46ad22
mov dword [0x502ee4], 0x8e46a6f0
cmp esi, 0x408e
jle 0x46ad54
cmp dword [ebp - 0x1c28], 0xf5bed7
jne 0x46ad5d
inc esi
cmp esi, 0x687ed2
jl 0x46ad40
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret