Function at 0x1000d050
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 0x1000d12c
cmp eax, edi
je 0x1000d12c
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 0x1000d174
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 0x1000d180
call dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.10014060
mov ecx, ebp
call fcn.10036030
push ebp
call fcn.10010ac0
push ebp
call fcn.10010bd0
mov eax, ebp
call fcn.1001cc60
mov eax, dword [ebp + 0x16c]
mov eax, dword [eax + 0x1b8]
push 0x426
lea ecx, [ebp + 0x2f8]
mov edi, ebp
call fcn.10046490
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ecx + 0x1bc]
push 0x427
lea ecx, [ebp + 0x36c]
call fcn.10046490
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4fe
push edx
lea ebx, [ebp + 0x3e0]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d209
mov eax, dword [esi]
push 0x4fe
push eax
call edi
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0x3e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d268
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x5d], 0
je 0x1000d24a
cmp byte [eax + 0x5c], 0
je 0x1000d24a
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 0x1000d268
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 ebx, [ebp + 0x404]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d297
mov ecx, dword [esi]
push 0x3e9
push ecx
call edi
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [esi]
push 1
push ecx
lea ebx, [ebp + 0x428]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d2c0
mov edx, dword [esi]
push 1
push edx
call edi
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [esi]
push 2
push ecx
lea ebx, [ebp + 0x44c]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d2e9
mov edx, dword [esi]
push 2
push edx
call edi
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov eax, dword [ebp + 0x17c]
xor ebx, ebx
cmp eax, ebx
je 0x1000d3f5
mov ecx, dword [ebp + 0x180]
sub ecx, eax
sar ecx, 2
je 0x1000d3f5
mov edx, dword [ebp + 0x16c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], 1
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
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
jmp 0x1000d380
mov ecx, dword [ebp + 0x17c]
cmp ecx, ebx
je 0x1000d3c7
mov eax, dword [ebp + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x1000d3c7
cmp ecx, ebx
je 0x1000d3ac
mov eax, dword [ebp + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1000d3b2
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 0x1000d380
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x1000d3d8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x1000d3f5
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp + 4]
push 0x407
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x1000d420
mov ecx, dword [ebp + 4]
push 0x407
push ecx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x1a0], ebx
jne 0x1000d443
mov edx, dword [ebp + 0x408]
push edx
call esi
test eax, eax
je 0x1000d443
mov eax, dword [ebp + 0x408]
push ebx
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