Function at 0x40edbb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4188a0]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push 0x12f
lea esi, [ebx + 4]
push dword [esi]
mov dword [ebp - 4], eax
call edi
push 0x136
push dword [esi]
mov dword [ebp - 0x30], eax
call edi
push 0x130
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push 0x138
push dword [esi]
mov dword [ebp - 0x18], eax
call edi
push 0x131
push dword [esi]
mov dword [ebp - 0x20], eax
call edi
push 0x139
push dword [esi]
mov dword [ebp - 0xc], eax
call edi
push 1
push dword [esi]
mov dword [ebp - 0x10], eax
call edi
push 2
push dword [esi]
mov dword [ebp - 0x28], eax
call edi
and dword [ebp - 8], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x9c]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x34]
inc eax
add ecx, 2
imul eax, ecx
sub edi, eax
mov eax, dword [ebx + 0x4c]
sub edi, dword [ebp - 0x3c]
mov ecx, eax
and ecx, 4
mov dword [ebp - 0x2c], edi
je 0x40ee97
test al, 8
jne 0x40ee97
push dword [ebp - 0x10]
push dword [ebp - 0xc]
jmp 0x40eeb2
test ecx, ecx
jne 0x40eebc
test al, 8
je 0x40eea4
push dword [ebp - 0x20]
jmp 0x40eeaf
test ecx, ecx
jne 0x40eebc
test al, 8
jne 0x40eebc
push dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.0040e1ed
mov dword [ebp - 8], eax
test byte [ebx + 0x4c], 4
jne 0x40eed8
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebx + 0x4c], 8
jne 0x40eef4
push 0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x4c]
test al, 8
je 0x40eeff
test al, 4
jne 0x40ef38
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0040e1ed
push 0xfffffffffffffffc
pop edi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0xc]
sub edi, eax
call fcn.0040e1ed
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x18]
add edi, eax
call fcn.0040e1ed
add eax, dword [ebp - 8]
add eax, edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
test edi, edi
jge 0x40ef41
add dword [ebp - 8], edi
jmp 0x40ef43
xor edi, edi
test edi, edi
jne 0x40ef4c
cmp dword [ebp - 8], edi
je 0x40efa9
push dword [ebp - 8]
mov ecx, ebx
push dword [esi]
call fcn.0040e19a
push dword [ebp - 8]
mov ecx, ebx
push dword [ebp - 0x28]
call fcn.0040e0fa
push dword [ebp - 8]
mov ecx, ebx
push dword [ebp - 0x24]
call fcn.0040e0fa
push edi
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0040e0fa
push edi
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0040e0fa
push edi
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.0040e0fa
push edi
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.0040e0fa
push edi
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0040e19a
test byte [ebx + 0x4c], 2
jne 0x40efda
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x40efcd
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebp - 0x28]
mov ecx, ebx
push dword [ebp - 0x24]
call fcn.0040e148
mov eax, dword [ebx + 0x4c]
test al, 8
je 0x40efff
test al, 4
jne 0x40efff
push dword [ebp - 0xc]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0040e148
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x20]
call fcn.0040e148
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0
push 0x1036
push dword [ebp - 0x14]
call edi
push 0xffffffffffffffff
push 0
push 0x1001
push dword [ebp - 0x14]
call edi
push 0xffffffffffffffff
push 0
push 0x1026
push dword [ebp - 0x14]
call edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0x1061
push dword [ebp - 0x14]
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x58], 0x1f4
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x6c]
call fcn.0040dddc
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
cmp edx, eax
mov dword [ebp - 0xc], edx
je 0x40f0c1
jmp 0x40f077
mov edx, dword [ebp - 0xc]
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x19]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x19]
push eax
push dword [edx + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov ecx, dword [ebx + 0x6c]
call fcn.0040eb17
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x6c]
push eax
call fcn.0040e0ba
test eax, eax
je 0x40f0b1
and dword [eax + 0x14], 0
lea ecx, [ebp - 0xc]
call fcn.00407b23
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x60]
jne 0x40f074
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x40f0d6
push 0
push dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
push eax
call fcn.004125c7
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40f0eb
push 1
push dword [ebp - 0x10]
lea eax, [ebx + 0x1c]
push eax
call fcn.004125c7
lea ecx, [ebx + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [esi]
call edi
lea ecx, [ebx + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push dword [ebp - 0x30]
call edi
mov ecx, ebx
call fcn.0040ebd8
push 0
mov ecx, esi
call fcn.0040d9b0
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x40f12c
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
call fcn.00414101
pop edi
pop esi
pop ebx
leave
ret 0x10