Function at 0x43fd60
Capabilities:
Access peb ldr_data
Create thread
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bae1c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x46ef80
mov dword [ebp - 0x80], edi
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov dword [ebp - 0x74], esi
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [edi + 4], eax
mov dword [edi], vtable.GuiThread.0
mov dword [edi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
push esi
mov dword [edi], vtable.Win8DeskDuplication.0
mov dword [edi + 0x14], eax
call fcn.00441700
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x24]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], eax
lea eax, [edi + 0x40]
push esi
mov ecx, eax
mov dword [ebp - 0x70], eax
call fcn.004426d0
add edi, 0x58
mov dword [ebp - 0x6c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov word [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x88], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov dword [eax + 0x98], vtable.FrameBuffer.0
mov dword [eax + 0x9c], vtable.Dimension.0
mov dword [eax + 0xa0], 0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xbc], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xa8], xmm0
mov word [eax + 0xb8], 0
mov byte [ebp - 4], 9
mov dword [eax + 0xc0], esi
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x4d84f8
push esi
call fcn.004063f0
mov eax, dword [ebp - 0x50]
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x64], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x440211
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x60], vtable.WinDxgiOutput1.0
mov dword [ebp - 0x5c], 0
mov eax, dword [edx]
lea edx, [ebp - 0x5c]
push edx
push 0x4d9efc
mov eax, dword [eax + ecx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x440258
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x60]
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x43ffcf
mov dword [ecx], vtable.WinDxgiOutput1.0
cmp ecx, eax
je 0x43ffc9
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add dword [edi + 4], 8
jmp 0x43ffd8
push eax
push ecx
mov ecx, edi
call fcn.004420e0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], vtable.WinDxgiOutput1.0
test ecx, ecx
je 0x43fff7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x70]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c]
mov eax, dword [edi]
lea eax, [eax + esi*8]
push eax
call fcn.004449b0
mov ecx, eax
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 0x68]
cmp dword [esi + 0x6c], eax
je 0x440039
mov dword [eax], vtable.WinDxgiOutputDuplication.0
cmp eax, ecx
je 0x440033
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
add dword [esi + 0x68], 8
jmp 0x440043
push ecx
push eax
lea ecx, [esi + 0x64]
call fcn.00441e50
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], vtable.WinDxgiOutputDuplication.0
test ecx, ecx
je 0x440062
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [eax + ecx + 0x5c]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x68], ecx
cmp dword [esi + 0x38], eax
je 0x440088
mov dword [eax], ecx
add dword [esi + 0x34], 4
jmp 0x440095
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [esi + 0x30]
call fcn.00411d70
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x54]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov edx, dword [eax + esi + 0x10]
sub edx, dword [eax + esi + 8]
mov esi, dword [eax + esi + 0xc]
sub esi, dword [eax + edi + 4]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x48], vtable.WinCustomD3D11Texture2D.0
cmp eax, 2
je 0x4400d7
cmp eax, 4
je 0x4400d7
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edx
jmp 0x4400dd
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
push edx
push 0
mov dword [ebp - 0x3c], 1
lea edx, [ebp - 0x44]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x57
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x20000
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], vtable.WinD3D11Texture2D.0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x44027a
cmp dword [ebp - 0x14], 0
je 0x44027a
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 0x90]
cmp dword [esi + 0x94], eax
je 0x4401ab
mov dword [eax], vtable.WinCustomD3D11Texture2D.0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [eax + 0x14], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x24], xmm0
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], vtable.WinD3D11Texture2D.0
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x34], ecx
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
add dword [esi + 0x90], 0x38
jmp 0x4401bb
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [esi + 0x8c]
call fcn.00441b50
mov dword [ebp - 0x48], vtable.WinCustomD3D11Texture2D.0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], vtable.WinD3D11Texture2D.0
test ecx, ecx
je 0x4401da
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
add dword [ebp - 0x58], 0x64
inc esi
add dword [ebp - 0x54], 0x14
mov byte [ebp - 4], 9
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x64], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x43ff74
mov esi, dword [ebp - 0x4c]
push str.Win8DeskDuplication_created
push dword [esi + 0xc0]
call fcn.004063f0
add esp, 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov eax, esi
setne cl
mov byte [esi + 0xc], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004976fb
mov esp, ebp
pop ebp
ret 0x20
push eax
push 0x4d9ecc
lea ecx, [ebp - 0xb0]
call fcn.00444980
push 0x4f8b08
lea eax, [ebp - 0xb0]
push eax
call fcn.00499378
push eax
push str.Cant_CreateTexture2D__
lea ecx, [ebp - 0x98]
call fcn.00445a80
push 0x4f8b18
lea eax, [ebp - 0x98]
push eax
call fcn.00499378
int3