Function at 0x40a010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f8
call fcn.005fffa0
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10e0], 0
mov byte [ebp - 0x620], 0
push 0x3ff
push 0
lea eax, [ebp - 0x61f]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [0x6b0d90], 0
mov dword [0x6a96cc], 0x64
mov byte [0x6a95d9], 1
lea ecx, [ebp - 0xecc]
push ecx
call fcn.00413d90
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
lea edx, [ebp - 0xee8]
push edx
call fcn.00412ab0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str._s_logs_NGBOSS.exe._s
push 0x3ff
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x14
lea ecx, [ebp - 0xee8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xecc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x620]
push ecx
push 0
call fcn.00404f30
add esp, 8
push 0x6163f0
call fcn.004067d0
add esp, 4
push 0
lea edx, [ebp - 0xf04]
push edx
call fcn.00412ab0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str._s_logs_
push 0x3ff
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
lea ecx, [ebp - 0xf04]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x620]
push ecx
call fcn.00413f60
add esp, 4
push 0
lea edx, [ebp - 0xf20]
push edx
call fcn.00412040
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x6163d4
push 2
push 0xd3
push str..NGBOSS.cpp
lea ecx, [ebp - 0xf28]
call fcn.00403d10
mov ecx, eax
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
push eax
call fcn.00408230
add esp, 8
lea ecx, [ebp - 0xf28]
call fcn.004042e0
lea ecx, [ebp - 0xf20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.00409d60
mov byte [ebp - 0xe75], 0
xor eax, eax
mov word [ebp - 0xe58], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xe56]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0xe98], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], 0
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x640], eax
mov dword [ebp - 0xe9c], 0
jmp 0x40a227
mov ecx, dword [ebp - 0xe9c]
add ecx, 1
mov dword [ebp - 0xe9c], ecx
mov edx, dword [ebp - 0xe9c]
cmp edx, dword [ebp - 0x21c]
jge 0x40a350
push 0xc
push str.__url
mov eax, dword [ebp - 0xe9c]
mov ecx, dword [ebp - 0x640]
mov edx, dword [ecx + eax*4]
push edx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40a2c6
mov eax, dword [ebp - 0xe9c]
mov ecx, dword [ebp - 0x640]
mov edx, dword [ecx + eax*4]
add edx, 0xc
mov dword [ebp - 0xe98], edx
push 0xe
push 0x6163b4
mov eax, dword [ebp - 0xe98]
push eax
call dword [sym.imp.MSVCR90.dll__memicmp]
add esp, 0xc
test eax, eax
je 0x40a2c6
push 0x10
push 0x6163a0
mov ecx, dword [ebp - 0xe98]
push ecx
call dword [sym.imp.MSVCR90.dll__memicmp]
add esp, 0xc
test eax, eax
je 0x40a2c6
push 0
push 0x616394
push str._rNAQ
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x40a76a
push 0x10
push 0x6163a0
mov edx, dword [ebp - 0xe9c]
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
je 0x40a30c
push 0xe
push 0x6163b4
mov edx, dword [ebp - 0xe9c]
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40a321
mov edx, dword [ebp - 0xe9c]
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xe98], ecx
push 0x1a
push str.__corechrome
mov edx, dword [ebp - 0xe9c]
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40a34b
mov byte [ebp - 0xe75], 1
jmp 0x40a218
push 0
lea ecx, [ebp - 0x654]
call fcn.0043e2f0
push 0
lea ecx, [ebp - 0x654]
call fcn.0043e340
mov dword [0x6a1534], eax
push 1
lea ecx, [ebp - 0xfa8]
call fcn.00409eb0
mov dword [ebp - 0x10e4], eax
lea ecx, [ebp - 0xf60]
call fcn.004016e0
lea ecx, [ebp - 0xf5c]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xe94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x63c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0xe74]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 0x218], 0x50
cmp dword [ebp - 0xe98], 0
je 0x40a5ac
push 0
mov edx, dword [ebp - 0xe98]
push edx
call fcn.004137e0
add esp, 8
test eax, eax
jne 0x40a42f
mov eax, dword [ebp - 0xe98]
push eax
push 0x616344
push 2
push 0x12a
push str..NGBOSS.cpp
lea ecx, [ebp - 0xfb0]
call fcn.00403d10
mov ecx, eax
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
lea ecx, [ebp - 0xfb0]
call fcn.004042e0
call fcn.0045eb90
mov dword [ebp - 0xea0], eax
lea ecx, [ebp - 0xe74]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0xe94]
push ecx
mov edx, dword [ebp - 0xe98]
push edx
mov ecx, dword [ebp - 0xea0]
call fcn.0045f310
movzx eax, al
test eax, eax
jne 0x40a4dd
push 1
lea ecx, [ebp - 0x1030]
call fcn.00409eb0
mov dword [ebp - 0x10e8], eax
lea ecx, [ebp - 0xfe4]
call fcn.00409fa0
lea ecx, [ebp - 0xfe4]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov dword [ebp - 0x1034], 0xffffffff
lea ecx, [ebp - 0xe74]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x63c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xe94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x654]
call fcn.0043e330
mov eax, dword [ebp - 0x1034]
jmp 0x40a76a
mov ecx, dword [ebp - 0xea0]
call fcn.00461db0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1038], esp
lea edx, [ebp - 0xe74]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [ebp - 0x218]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x103c], esp
lea edx, [ebp - 0x63c]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1040], esp
lea eax, [ebp - 0xe94]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0xea0]
call fcn.0045f4e0
mov ecx, dword [ebp - 0xea0]
call fcn.0045eb60
mov byte [section.Shared], al
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1044], esp
lea edx, [ebp - 0xe74]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [ebp - 0x218]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1048], esp
lea edx, [ebp - 0x63c]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x104c], esp
lea eax, [ebp - 0xe94]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0xea0]
call fcn.0045fe70
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40a61d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed___d__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
mov dword [ebp - 0x1050], 0
lea ecx, [ebp - 0xe74]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x63c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xe94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x654]
call fcn.0043e330
mov eax, dword [ebp - 0x1050]
jmp 0x40a76a
push 1
lea ecx, [ebp - 0x10d0]
call fcn.00409eb0
mov dword [ebp - 0x10f4], eax
lea ecx, [ebp - 0x1084]
call fcn.00409fa0
lea ecx, [ebp - 0x1084]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
movzx edx, byte [section.Shared]
test edx, edx
je 0x40a68b
lea ecx, [ebp - 0xea4]
call fcn.00468fd0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xea4]
call fcn.00469010
movzx ecx, al
test ecx, ecx
je 0x40a67e
lea ecx, [ebp - 0xea4]
call fcn.00469620
lea ecx, [ebp - 0xea4]
call fcn.00468ff0
jmp 0x40a6ef
lea ecx, [ebp - 0xea5]
call fcn.0040a790
mov edx, dword [ebp + 8]
push edx
call fcn.0040a850
add esp, 4
movzx eax, al
test eax, eax
je 0x40a6e4
call fcn.00413540
call fcn.0040a970
mov dword [ebp - 0xeac], eax
cmp dword [ebp - 0xeac], 0
je 0x40a6e4
call fcn.0045eb90
mov dword [ebp - 0xeb0], eax
mov ecx, dword [ebp - 0xeac]
push ecx
mov ecx, dword [ebp - 0xeb0]
call fcn.00462830
call fcn.0040a890
lea ecx, [ebp - 0xea5]
call fcn.0040a7a0
push 0x616314
push 2
push 0x194
push str..NGBOSS.cpp
lea ecx, [ebp - 0x10d8]
call fcn.00403d10
mov ecx, eax
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
lea ecx, [ebp - 0x10d8]
call fcn.004042e0
call fcn.004067e0
mov dword [ebp - 0x10dc], 0
lea ecx, [ebp - 0xe74]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x63c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xe94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x654]
call fcn.0043e330
mov eax, dword [ebp - 0x10dc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret 0x10