Function at 0x402e70
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4067e7
mov eax, dword fs:[0]
push eax
sub esp, 0x928
mov eax, dword [0x40b424]
xor eax, esp
mov dword [esp + 0x924], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40b424]
xor eax, esp
push eax
lea eax, [esp + 0x93c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94c]
mov ebp, dword [esp + 0x950]
push 0x309
push str..loginService.cpp
lea ecx, [esp + 0x30]
call fcn.00405530
add eax, 4
push str.ReadLogOnShareMemory_:
xor ebx, ebx
push eax
mov dword [esp + 0x94c], ebx
call fcn.004014d0
or edi, 0xffffffff
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x944], edi
call fcn.00405740
mov eax, dword [0x40b874]
cmp eax, ebx
jne 0x402f48
push 0x30b
push str..loginService.cpp
lea ecx, [esp + 0x30]
call fcn.00405530
add eax, 4
push str.Map_handle__NULL
push eax
mov dword [esp + 0x94c], 1
call fcn.004014d0
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x944], edi
call fcn.00405740
xor al, al
jmp 0x403171
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x402fb5
push 0x312
push str..loginService.cpp
lea ecx, [esp + 0x30]
call fcn.00405530
mov esi, eax
mov dword [esp + 0x944], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MapViewOfFile_failed__error_code_
add esi, 4
push esi
call fcn.004014d0
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___unsigned_long_int_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x944], 0xffffffff
call fcn.00405740
xor al, al
jmp 0x403171
push edi
lea ecx, [esp + 0x20]
call fcn.00405a54
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00405ad6
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405ad6
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00405ad6
push 0x800
lea eax, [esp + 0x13c]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [ecx + ecx]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x24]
call fcn.00405a8a
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP90.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__::operator_unsigned_short_int_const__]
cmp dword [esp + 0x14], ebx
je 0x403069
push 0x800
lea edx, [esp + 0x13c]
push ebx
push edx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x13c]
push edx
lea ecx, [esp + 0x24]
call fcn.00405a8a
cmp dword [esp + 0x18], ebx
je 0x4030ae
push 0x800
lea eax, [esp + 0x13c]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [ecx + ecx]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x24]
call fcn.00405a8a
lea ecx, [esp + 0x138]
push ecx
mov ecx, ebp
call dword [sym.imp.MSVCP90.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__::operator_unsigned_short_int_const__]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x335
push str..loginService.cpp
lea ecx, [esp + 0x30]
call fcn.00405530
add eax, 4
push str.UseName_
push eax
mov dword [esp + 0x94c], 3
call fcn.004054d0
mov edi, 8
add esp, 8
cmp dword [esi + 0x18], edi
jb 0x4030f3
mov esi, dword [esi + 4]
jmp 0x4030f6
add esi, 4
push esi
push eax
call fcn.004054d0
or esi, 0xffffffff
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x944], esi
call fcn.00405740
push 0x336
push str..loginService.cpp
lea ecx, [esp + 0xb8]
call fcn.00405530
add eax, 4
push str.DomainName_
push eax
mov dword [esp + 0x94c], 4
call fcn.004054d0
add esp, 8
cmp dword [ebp + 0x18], edi
jb 0x40314f
mov ebp, dword [ebp + 4]
jmp 0x403152
add ebp, 4
push ebp
push eax
call fcn.004054d0
add esp, 8
lea ecx, [esp + 0xb0]
mov dword [esp + 0x944], esi
call fcn.00405740
mov al, 1
mov ecx, dword [esp + 0x93c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x924]
xor ecx, esp
call fcn.00405af7
add esp, 0x934
ret