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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10058640
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [0x10070828]
push 0x25b
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
push eax
push 1
lea esi, [ebx + 4]
push 0x80
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x16c]
mov edx, dword [eax + 8]
mov esi, dword [esi]
mov dword [esp + 0x10], edx
mov dword [eax + 0x31c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x10070bf0]
add esi, 0x10
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x10070c98]
lea ecx, [esp + 0x14]
call fcn.10014290
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ebx, 0x20
mov dword [esp + 0x14], ebx
lea esi, [edi + 4]
lea ebx, [esp + 0x14]
call fcn.100141e0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x1002d226
cmp eax, esi
je 0x1002d226
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x19c], esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call sub.SetupUi.dll_public:_bool___thiscall_CUiManager::IsWindowPosSaved_void_const
test al, al
je 0x1002d274
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, esi
mov dword [esp + 0x18], eax
call sub.SetupUi.dll_public:_struct_tagRECT_const____thiscall_CUiManager::GetWindowPos_void_const
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0x40
sub esi, ecx
push esi
sub eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1002d283
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push ebx
call fcn.10014060
mov esi, edi
call fcn.1002e140
mov ecx, edi
call fcn.10036030
push edi
call fcn.10010ac0
push edi
call fcn.10010bd0
mov eax, edi
call fcn.1001cc60
mov ecx, dword [edi + 0x16c]
mov eax, dword [ecx + 0x1b8]
push 0x426
lea ecx, [edi + 0x2f8]
call fcn.10046490
mov edx, dword [edi + 0x16c]
mov eax, dword [edx + 0x1bc]
push 0x427
lea ecx, [edi + 0x36c]
call fcn.10046490
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4fe
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d313
mov ecx, dword [ebx]
push 0x4fe
push ecx
call esi
mov edx, dword [edi + 0x3e0]
lea ecx, [edi + 0x3e0]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [edi + 0x3e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d372
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x5d], 0
je 0x1002d354
cmp byte [eax + 0x5c], 0
je 0x1002d354
mov edx, dword [edi + 0x3e4]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x3e4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1002d372
mov ecx, dword [edi + 0x3e4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x3e4]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx]
push 0x3e9
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d3a3
mov ecx, dword [ebx]
push 0x3e9
push ecx
call esi
mov edx, dword [edi + 0x404]
lea ecx, [edi + 0x404]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebx]
push 1
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d3ce
mov edx, dword [ebx]
push 1
push edx
call esi
mov edx, dword [edi + 0x428]
lea ecx, [edi + 0x428]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebx]
push 2
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d3f9
mov edx, dword [ebx]
push 2
push edx
call esi
mov edx, dword [edi + 0x44c]
lea ecx, [edi + 0x44c]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [edi + 0x17c]
xor eax, eax
cmp ecx, eax
je 0x1002d50d
mov edx, dword [edi + 0x180]
sub edx, ecx
sar edx, 2
je 0x1002d50d
mov ecx, dword [edi + 0x16c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x98], 1
mov edx, dword [ebx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call sub.SetupUi.dll_public:_struct_tagRECT_const____thiscall_CUiManager::GetWindowPos_void_const
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
xor esi, esi
jmp 0x1002d490
mov ecx, dword [edi + 0x17c]
test ecx, ecx
je 0x1002d4d7
mov eax, dword [edi + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x1002d4d7
test ecx, ecx
je 0x1002d4bc
mov eax, dword [edi + 0x180]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1002d4c2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x17c]
mov ecx, dword [edx + esi*4]
lea eax, [esp + 0x2c]
push eax
call ecx
add esi, 1
jmp 0x1002d490
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1002d4e8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
je 0x1002d507
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebx]
push 0x407
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d535
mov eax, dword [ebx]
push 0x407
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x1a0], 0
jne 0x1002d55e
mov ecx, dword [edi + 0x408]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002d55e
mov edx, dword [edi + 0x408]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4