Function at 0x473e42
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
push esi
push edi
push ecx
lea edi, [ebx + 0x3c]
mov dword [ebp - 0xc], ebx
mov eax, dword [edi]
mov esi, esp
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0xc]
sub eax, 0x10
mov dword [ebp - 0x24], edi
push eax
call fcn.00402f5d
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
pop ecx
push dword [eax]
call fcn.004755b4
pop ecx
pop ecx
mov ecx, dword [ebx + 0xd8]
lea edx, [ebx + 0x3c]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x473f95
mov edi, edx
lea esi, [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
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 eax, dword [ecx]
call dword [eax + 4]
xor edx, edx
lea esi, [ebp - 0x20]
push edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xd8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x20], edx
mov ebx, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x48]
sub eax, ecx
add ecx, 0xfffffff6
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [ebp - 0x24]
push eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx]
push eax
mov eax, dword [ebp - 0x10]
sub esp, 0x10
mov edi, esp
push dword [eax]
mov eax, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebx + 0x10]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x473f2d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
sub eax, ecx
sub eax, esi
push dword [ebx + 0xc]
cdq
lea esi, [ecx + 0x10]
mov ecx, dword [ebx + 0x40]
sub eax, edx
sar eax, 1
sub esp, 0x10
add esi, eax
mov edi, esp
mov eax, dword [ebx + 0x48]
sub eax, ecx
mov dword [ebp - 0x20], esi
cdq
sub eax, edx
sar eax, 1
add eax, 0xfffffff7
add ecx, eax
lea eax, [esi + 0xc8]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + 0x1e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bbd2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0x14
lea eax, [ebp + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x473feb
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je 0x473feb
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push 1
push 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x48]
sub eax, dword [ebx + 0x40]
mov esi, dword [ebp - 8]
pop edi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebx + 0x40]
push edi
push edi
push eax
mov eax, dword [ebx + 0x44]
sub eax, dword [ebx + 0x3c]
sub eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x473fee
mov esi, dword [ebp - 8]
push 5
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x473f30