Function at 0x47407f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x5700c4]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edi
lea ecx, [esi + 0x698]
and dword [edi + 0x744], 0
mov byte [edi + 0x74c], 0
mov dword [edi + 0x740], esi
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x748], eax
mov eax, dword [edi + 0x740]
mov ecx, dword [eax + 0x74c]
mov eax, dword [eax + 0x750]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x47411c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043d26b
mov ecx, dword [esp + 0xc]
push ecx
push dword [esp + 0x14]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.00438cbd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov esi, dword [edi + 0x740]
lea edi, [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add esi, 0x754
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x50]
mov esi, eax
mov ecx, dword [esp + 0xc]
lea edi, [esp + 0x28]
mov eax, dword [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x28]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
add ecx, esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x474175
add eax, edx
mov dword [esp + 0x44], eax
jmp 0x474179
mov eax, dword [esp + 0x44]
and dword [esp + 8], 0
sub ecx, esi
mov esi, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea edi, [esi + 0x550]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jle 0x474202
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 8]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, dword [eax]
call dword [edx + 0xf4]
test al, al
je 0x4741e7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
mov edx, dword [ecx]
push eax
call dword [edx + 0x140]
add esi, dword [esp + 0x50]
mov eax, dword [edi]
mov ecx, edi
inc dword [esp + 8]
call dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp ecx, eax
jl 0x4741af
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edi, dword [esp + 0xc]
add eax, 4
cmp eax, edi
push 2
cmovl edi, eax
mov eax, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x474256
add eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
mov ecx, esi
push 2
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0x80
push SysReAllocString
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.00449890
mov edi, dword [esi + 4]
jmp 0x4742d0
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4742c7
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.004e5245
mov esp, ebp
pop ebp
ret 4