Function at 0x10030260
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x100581a0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
mov eax, dword [0x10070828]
push 0x25b
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebp + 4]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x16c]
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], edx
mov dword [eax + 0x31c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x10070bf0]
add esi, 0x10
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x10070c98]
lea ecx, [esp + 0x18]
call fcn.10014290
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp + 0x20]
lea esi, [edi + 4]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.100141e0
mov ecx, dword [ebp + 4]
push 0
push 0
lea esi, [ebp + 4]
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov eax, dword [ebp + 0x19c]
test eax, eax
je 0x1003033c
cmp eax, edi
je 0x1003033c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov dword [ebp + 0x19c], edi
call sub.SetupUi.dll_public:_bool___thiscall_CUiManager::IsWindowPosSaved_void_const
test al, al
mov edx, dword [esi]
push edx
je 0x10030384
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, ebx
mov edi, eax
call sub.SetupUi.dll_public:_struct_tagRECT_const____thiscall_CUiManager::GetWindowPos_void_const
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
push 0x40
sub ebx, ecx
push ebx
sub eax, edx
push eax
push ecx
mov ecx, dword [esi]
push edx
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x10030390
call dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.10014060
cmp dword [ebp + 0x4e8], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp + 0x470]
jne 0x100303c3
test eax, eax
je 0x100303b0
add eax, 0xfffffb90
jmp 0x100303b2
xor eax, eax
mov eax, dword [eax + 4]
push 0x4bd
push eax
call ebx
mov dword [ebp + 0x4e8], eax
mov ecx, ebp
call fcn.10036030
push ebp
call fcn.10010ac0
push ebp
call fcn.10010bd0
mov eax, ebp
call fcn.1001cc60
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ecx + 0x1b8]
push 0x426
lea ecx, [ebp + 0x2f8]
mov edi, ebp
call fcn.10046490
mov edx, dword [ebp + 0x16c]
mov eax, dword [edx + 0x1bc]
push 0x427
lea ecx, [ebp + 0x36c]
call fcn.10046490
mov eax, dword [esi]
push 0x4fe
push eax
lea edi, [ebp + 0x3e0]
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10030446
mov ecx, dword [esi]
push 0x4fe
push ecx
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x3e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100304a5
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x5d], 0
je 0x10030487
cmp byte [eax + 0x5c], 0
je 0x10030487
mov edx, dword [ebp + 0x3e4]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x3e4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100304a5
mov ecx, dword [ebp + 0x3e4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x3e4]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi]
push 0x3e9
push eax
lea edi, [ebp + 0x404]
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100304d4
mov ecx, dword [esi]
push 0x3e9
push ecx
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ecx, dword [esi]
push 1
push ecx
lea edi, [ebp + 0x428]
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100304fd
mov edx, dword [esi]
push 1
push edx
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ecx, dword [esi]
push 2
push ecx
lea edi, [ebp + 0x44c]
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10030526
mov edx, dword [esi]
push 2
push edx
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov eax, dword [ebp + 0x17c]
xor edi, edi
cmp eax, edi
je 0x1003062a
mov ecx, dword [ebp + 0x180]
sub ecx, eax
sar ecx, 2
je 0x1003062a
mov edx, dword [ebp + 0x16c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], 1
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
call sub.SetupUi.dll_public:_struct_tagRECT_const____thiscall_CUiManager::GetWindowPos_void_const
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
xor esi, esi
mov ecx, dword [ebp + 0x17c]
cmp ecx, edi
je 0x100305fc
mov eax, dword [ebp + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x100305fc
cmp ecx, edi
je 0x100305e1
mov eax, dword [ebp + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100305e7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x17c]
mov edx, dword [eax + esi*4]
lea ecx, [esp + 0x2c]
push ecx
call edx
add esi, 1
jmp 0x100305b5
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x1003060d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
je 0x1003062a
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp + 4]
push 0x407
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x10030655
mov ecx, dword [ebp + 4]
push 0x407
push ecx
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x1a0], edi
jne 0x10030678
mov edx, dword [ebp + 0x408]
push edx
call esi
test eax, eax
je 0x10030678
mov eax, dword [ebp + 0x408]
push edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4