Function at 0x4143c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41499f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
test eax, eax
je 0x414989
push 0x14
mov edx, dword [0x41f6a4]
push edx
mov edx, dword [0x41f6a0]
push edx
push 0xfffff830
push 0xfffff830
push 0xfffffffffffffffe
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [0x41f6a0], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov dword [0x41f6a4], eax
mov eax, dword [0x41f6a0]
sub eax, dword [ebp - 0x4c]
mov edx, dword [0x41f6a4]
sub edx, dword [ebp - 0x48]
test eax, eax
jne 0x41446c
test edx, edx
je 0x414488
push 0x16
add edx, dword [ebp - 0x48]
push edx
add eax, dword [ebp - 0x4c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
jne 0x41454c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
dec eax
je 0x4144ac
dec eax
je 0x4144b6
dec eax
je 0x4144dd
jmp 0x4144f2
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
jmp 0x4144f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e8]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
sar eax, 1
jns 0x4144d5
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
jmp 0x4144f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
dec eax
je 0x414506
dec eax
je 0x414510
dec eax
je 0x414537
jmp 0x41454c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x41454c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1ec]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
sar eax, 1
jns 0x41452f
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x41454c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x40000
setne bl
test bl, bl
jne 0x41457f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetParent
push 0x37
call sub.kernel32.dll_Sleep
call fcn.00413b18
test bl, bl
je 0x414838
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_GetMenu
mov esi, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1e4], edx
lea eax, [ebp - 8]
mov edx, 0x64
call fcn.00403978
push esi
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x414700
inc ebx
xor edi, edi
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0x16
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 8]
call fcn.00403874
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push edi
push esi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x4146f8
cmp dword [ebp - 0x2c], 0
jne 0x4146f8
mov edx, 0x4149b0
mov eax, dword [ebp - 0x10]
call fcn.0040655c
test eax, eax
je 0x41464b
mov edx, 0x4149b8
mov eax, dword [ebp - 0x10]
call fcn.0040655c
test eax, eax
je 0x41464b
mov edx, 0x4149c4
mov eax, dword [ebp - 0x10]
call fcn.0040655c
test eax, eax
jne 0x4146f8
mov esi, dword [ebp - 0x20]
push esi
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x414700
inc ebx
xor edi, edi
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0x12
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 8]
call fcn.00403874
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push edi
push esi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x4146ee
cmp dword [ebp - 0x2c], 0
jne 0x4146ee
mov edx, 0x4149cc
mov ecx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.00406580
test eax, eax
je 0x4146e0
mov edx, 0x4149dc
mov ecx, 9
mov eax, dword [ebp - 0x10]
call fcn.00406580
test eax, eax
je 0x4146e0
mov edx, 0x4149e8
mov ecx, 0x11
mov eax, dword [ebp - 0x10]
call fcn.00406580
test eax, eax
jne 0x4146ee
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1e4], edx
jmp 0x414700
inc edi
dec ebx
jne 0x414662
jmp 0x414700
inc edi
dec ebx
jne 0x4145d0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 0
jne 0x414719
mov eax, dword [ebp - 4]
mov dword [eax + 0x1e4], 0x4e50
xor eax, eax
push ebp
push 0x41481b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x41480d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
mov byte [eax + 0x476], 1
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1d4]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x41478e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_LockWindowUpdate
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
push eax
push 0x111
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x4147e3
push 0x14
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x41480d
push 0
call sub.user32.dll_LockWindowUpdate
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414822
ret
push 0x37
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x414885
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414885
push 0x17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4148b1
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
mov byte [eax + 0x476], 0
push 0x14
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
push 0x40
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x41494d
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x41494d
push 0x47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x414979
push 0x44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
mov byte [eax + 0x476], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4149a6
lea eax, [ebp - 8]
call fcn.00403428
ret