Function at 0x402450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407781
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x40b0f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x40b648]
cmp eax, dword [ecx + 4]
jle 0x4024fd
push 0x40b648
call fcn.004064c3
add esp, 4
cmp dword [0x40b648], 0xffffffff
jne 0x4024fd
lea eax, [ebp - 0x98]
push eax
call fcn.00405620
push 0x40b648
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [eax + 0x20]
movd ecx, xmm1
psrldq xmm1, 4
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], eax
mov dword [0x40b64c], ecx
movd dword [0x40b650], xmm1
call fcn.00406479
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0xa4], 0x1000
call fcn.004022e0
test eax, eax
jne 0x403665
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test dword [0x40b64c], 0x8000000
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x9d], 0
push dword [ebp - 0x9d]
je 0x4025d9
cmp dword [ebp - 0x18], 0
jne 0x4025c6
mov edx, str.client.exe
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401820
mov byte [ebp - 4], 0
mov esi, eax
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x40260d
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402603
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402603
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, str.clientX64.exe
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 2
jmp 0x40257c
cmp dword [ebp - 0x18], 0
jne 0x4025f2
mov edx, str.client1.exe
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 3
jmp 0x40257c
call fcn.00404960
add esp, 4
mov byte [ebp - 4], 4
jmp 0x40257c
push edx
push ecx
call fcn.004065c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x7c], 0
cmp eax, esi
je 0x402640
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x402636
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00403ab0
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.d3d9.dllx
mov byte [ebp - 4], 5
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
mov esi, 0x1001
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x4026ca
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d9.dll
call fcn.004048c0
add esp, 4
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x8c]
mov esi, 0x1003
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x4026d1
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xa4]
test al, 2
je 0x402745
mov edx, dword [ebp - 0x78]
and eax, 0xfffffffd
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x40272e
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40271e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test al, 1
je 0x402799
mov edx, dword [ebp - 0xa8]
and eax, 0xfffffffe
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402799
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40278f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x402816
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d9.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402816
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40280c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.d3d10.dllx
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
or esi, 4
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x40289e
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10.dll
call fcn.004048c0
add esp, 4
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x8c]
or esi, 8
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x4028a5
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
test al, 8
je 0x402919
mov edx, dword [ebp - 0x78]
and eax, 0xfffffff7
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402902
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test al, 4
je 0x40296d
mov edx, dword [ebp - 0xa8]
and eax, 0xfffffffb
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x40296d
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x4029ea
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4029ea
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4029e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.d3d10_1.dllx
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
or esi, 0x10
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x402a72
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10_1.dll
call fcn.004048c0
add esp, 4
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
or esi, 0x20
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x402a79
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xa4]
test al, 0x20
je 0x402aed
mov edx, dword [ebp - 0x78]
and eax, 0xffffffdf
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402ad6
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ac6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test al, 0x10
je 0x402b41
mov edx, dword [ebp - 0xa8]
and eax, 0xffffffef
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402b41
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x402bbe
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10_1.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402bbe
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.d3d10core.dllx
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
or esi, 0x40
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x402c44
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
call fcn.00404900
add esp, 4
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
or esi, 0x80
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x402c4b
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0xa4]
test al, al
jns 0x402cc1
mov edx, dword [ebp - 0x78]
and eax, 0xffffff7f
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402caa
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test al, 0x40
je 0x402d15
mov edx, dword [ebp - 0xa8]
and eax, 0xffffffbf
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402d15
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x402d92
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10core.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402d92
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.d3d11.dllx
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
or esi, 0x100
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x402e20
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d11.dll
call fcn.004048c0
add esp, 4
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
or esi, 0x200
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x402e27
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0xa4]
test eax, 0x200
je 0x402ea0
mov edx, dword [ebp - 0x78]
and eax, 0xfffffdff
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402e89
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test eax, 0x100
je 0x402ef9
mov edx, dword [ebp - 0xa8]
and eax, 0xfffffeff
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x402ef9
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x402f76
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d11.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402f76
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
mov edx, str.dxgi.dllx
call fcn.004048c0
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
or esi, 0x400
mov dword [ebp - 0xa4], esi
call fcn.00402190
test al, al
je 0x403004
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.dxgi.dll
call fcn.004048c0
add esp, 4
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x8c]
or esi, 0x800
mov dword [ebp - 0xa4], esi
call fcn.00402190
mov byte [ebp - 0x99], 1
test al, al
jne 0x40300b
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0xa4]
test eax, 0x800
je 0x403084
mov edx, dword [ebp - 0x78]
and eax, 0xfffff7ff
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x40306d
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40305d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 4], 5
test eax, 0x400
je 0x4030dd
mov edx, dword [ebp - 0xa8]
and eax, 0xfffffbff
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x4030dd
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4030d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x40315a
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.dxgi.dllx
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x40315a
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403150
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x9d]
call fcn.00404930
add esp, 4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
call fcn.00402190
test al, al
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa8]
sete al
mov byte [ebp - 0x99], al
cmp edx, 8
jb 0x4031d9
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4031c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
mov al, byte [ebp - 0x99]
add esp, 8
test al, al
je 0x403508
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d9.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x403255
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40324b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4032c9
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d10_1.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x40333d
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403333
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
call fcn.00404900
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4033ac
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.d3d11.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x403420
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.dxgi.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x403494
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40348a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov byte [ebp - 0x9d], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x9d]
mov edx, str.dxgi.dll
call fcn.004048c0
add esp, 4
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00406295
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x403508
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4034fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xbc]
call fcn.00403670
cmp dword [ebp - 0xa8], 8
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x44
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push 0
push 0
push 0
push eax
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x84], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x4035de
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4035d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x403618
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40360e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025c0
push edx
push ecx
call fcn.004065c9
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004063a3
mov esp, ebp
pop ebp
ret
mov edx, eax
call fcn.00401ff0
int3