Function at 0x401cc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x465004]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x5b09f4], 0xa
setl al
or al, cl
mov byte [ebp - 0x18], al
nop word cs:[eax + eax]
push eax
mov ecx, esp
push eax
mov edx, esp
push eax
mov esi, esp
push eax
mov dword [ebp - 0x1c], esp
push eax
mov ebx, esp
push eax
mov eax, esp
cmp byte [ebp - 0x18], 0
je 0x401d00
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x1c216a5b
movaps xmm0, xmmword [0x4560c0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x401d50
mov dword [ebp - 0x14], 0xbe3c8790
nop word cs:[eax + eax]
mov eax, dword [ebp - 0x14]
cmp eax, 0xe809c622
jle 0x401df0
cmp eax, 0x455af051
jle 0x401e30
cmp eax, 0x66df7996
jg 0x401fbb
cmp eax, 0x55fe2b4a
je 0x4020eb
cmp eax, 0x59e17cb2
jne 0x402232
push eax
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
cmp dword [0x5b09f4], 0xa
mov dword [ebp - 0x14], 0xe64cac7f
jl 0x401d50
nop dword [eax]
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x401d50
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push eax
mov eax, esp
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [esi]
mov dword [eax], ecx
cmp dword [0x5b09f4], 0xa
jge 0x401db0
jmp 0x401d50
cmp eax, 0xbcac194a
jg 0x401e70
cmp eax, 0x87cde1c3
jg 0x401fe4
cmp eax, 0x80a7fdf0
je 0x402145
cmp eax, 0x84a00a38
jne 0x401d50
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov dword [ebp - 0x14], 0x455af052
jmp 0x401d50
cmp eax, 0x1f2ab933
jg 0x40209c
cmp eax, 0xe809c623
je 0x402158
cmp eax, 0x1c216a5b
jne 0x401d50
push eax
mov eax, esp
mov dword [esi], eax
push eax
mov eax, esp
mov dword [ebx], eax
mov dword [ebp - 0x14], 0x59e17cb2
jmp 0x401d50
cmp eax, 0xccd4ef3e
jg 0x4020be
cmp eax, 0xbcac194b
je 0x401f3b
cmp eax, 0xbe3c8790
jne 0x401d50
mov eax, dword [ebx]
cmp dword [0x5b09f4], 0xa
mov dword [ebp - 0x14], 0x84a00a38
jl 0x401d50
nop word [eax + eax]
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x401d50
mov eax, dword [ebx]
mov eax, dword [ebx]
cmp dword [0x5b09f4], 0xa
jge 0x401eb0
jmp 0x401d50
mov eax, dword [esi]
mov eax, dword [eax]
sub esp, 0x30
mov dword [esp + 0x28], eax
movaps xmm0, xmmword [0x4560c0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x5b0828
mov dword [esp + 4], 0x5b08f0
mov dword [esp], 0
call edi
movaps xmm0, xmmword [0x4560c0]
mov ecx, dword [ebx]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
sub esp, 0x30
mov dword [esp + 0x28], eax
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x5b0828
mov dword [esp + 4], 0x5b08f0
mov dword [esp], 0
call edi
mov ecx, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [0x5b09f0]
lea eax, [ecx + 1]
imul eax, ecx
and eax, 1
cmp dword [0x5b09f4], 0xa
jl 0x401fa8
test eax, eax
jne 0x401ee0
mov dword [ebp - 0x14], 0xe809c623
movaps xmm0, xmmword [0x4560c0]
jmp 0x401d50
cmp eax, 0x66df7997
je 0x401d3d
cmp eax, 0x7ea80758
jne 0x401d50
mov dword [ebp - 0x14], 0x55fe2b4a
mov dword [ebp - 0x2c], 1
jmp 0x401d50
cmp eax, 0x87cde1c4
je 0x402172
cmp eax, 0xabe717b7
jne 0x401d50
push 0
mov eax, dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
movaps xmm0, xmmword [0x4560c0]
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
cmp dword [0x5b09f4], 0xa
mov dword [ebp - 0x14], 0x87cde1c4
jl 0x401d50
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x401d50
nop
push 0
mov edi, dword [ebp - 0x24]
push dword [edi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov ecx, esi
mov eax, dword [ebx]
mov eax, dword [eax]
mov esi, dword [ebp - 0x18]
mov dword [esi], eax
push 0
push dword [edi]
call ecx
mov edx, ebx
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [esi], eax
cmp dword [0x5b09f4], 0xa
jl 0x40221b
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
mov ebx, edx
mov esi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x4560c0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
jne 0x402040
jmp 0x401d50
cmp eax, 0x1f2ab934
je 0x4021ef
cmp eax, 0x3560bac6
jne 0x401d50
mov dword [ebp - 0x14], 0xbe3c8790
jmp 0x401d50
cmp eax, 0xccd4ef3f
je 0x402206
cmp eax, 0xe64cac7f
jne 0x401d50
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [0x5b0824], eax
mov eax, dword [ebx]
mov dword [ebp - 0x14], 0xbcac194b
jmp 0x401d50
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [eax], 1
cmp dword [0x5b09f4], 0xa
mov dword [ebp - 0x14], 0x66df7997
jl 0x401d50
nop word [eax + eax]
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x401d50
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [eax], 1
mov eax, dword [ecx]
mov dword [eax], 1
cmp dword [0x5b09f4], 0xa
jge 0x402110
jmp 0x401d50
mov dword [ebp - 0x14], 0x1f2ab934
mov dword [ebp - 0x2c], 0
jmp 0x401d50
mov eax, dword [ebx]
cmp dword [eax], 0
mov ecx, 0xccd4ef3f
mov eax, 0x80a7fdf0
cmove ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x401d50
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
movaps xmm0, xmmword [0x4560c0]
cmp dword [0x5b09f4], 0xa
mov dword [ebp - 0x14], 0x7ea80758
jl 0x401d50
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x401d50
nop dword [eax]
mov esi, dword [ebp - 0x18]
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
call edi
push dword [esi]
call edi
cmp dword [0x5b09f4], 0xa
jl 0x40221d
mov eax, dword [0x5b09f0]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
mov esi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x4560c0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
jne 0x4021b0
jmp 0x401d50
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [eax], 1
mov dword [ebp - 0x14], 0x3560bac6
jmp 0x401d50
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [ebp - 0x14], 0xabe717b7
jmp 0x401d50
mov ebx, edx
mov esi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x4560c0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x401d50
cmp eax, 0x455af052
jne 0x401d50
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437d49
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret