Function at 0x40a0fb
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x41c67a
call fcn.0041be90
sub esp, 0x45c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x18], ebx
call fcn.00402ce6
mov ecx, esi
call fcn.0040a9cb
push 1
mov dword [esi + 8], eax
pop edi
cmp eax, edi
jne 0x40a1ec
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.JUZI_06DC3546_4050_4CE0_9091_9D4BCE75C85B
mov dword [ebp - 4], ebx
call fcn.0040b093
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40a15e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, esi
call fcn.0040a982
test eax, eax
je 0x40a40b
mov ecx, esi
call fcn.0040aa72
mov dword [esi + 0xc], eax
call fcn.00402c1f
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x40a194
cmp dword [ebp - 0x14], ebx
je 0x40a421
cmp eax, ebx
je 0x40a19c
call fcn.0040d67a
mov dword [eax + 0x28], ebx
call fcn.0040d67a
mov ecx, eax
call fcn.0040d6af
mov edi, eax
call fcn.0040d67a
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x40a1bb
cmp eax, 4
jne 0x40a1c2
mov dword [esi + 0x10], 1
cmp edi, ebx
je 0x40a52d
cmp dword [esi + 0xc], ebx
je 0x40a1dc
cmp dword [ebp - 0x14], ebx
jne 0x40a1dc
call fcn.0040d67a
mov dword [eax + 0x24], ebx
or dword [ebp - 4], 0xffffffff
push 1
pop eax
mov dword [ebp - 0x18], eax
push eax
jmp 0x40a557
cmp eax, 3
jne 0x40a384
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.JUZI_2B979D3E_B397_49FD_B292_DDB5FB99CB8C
mov dword [ebp - 4], 2
call fcn.0040b093
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40a228
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, esi
call fcn.0040a982
test eax, eax
je 0x40a55f
lea eax, [ebp - 0x14]
mov dword [esi + 0xc], edi
push eax
push str._upquit:
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402b6c
add esp, 0xc
test eax, eax
je 0x40a262
cmp dword [ebp - 0x14], ebx
je 0x40a262
mov dword [esi + 0x14], edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25e]
mov word [ebp - 0x260], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x260]
push 0x103
push eax
mov ecx, esi
call fcn.0040b005
test eax, eax
je 0x40a572
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0040d67a
mov dword [eax + 0x24], ebx
call fcn.0040d67a
mov dword [eax + 0x20], ebx
call fcn.0040d67a
mov ecx, eax
call fcn.0040d6af
test eax, eax
je 0x40a580
lea eax, [ebp - 0x260]
push eax
call fcn.0040d67a
mov ecx, eax
call fcn.0040ee9c
call fcn.0040d67a
cmp dword [eax + 0x24], ebx
je 0x40a2f4
call fcn.00402c1f
test eax, eax
jne 0x40a2f4
call fcn.0040d67a
mov dword [eax + 0x24], ebx
xor eax, eax
cmp dword [esi + 0x14], ebx
sete al
mov edi, eax
call fcn.0040d67a
mov dword [eax + 0x28], edi
xor eax, eax
cmp dword [esi + 0x14], ebx
sete al
mov edi, eax
call fcn.0040d67a
mov dword [eax + 0x2c], edi
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.0040b125
test eax, eax
je 0x40a366
mov esi, dword [ebp - 0x34]
cmp esi, ebx
jne 0x40a348
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
call fcn.0040d67a
cmp esi, ebx
mov edi, eax
je 0x40a366
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [edi + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push 1
lea ecx, [ebp - 0x38]
pop esi
mov byte [ebp - 4], 2
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push esi
jmp 0x40a599
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push str.JUZI_AB269781_6ABF_4F78_9748_6DF48ECCF0CC
mov dword [ebp - 4], 4
call fcn.0040b093
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x40a3b7
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, esi
call fcn.0040a982
test eax, eax
je 0x40a5a1
call fcn.00402c1f
test eax, eax
mov ecx, esi
je 0x40a5b2
call fcn.0040ac3b
test eax, eax
je 0x40a6c6
call fcn.0040b50b
mov ecx, eax
call fcn.0040bb52
call fcn.00411042
mov ecx, eax
call fcn.00411077
test eax, eax
je 0x40a703
mov dword [ebp - 0x18], edi
jmp 0x40a722
call fcn.0040b50b
mov dword [eax + 0xc], 0x6a
or dword [ebp - 4], 0xffffffff
push edi
jmp 0x40a557
mov ecx, esi
call fcn.0040b181
test eax, eax
jne 0x40a44d
push 0x10
push 0x422798
push 0x422b58
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040b50b
mov dword [eax + 0xc], 0x66
jmp 0x40a417
mov ecx, esi
call fcn.0040a9b4
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25e]
mov word [ebp - 0x260], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x260]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402a61
pop ecx
mov esi, eax
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x40a4c0
cmp word [esi], bx
je 0x40a4c0
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov esi, 0x422b54
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov esi, str._nadmin:
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x40a4f4
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00402c61
pop ecx
test eax, eax
pop ecx
je 0x40a511
call fcn.0040b50b
mov dword [eax + 4], ebx
jmp 0x40a51d
call fcn.0040b50b
mov dword [eax + 0xc], 0x6b
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x40a551
cmp dword [esi + 0xc], ebx
jne 0x40a545
push 0x10
push 0x422798
push 0x422b18
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040b50b
mov dword [eax + 0xc], 0x64
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
jmp 0x40a72a
call fcn.0040b50b
or dword [ebp - 4], 0xffffffff
mov dword [eax + 0xc], 0xca
push edi
jmp 0x40a599
call fcn.0040b50b
mov dword [eax + 0xc], 0xc9
jmp 0x40a593
mov ecx, esi
call fcn.0040af50
call fcn.0040b50b
mov dword [eax + 0xc], 0xc8
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
jmp 0x40a72a
call fcn.0040b50b
mov dword [eax + 0xc], 0x130
jmp 0x40a722
call fcn.0040b181
test eax, eax
jne 0x40a5df
push 0x10
push 0x42277c
push 0x422b58
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040b50b
mov dword [eax + 0xc], 0x12d
jmp 0x40a722
mov ecx, esi
call fcn.0040a9b4
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x466]
mov word [ebp - 0x468], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x468]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402a61
pop ecx
mov esi, eax
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
cmp esi, ebx
mov byte [ebp - 4], 5
je 0x40a652
cmp word [esi], bx
je 0x40a652
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov esi, 0x422b54
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov esi, str._nadmin:
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x40a686
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00402c61
pop ecx
test eax, eax
pop ecx
je 0x40a6a3
call fcn.0040b50b
mov dword [eax + 4], ebx
jmp 0x40a6af
call fcn.0040b50b
mov dword [eax + 0xc], 0x131
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
jmp 0x40a727
mov ecx, esi
call fcn.0040a9b4
mov ecx, esi
call fcn.0040acf9
test eax, eax
jne 0x40a6f9
push 0x10
push 0x42277c
push 0x422b00
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040b50b
mov dword [eax + 0xc], 0x12e
jmp 0x40a722
call fcn.0040b50b
mov dword [eax + 4], ebx
jmp 0x40a722
push 0x10
push 0x42277c
push 0x422b00
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040b50b
mov dword [eax + 0xc], 0x12c
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret