Function at 0x10020b40
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 0x1007c740
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x1009b01c]
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 0x10020bad
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [edi + 0x278]
push esi
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 0x10021184
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 0x10020e3a
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.1004d7c3
add esp, 4
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x10020c97
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 0x10020c73
movzx eax, byte [edi + 0x288]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004d7c3
mov cl, byte [edi + 0x288]
add esp, 4
xor esi, esi
mov dword [ebp - 0x68], eax
test cl, cl
je 0x10020d61
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
cmp esi, 0x64
jge 0x10020d0a
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 0x10020cd0
test cl, cl
je 0x10020d61
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 0x10020d3e
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10020d3e
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 0x10020d78
movzx eax, byte [edi + 0x288]
add eax, eax
mov eax, dword [ecx + eax*8 - 4]
sub eax, edx
mov dword [edi + 0x1e4], eax
jmp 0x10020d78
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 0x10020d9b
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x124]
sub ecx, dword [ebp - 0x40]
add ecx, edx
mov dword [ebp - 0x64], ecx
jmp 0x10020dc8
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x10020dc6
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10020dc6
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 0x10020dc8
xor ecx, ecx
mov dl, byte [edi + 0x288]
xor esi, esi
test dl, dl
je 0x10020e24
cmp esi, 0x64
jge 0x10020e24
test esi, esi
jne 0x10020df4
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 0x10020e16
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 0x10020dd4
push dword [ebp - 0x5c]
call fcn.1004d7cc
add esp, 4
push dword [ebp - 0x68]
call fcn.1004d7cc
add esp, 4
mov ecx, dword [edi + 0x2c]
cmp dword [ecx + 0x10], 0
jne 0x10020e66
cmp dword [ecx + 0x34], 0
lea edx, [ecx + 0x34]
jne 0x10020e66
mov eax, dword [ecx + 0x58]
cmp eax, dword [ecx + 0x5c]
jne 0x10020e66
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x38]
cmp byte [eax + 0x58], 0
je 0x10020ee8
jmp 0x10020e75
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x38]
lea edx, [ecx + 0x34]
cmp byte [eax + 0x58], 0
je 0x10020e83
cmp byte [edi + 0x288], 0
jne 0x10020e83
cmp dword [edx], 0
je 0x10020ee8
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.1001e170
mov eax, dword [edi + 0x2c]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [eax + 0x34], 0
je 0x10020f26
cmp byte [edi + 0x1e8], 0
je 0x10020f0e
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.1001f400
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 0x10020f68
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10020f68
cmp byte [edi + 0x1e8], 0
je 0x10020f54
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.1001f400
or byte [ebp - 0x55], al
cmp byte [edi + 0x288], 0
je 0x10020f81
push 1
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001f600
or byte [ebp - 0x55], al
mov eax, dword [edi + 0x28c]
lea esi, [edi + 0x278]
push esi
push dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
test eax, eax
jns 0x10020fc0
push 1
mov ecx, edi
call fcn.1001db10
mov eax, dword [edi + 0x28c]
push esi
push dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 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 0x10020ff0
lea ecx, [ebp - 0x44]
add eax, 0x24
push ecx
push dword [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001e850
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 0x10021019
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x10021019
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001e850
or byte [ebp - 0x55], al
cmp byte [edi + 0x288], 0
je 0x10021032
push 0
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.1001f600
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 0x10021173
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1f0]
push 0x66
push eax
add edx, 0x6c
lea ecx, [edi + 0x200]
call fcn.10021c80
mov edx, dword [edi + 0x38]
lea esi, [edi + 0x1f4]
push 0x65
push esi
add edx, 0x84
lea ecx, [edi + 0x218]
call fcn.10021c80
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1fc]
push 0x6b
push eax
add edx, 0x9c
lea ecx, [edi + 0x230]
call fcn.10021c80
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x1f8]
push 0x6a
push eax
add edx, 0xb4
lea ecx, [edi + 0x248]
call fcn.10021c80
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 0x1002111e
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x34], 0
je 0x100210f4
push dword [edi + 0x1e4]
jmp 0x10021111
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x1002111e
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x10], 0
je 0x1002111e
push dword [edi + 0x1e0]
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [sym.imp.USER32.dll_OffsetRect]
call eax
mov eax, dword [edi + 0x34]
cmp byte [eax + 0x32], 0
je 0x1002112f
lea esi, [edi + 0x1ec]
jmp 0x10021156
cmp byte [eax + 0x30], 0
jne 0x10021156
cmp dword [eax + 0x34], 0
jne 0x10021143
lea esi, [edi + 0x1f0]
jmp 0x10021156
cmp byte [eax + 0x33], 0
lea esi, [edi + 0x1fc]
lea eax, [edi + 0x1f8]
cmovne esi, eax
push 3
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x10021184
cmp byte [ebp - 0x55], 0
jne 0x10021184
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.1004d19f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4