Function at 0x412343
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push 0
mov ecx, edi
call fcn.0040ebf0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [0x464dfc]
add ebx, 0x10
push ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x463fd4]
lea eax, [esp + 0x10]
push eax
call fcn.0040fd00
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp esi, ebx
je 0x412395
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], ecx
jmp 0x412399
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x10]
push edx
lea ecx, [ebp + 4]
call fcn.0040fa30
cmp esi, ebx
je 0x4123b3
lea eax, [esi + 0x24]
mov dword [esp + 0x10], eax
jmp 0x4123b7
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x10]
call fcn.0040fa30
lea eax, [esi + 0x28]
cmp eax, ebx
je 0x4123ce
lea ebx, [eax - 0x28]
mov edx, dword [ebx + 4]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
mov eax, dword [ebx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0x4487f0
push str.LOGIN_UI.PNG
lea ecx, [esi + 0x3b8]
call fcn.00411f90
mov ecx, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fd
push ecx
mov dword [esi + 0x80], eax
call ebp
lea ebx, [esi + 0x84]
push eax
mov ecx, ebx
call fcn.0040fd60
mov edx, dword [edi]
push 1
push edx
call ebp
lea ecx, [esi + 0x124]
push eax
call fcn.0040fd60
mov eax, dword [edi]
push 0x3fc
push eax
call ebp
lea ecx, [esi + 0x1c4]
push eax
call fcn.0040fd60
mov ecx, dword [edi]
push 0x3fa
push ecx
call ebp
lea ecx, [esi + 0x264]
push eax
call fcn.0040fd60
mov edx, dword [edi]
push 0x3fb
push edx
call ebp
lea ebp, [esi + 0x304]
push eax
mov ecx, ebp
call fcn.0040fd60
push 4
push 0xf
push 0x1ae
push str.close_btn.png
push ebx
mov ecx, esi
call fcn.004121a0
push 4
push 0x53
push 0x195
push str.question_btn.png
lea eax, [esi + 0x1c4]
push eax
mov ecx, esi
call fcn.004121a0
push 4
push 0xa9
push 0xbd
push str.pub_btn_large.png
lea eax, [esi + 0x264]
push eax
mov ecx, esi
call fcn.004121a0
push 4
push 0xa9
push 0x12a
push str.pub_btn_large.png
push ebp
mov ecx, esi
call fcn.004121a0
push 4
push 0xa9
push 0x192
push str.pub_btn_small.png
lea eax, [esi + 0x124]
push eax
mov ecx, esi
call fcn.004121a0
mov eax, dword [edi]
push 0
lea ebx, [esi + 0x58]
push eax
lea ecx, [esi + 0x30]
mov dword [ebx], esi
call fcn.00411500
test eax, eax
jne 0x412525
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
lea eax, [esi + 0x6c]
push eax
mov ecx, ebx
mov dword [eax], 0x96
mov dword [esi + 0x70], 0x3c
mov dword [esi + 0x74], 0x1c2
mov dword [esi + 0x78], 0x9c
call fcn.004153e0
mov ecx, dword [esi + 0x34]
push 0xa
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov byte [esi + 0x428], 0
mov ecx, dword [0x463e74]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
call edx
mov ecx, dword [0x463e74]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax + 0x58]
push edx
call eax
cmp dword [esi + 0x7c], 0
je 0x412593
mov ecx, dword [esi + 0x80]
push ecx
lea ecx, [esi + 0x28]
call fcn.00411c60
mov edx, dword [esi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
push edx
call edi
mov eax, dword [esi + 0x5c]
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10