Function at 0x10011130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10031008
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
cmp edi, 0x4c8
jne 0x1001125b
push 0x2420
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x1001118f
push eax
call fcn.10005470
jmp 0x10011191
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov dword [0x10043e34], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x4e2
mov dword [esp + 0x20], 0x2bc
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x14]
mov eax, 0x1004244c
call fcn.1000f770
mov dword [esp + 0x58], 1
cmp dword [eax + 0x18], 8
jb 0x100111e4
mov eax, dword [eax + 4]
jmp 0x100111e7
add eax, 4
mov ecx, dword [0x10043e34]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x9c]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [0x10043e34]
call fcn.10006170
mov edx, dword [0x1004244c]
mov eax, dword [edx + 0x8c]
push ebx
mov ecx, 0x1004244c
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x10042154]
mov eax, dword [edx + 0x8c]
push ebx
mov ecx, 0x10042154
call eax
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x4cf
jne 0x10011336
mov ecx, dword [0x10043e38]
xor esi, esi
cmp ecx, esi
je 0x1001128b
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
push esi
push esi
push 0x4d0
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd34
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], 2
cmp eax, esi
je 0x100112b0
push eax
call fcn.1000fed0
jmp 0x100112b2
xor eax, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [0x10043e38], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x320
mov dword [esp + 0x20], 0x258
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x30]
mov eax, 0x1004244c
call fcn.1000fc80
mov dword [esp + 0x58], 3
cmp dword [eax + 0x18], 8
jb 0x10011306
mov eax, dword [eax + 4]
jmp 0x10011309
add eax, 4
mov ecx, dword [0x10043e38]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x98]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [0x10043e38]
call fcn.100104c0
mov ecx, dword [0x10043e38]
test ecx, ecx
je 0x1001137d
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
call eax
cmp ebx, eax
jne 0x1001137d
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x10043e38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x1004244c]
mov edx, dword [eax + 0x8c]
mov ecx, 0x1004244c
call edx
cmp ebx, eax
jne 0x100113c5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x1004244c]
push eax
mov eax, dword [edx + 0x90]
push ecx
push edi
push ebx
mov ecx, 0x1004244c
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x10042154]
mov eax, dword [edx + 0x8c]
mov ecx, 0x10042154
call eax
cmp ebx, eax
jne 0x1001140d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [0x10042154]
push ecx
push edx
mov edx, dword [eax + 0x90]
push edi
push ebx
mov ecx, 0x10042154
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10043e34]
test ecx, ecx
je 0x10011516
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
call edx
cmp ebx, eax
jne 0x10011516
cmp edi, 2
jne 0x100114e7
mov ecx, 0x1004244c
mov dword [0x10043e34], 0
call fcn.1000fb10
mov eax, dword [0x10042154]
mov edx, dword [eax + 0x8c]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, 0x10042154
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x10042154]
mov edx, dword [eax + 0x8c]
push 8
mov ecx, 0x10042154
call edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov eax, dword [0x1004244c]
mov edx, dword [eax + 0x8c]
push 8
mov ecx, 0x1004244c
call edx
push eax
call esi
mov eax, dword [0x1004244c]
mov edx, dword [eax + 0x8c]
mov ecx, 0x1004244c
call edx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x1004244c]
mov edx, dword [eax + 0x84]
push 0
mov ecx, 0x1004244c
call edx
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x10043e34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
push edx
mov edx, dword [ebp + 8]
push edx
push edi
push ebx
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8