Function at 0x487780
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529238
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x589080]
call fcn.00458960
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x487a23
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.00468430
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [esi + 4]
push 1
push ebx
push ecx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebp - 0x4c]
push 2
push ebx
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.0046bae0
mov dword [ebp - 4], 0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48784c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x487a21
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 3
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x487895
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00406e00
mov ebx, dword [ebp - 0x1c]
mov eax, 0x104
cmp dword [ebx - 8], eax
jge 0x4878a9
push 0x80070057
call fcn.00406170
push ebx
xor ecx, ecx
mov dword [ebx - 0xc], eax
push eax
mov word [ebx + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x48789f
cmp eax, dword [ebx - 8]
jg 0x48789f
mov dword [ebx - 0xc], eax
xor edx, edx
mov word [ebx + eax*2], dx
lea eax, [ebp - 0x34]
push eax
call fcn.00422780
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0041f010
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.004095e0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48792c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48794f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.0046bae0
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.004113a0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48798c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.00486610
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x4879c1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov byte [ebp - 4], 0xa
test edi, edi
je 0x4879db
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4879db
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4879fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487a21
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor ebx, ebx
mov eax, dword [esi + 0x50]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x13
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x487b1b
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x15
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x535164
push eax
mov eax, dword [ecx]
call eax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x14], ebx
je 0x487b08
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0x1a
cmp eax, ebx
je 0x487ab1
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x533f40
push eax
mov eax, dword [ecx]
call eax
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x44], eax
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], esp
cmp eax, ebx
je 0x487ad2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1b
call fcn.0045db50
add esp, 4
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x487af5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x487b08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x487b1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, esi
call fcn.00486fa0
push ebx
push 1
mov edi, eax
mov eax, dword [esi + 4]
push 0xb
push eax
cmp edi, ebx
jge 0x487b88
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 4]
push 0x105
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push 2
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004428b0
mov ecx, dword [0x589070]
push edi
push 0x101
push str.......cxxinstaller_srcWizardWindow.cpp
call fcn.0047e8b0
jmp 0x487be2
mov byte [esi + 0x8d], 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x8f], 0
je 0x487bbd
call fcn.004428b0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x8f], 0
mov edx, dword [esi + 4]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push 0x105
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov byte [esi + 0x8e], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x487bf8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret