Function at 0x65120000
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6514e598
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6516c6d0]
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 esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x64], ebx
mov eax, dword [edi + 0x780]
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x6512005e
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push eax
mov eax, dword [ecx + 0x98]
call eax
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x65120068
mov dword [esi], ebx
mov dword [esi + 4], ebx
jmp 0x651202b6
cmp dword [edi + 0xb1c], ebx
jne 0x651202a2
mov ecx, 0xf
mov esi, str.MitiLoginPanelOffset_MiniPanel
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x78]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x17c]
call eax
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], ecx
call esi
push 1
mov ebx, eax
call esi
mov ecx, eax
mov eax, ebx
sub eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], ecx
cdq
sub eax, edx
lea edx, [ebp - 0x50]
push edx
push 0
mov esi, eax
push 2
sar edi, 1
sar esi, 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 1
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
jne 0x65120117
lea eax, [ebp - 0x50]
push eax
push 0x18c
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebp - 0x68], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x6512024f
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x58], eax
je 0x6512024f
lea edx, [eax + 0xc]
mov dword [ebp - 0x80], edx
xor ecx, ecx
lea esp, [esp]
cmp dword [edx], 0
je 0x65120152
add ecx, 1
add edx, 0xc
cmp ecx, 0x20
jl 0x65120140
jmp 0x651201bf
mov eax, dword [ebp - 0x80]
lea edx, [ecx + ecx*2]
lea edx, [eax + edx*4]
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0xb1c], edx
mov dword [edx], 1
mov edx, dword [eax + 0xb1c]
cmp dword [edx + 4], 0
je 0x65120188
cmp dword [edx + 8], 0
je 0x65120188
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], 0
jmp 0x651201bf
cmp dword [ebp - 0x68], 0
je 0x651201a1
mov dword [edx + 4], edi
mov edx, eax
mov eax, dword [edx + 0xb1c]
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x58]
jmp 0x651201bf
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 4]
add esi, 0x18
mov dword [edx + 4], esi
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x5c]
mov esi, dword [esi + 0xb1c]
add edx, 0x18
mov dword [esi + 8], edx
cmp ecx, 0x20
jne 0x651201d2
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
add edi, 0x18
add esi, 0x18
jmp 0x651201e1
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0xb1c]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edx, dword [ebp - 0x60]
lea ecx, [edx + edi]
cmp ecx, ebx
mov edx, dword [ebp - 0x70]
jg 0x65120205
mov eax, dword [ebp - 0x54]
add eax, esi
cmp eax, edx
mov eax, dword [ebp - 0x58]
jle 0x65120201
mov esi, 0x18
jmp 0x6512021b
cmp ecx, ebx
jle 0x6512022a
mov ecx, dword [ebp - 0x60]
mov edi, 0x18
mov esi, edi
add ecx, esi
cmp ecx, ebx
jle 0x6512021b
add ebx, 0xffffffe8
mov dword [ebp - 0x60], ebx
mov ecx, dword [ebp - 0x54]
add ecx, esi
cmp ecx, edx
jle 0x6512022a
add edx, 0xffffffe8
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0xb1c]
test ecx, ecx
je 0x65120243
mov dword [ecx + 4], edi
mov edx, dword [edx + 0xb1c]
mov dword [edx + 8], esi
cmp dword [ebp - 0x6c], 0
je 0x6512024f
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
add eax, esi
push eax
add ecx, edi
push ecx
push esi
push edi
push str.login_rect:_d___d___d___d
push str.MiniLoginFrame
push 3
push str.func
push 0x346
push str.file
call fcn.6511de10
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x64]
add esp, 0x28
test eax, eax
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebp - 4], 0xffffffff
je 0x6512029e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, ebx
jmp 0x651202b8
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
mov dword [ebp - 4], 0xffffffff
call edx
mov eax, esi
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.6514af96
mov esp, ebp
pop ebp
ret 8