Function at 0x40fa90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, 0x9dbf
mov dword [ebp - 4], ecx
mov word [ebp - 0x14], ax
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov eax, dword [0x4953f4]
mov dword [ebp - 0x24], 0xeffc9df3
mov dword [ebp - 0x20], 0xffeb859a
mov dword [ebp - 0x1c], 0xa92f479c
mov dword [ebp - 0x18], 0x8bf9cc
cmp eax, dword [ebx + 4]
jle 0x40fb46
push 0x4953f4
call fcn.00452992
add esp, 4
cmp dword [0x4953f4], 0xffffffff
jne 0x40fb46
xorps xmm0, xmm0
mov byte [0x495c8e], 1
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
nop dword [eax]
nop word [eax + eax]
mov ax, word [ebp + ecx*2 - 0x24]
mov word [ecx*2 + 0x495c7c], ax
add ecx, 1
adc edx, 0
test edx, edx
jne 0x40fb2c
cmp ecx, 9
jb 0x40fb10
push 0x479600
call fcn.00452c62
add esp, 4
push 0x4953f4
call fcn.00452941
add esp, 4
cmp byte [0x495c8e], 0
je 0x40fb95
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
nop dword [eax]
mov ecx, esi
mov eax, 0x85ef9dbf
and ecx, 7
mov edx, 0xf9a947ff
shl ecx, 3
call fcn.004741f0
xor word [esi*2 + 0x495c7c], ax
add esi, 1
adc edi, 0
test edi, edi
jne 0x40fb8e
cmp esi, 9
jb 0x40fb60
mov byte [0x495c8e], 0
mov eax, 0x85ef
mov dword [ebp - 0x28], 0xefd09dfd
mov word [ebp - 0x14], ax
mov eax, dword [0x495bdc]
mov dword [ebp - 0x24], 0xffc485a3
mov dword [ebp - 0x20], 0xa90947aa
mov dword [ebp - 0x1c], 0xb1f9ea
mov dword [ebp - 0x18], 0xefcf9dfa
cmp eax, dword [ebx + 4]
jle 0x40fc36
push 0x495bdc
call fcn.00452992
add esp, 4
cmp dword [0x495bdc], 0xffffffff
jne 0x40fc36
xorps xmm0, xmm0
mov byte [0x4958b2], 1
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
nop dword [eax]
mov ax, word [ebp + ecx*2 - 0x28]
mov word [ecx*2 + 0x49589c], ax
add ecx, 1
adc edx, 0
test edx, edx
jne 0x40fc1c
cmp ecx, 0xb
jb 0x40fc00
push 0x479640
call fcn.00452c62
add esp, 4
push 0x495bdc
call fcn.00452941
add esp, 4
cmp byte [0x4958b2], 0
je 0x40fc85
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
nop dword [eax]
mov ecx, esi
mov eax, 0x85ef9dbf
and ecx, 7
mov edx, 0xf9a947ff
shl ecx, 3
call fcn.004741f0
xor word [esi*2 + 0x49589c], ax
add esi, 1
adc edi, 0
test edi, edi
jne 0x40fc7e
cmp esi, 0xb
jb 0x40fc50
mov byte [0x4958b2], 0
push 0
push dword [ebp - 4]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0x80000000
push 0x495c7c
push 0x49589c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4929d4], eax
test eax, eax
jne 0x40fd75
movaps xmm0, xmmword [0x487e80]
mov eax, dword [0x495880]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x435d823b
mov dword [ebp - 0x1c], 0x6bc785e5
mov dword [ebp - 0x18], 0x5d538b75
mov word [ebp - 0x14], 0xa5aa
cmp eax, dword [ebx + 4]
jle 0x40fd53
push 0x495880
call fcn.00452992
add esp, 4
cmp dword [0x495880], 0xffffffff
jne 0x40fd53
xorps xmm0, xmm0
mov byte [0x49524a], 1
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
nop
mov al, byte [ebp + ecx - 0x30]
mov byte [ecx + 0x49522c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x40fd39
cmp ecx, 0x1e
jb 0x40fd20
push 0x4795c0
call fcn.00452c62
add esp, 4
push 0x495880
call fcn.00452941
add esp, 4
mov ecx, 0x49522c
call fcn.0040a780
push 0x49522c
push 1
call fcn.00401610
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4929d4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret