Function at 0x100212e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d760
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x1009c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffec
mov dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffffffdf
or ecx, 0x80000
cmp eax, ecx
je 0x1002134d
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [edi + 0x278]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x78], esi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x284]
sub ecx, dword [edi + 0x27c]
mov eax, dword [edi + 0x280]
sub eax, dword [edi + 0x278]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [edi + 0x289], 0
mov byte [ebp - 0x55], 0
jne 0x1002192a
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [edi + 0x1e8], 0
je 0x100215da
movzx esi, byte [edi + 0x288]
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004e60c
add esp, 4
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x10021437
lea ecx, [eax + 8]
mov dword [ecx - 8], 0
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x14], 0
mov dword [ecx - 0x10], 0
mov dword [ecx - 0xc], 0
sub esi, 1
jne 0x10021413
movzx eax, byte [edi + 0x288]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004e60c
mov cl, byte [edi + 0x288]
add esp, 4
xor esi, esi
mov dword [ebp - 0x68], eax
test cl, cl
je 0x10021501
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
cmp esi, 0x64
jge 0x100214aa
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x54]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
mov eax, dword [edx + 0xc]
add edx, 0x10
mov dword [ecx + esi*4], eax
inc esi
mov cl, byte [edi + 0x288]
movzx eax, cl
mov dword [ebp - 0x64], edx
cmp esi, eax
jl 0x10021470
test cl, cl
je 0x10021501
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [ebp - 0x5c]
test al, al
jne 0x100214de
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x100214de
movzx eax, byte [edi + 0x288]
add eax, eax
mov eax, dword [ecx + eax*8 - 4]
sub eax, dword [ebp - 0x28]
mov dword [edi + 0x1e0], eax
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x38]
cmp dword [eax + 0x34], 0
je 0x10021518
movzx eax, byte [edi + 0x288]
add eax, eax
mov eax, dword [ecx + eax*8 - 4]
sub eax, edx
mov dword [edi + 0x1e4], eax
jmp 0x10021518
mov edx, dword [ebp - 0x38]
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x64], 0
cmp dword [eax + 0x34], 0
je 0x1002153b
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x124]
sub ecx, dword [ebp - 0x40]
add ecx, edx
mov dword [ebp - 0x64], ecx
jmp 0x10021568
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x10021566
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10021566
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x124]
sub ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x64], ecx
jmp 0x10021568
xor ecx, ecx
mov dl, byte [edi + 0x288]
xor esi, esi
test dl, dl
je 0x100215c4
cmp esi, 0x64
jge 0x100215c4
test esi, esi
jne 0x10021594
movzx eax, dl
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + eax*4 - 4]
mov edx, dword [ebp - 0x5c]
sub eax, dword [edx + 0xc]
sub eax, ecx
mov dword [edi + 0x50], eax
jmp 0x100215b6
mov eax, dword [edi + 0x38]
mov edx, esi
mov ecx, dword [edi + esi*4 + 0x4c]
shl edx, 4
add edx, dword [ebp - 0x5c]
sub ecx, dword [eax + 0x128]
sub ecx, dword [edx + 0xc]
add ecx, dword [edx - 0xc]
mov dword [edi + esi*4 + 0x50], ecx
mov ecx, dword [ebp - 0x64]
mov dl, byte [edi + 0x288]
inc esi
movzx eax, dl
cmp esi, eax
jl 0x10021574
push dword [ebp - 0x5c]
call fcn.1004e615
add esp, 4
push dword [ebp - 0x68]
call fcn.1004e615
add esp, 4
mov ecx, dword [edi + 0x2c]
cmp dword [ecx + 0x10], 0
jne 0x10021603
cmp dword [ecx + 0x34], 0
jne 0x10021603
mov eax, dword [ecx + 0x58]
cmp eax, dword [ecx + 0x5c]
jne 0x10021603
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x38]
cmp byte [eax + 0x58], 0
je 0x10021686
jmp 0x10021612
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x38]
cmp byte [eax + 0x58], 0
je 0x10021621
lea esi, [edi + 0x38]
cmp byte [edi + 0x288], 0
jne 0x10021621
cmp dword [ecx + 0x34], 0
je 0x10021686
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi]
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x19], 0x1010101
mov byte [ebp - 0x15], 0
mov eax, dword [ecx + 0x174]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x170]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0x16c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x19]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ecx + 0x13c]
mov ecx, edi
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1001e8f0
mov eax, dword [edi + 0x2c]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [eax + 0x34], 0
je 0x100216c4
cmp byte [edi + 0x1e8], 0
je 0x100216ac
push dword [edi + 0x1e4]
lea eax, [ebp - 0x44]
push 0
push eax
call esi
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
mov eax, dword [edi + 0x2c]
push dword [ebp - 0x60]
add eax, 0x24
push eax
call fcn.1001fb70
mov byte [ebp - 0x55], al
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
call edx
test al, al
jne 0x10021706
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10021706
cmp byte [edi + 0x1e8], 0
je 0x100216f2
push dword [edi + 0x1e0]
lea eax, [ebp - 0x34]
push 0
push eax
call esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp - 0x60]
push dword [edi + 0x2c]
call fcn.1001fb70
or byte [ebp - 0x55], al
cmp byte [edi + 0x288], 0
je 0x1002171f
push 1
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001fd70
or byte [ebp - 0x55], al
mov eax, dword [edi + 0x28c]
mov ecx, dword [eax + 0x10]
lea eax, [edi + 0x278]
push eax
push dword [ebp - 0x60]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xe4]
test eax, eax
jns 0x10021764
push 1
mov ecx, edi
call fcn.1001e290
mov eax, dword [edi + 0x28c]
mov ecx, dword [eax + 0x10]
lea eax, [edi + 0x278]
push eax
push dword [ebp - 0x60]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xe4]
mov eax, dword [edi + 0x28c]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x34], 0
je 0x10021794
lea ecx, [ebp - 0x44]
add eax, 0x24
push ecx
push dword [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001efd0
or byte [ebp - 0x55], al
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x100217bd
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x100217bd
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001efd0
or byte [ebp - 0x55], al
cmp byte [edi + 0x288], 0
je 0x100217d6
push 0
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001fd70
or byte [ebp - 0x55], al
mov eax, dword [edi + 0x28c]
push 0
push 0
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10021919
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1f0]
push 0x66
push eax
add edx, 0x6c
lea ecx, [edi + 0x200]
call fcn.100223f0
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1f4]
push 0x65
push eax
add edx, 0x84
lea ecx, [edi + 0x218]
call fcn.100223f0
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1fc]
push 0x6b
push eax
add edx, 0x9c
lea ecx, [edi + 0x230]
call fcn.100223f0
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1f8]
push 0x6a
push eax
add edx, 0xb4
lea ecx, [edi + 0x248]
call fcn.100223f0
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x24]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
cmp byte [edi + 0x1e8], 0
je 0x100218bd
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x34], 0
je 0x10021898
push dword [edi + 0x1e4]
jmp 0x100218b5
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x100218bd
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x100218bd
push dword [edi + 0x1e0]
push 0
lea eax, [ebp - 0x24]
push eax
call esi
mov eax, dword [edi + 0x34]
cmp byte [eax + 0x32], 0
je 0x100218ce
lea eax, [edi + 0x1ec]
jmp 0x100218fc
cmp byte [eax + 0x30], 0
je 0x100218dc
lea eax, [edi + 0x1f4]
jmp 0x100218fc
cmp dword [eax + 0x34], 0
jne 0x100218ea
lea eax, [edi + 0x1f0]
jmp 0x100218fc
cmp byte [eax + 0x33], 0
lea eax, [edi + 0x1f8]
jne 0x100218fc
lea eax, [edi + 0x1fc]
push 3
push 0
push 0
push 0
push 0
push dword [eax]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x1002192a
cmp byte [ebp - 0x55], 0
jne 0x1002192a
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 0x60]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x70], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x280]
sub eax, dword [edi + 0x278]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x284]
sub eax, dword [edi + 0x27c]
push 2
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x6c], ecx
push eax
push esi
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1c], 0
push eax
push esi
push dword [edi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004dfe8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4