Function at 0x41de50
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x138
push ebx
mov ebx, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
push 0x40b
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x3c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x41df41
cmp dword [0x43b3b8], 4
je 0x41df41
mov edx, dword [ebx + 0x134]
push str.CheckPassWord
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x41df41
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x3c]
push ecx
push eax
call edx
add esp, 8
test eax, eax
jne 0x41df41
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
push 0x148
push ecx
call fcn.00422b30
mov edx, dword [esp + 0x14]
push 0
push 0x10
push edx
call fcn.00422db0
mov eax, dword [esp + 0x20]
mov edx, dword [0x4350bc]
mov ebx, dword [ebx + 4]
add esp, 0x18
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41df34
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41df34
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, ebx
pop edi
pop ebx
add esp, 0x138
ret 0x10
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x41df52
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x43b3b8]
push ebp
cmp eax, 7
push esi
jne 0x41dfdd
mov eax, dword [0x43b594]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41dfcb
mov eax, dword [0x43b594]
mov dword [eax + 8], eax
lea esi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43b354
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x43b388]
push 0x43b354
mov dword [esi + 8], edx
mov dword [0x43b388], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x154]
mov ecx, dword [0x43b328]
push 0
push 0x412dc0
push eax
push 0xee
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43b594]
test eax, eax
je 0x41e058
lea ebp, [eax + 4]
jmp 0x41e05a
mov eax, dword [0x43b588]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41e04a
mov eax, dword [0x43b588]
mov dword [eax + 8], eax
lea esi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43b354
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x43b388]
push 0x43b354
mov dword [esi + 8], edx
mov dword [0x43b388], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x154]
mov ecx, dword [0x43b328]
push 0
push 0x412dc0
push eax
push 0xef
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43b588]
test eax, eax
je 0x41e058
lea ebp, [eax + 4]
jmp 0x41e05a
xor ebp, ebp
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x150]
mov dword [eax + 0x20], edx
mov eax, dword [ebp]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test esi, esi
jne 0x41e09d
test edi, 0x40000000
je 0x41e08f
mov ecx, dword [ebp]
push ecx
call ebx
jmp 0x41e09b
mov edx, dword [ebp]
push 4
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov ecx, dword [ebp]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, 0x40000000
jne 0x41e116
test esi, esi
je 0x41e0d1
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x41e0cf
test eax, 0x20000000
je 0x41e0d1
xor esi, esi
lea edx, [esp + 0x24]
push 0
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x41e108
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x41e143
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41e143
mov edx, dword [ebp]
push edx
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push edi
call ebx
lea ecx, [esp + 0x14]
push ecx
push esi
call ebx
lea edx, [esp + 0x14]
push 2
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
add eax, ecx
sub ebx, edx
cdq
sub eax, edx
sub edi, esi
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x41e1a0
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x41e1a2
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x41e1b7
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x41e1b9
sub eax, ebx
mov esi, eax
mov eax, dword [ebp]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ecx + 4]
push edx
call esi
mov eax, dword [ebp]
push 5
push eax
call esi
mov eax, dword [ebp]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x138
ret 0x10