Function at 0x46a220
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55edd2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61308c]
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
push str.CMain_Frame::WindowInitNotify
lea ecx, [ebp - 0x44]
call fcn.00415950
mov dword [ebp - 4], 0
xor edx, edx
push 0
mov ecx, 0x18a93
call fcn.00411230
lea ecx, [edi + 0x1328]
add esp, 4
cmp dword [ecx + 8], 0
jne 0x46a28e
push ecx
push ecx
sub esp, 0xc
mov dword [ecx + 0x14], 0
call fcn.0040f050
mov esi, dword [0x61e7f4]
test esi, esi
jne 0x46a2d5
push 0x28
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov ecx, esi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
call fcn.004c4540
mov byte [ebp - 4], 2
mov dword [esi], vtable.CThreadLoadBadDevInfo_Instanst.0
mov byte [ebp - 4], 0
mov dword [0x61e7f4], esi
cmp dword [esi + 8], 0
jne 0x46a2ee
push ecx
push esi
sub esp, 0xc
mov dword [esi + 0x14], 0
mov ecx, esi
call fcn.0040f050
mov esi, dword [0x61e7f0]
test esi, esi
jne 0x46a330
push 0x64
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 3
push 0x64
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.004bb490
mov byte [ebp - 4], 4
mov dword [esi], vtable.CDrvQueryThread_Instanst.0
mov byte [ebp - 4], 0
mov dword [0x61e7f0], esi
cmp dword [esi + 8], 0
jne 0x46a34f
push ecx
push esi
sub esp, 0xc
mov dword [esi + 0x14], 0
mov ecx, esi
call fcn.0040f050
mov esi, dword [0x61e7f0]
mov eax, dword [0x61e858]
test eax, eax
jne 0x46a38a
push 0x18
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.0046f690
mov byte [ebp - 4], 0
mov esi, dword [0x61e7f0]
mov dword [0x61e858], eax
cmp dword [eax + 8], 0
jne 0x46a3a9
push ecx
push eax
sub esp, 0xc
mov dword [eax + 0x14], 0
mov ecx, eax
call fcn.0040f050
mov esi, dword [0x61e7f0]
test esi, esi
jne 0x46a3e5
push 0x64
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 6
push 0x64
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.004bb490
mov byte [ebp - 4], 7
mov dword [esi], vtable.CDrvQueryThread_Instanst.0
mov byte [ebp - 4], 0
mov dword [0x61e7f0], esi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46a405
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
push 0
push 0
push 0x46d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [0x61e844]
test eax, eax
jne 0x46a44c
push 0x18
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.0046f600
mov byte [ebp - 4], 0
mov dword [0x61e844], eax
cmp dword [eax + 8], 0
jne 0x46a465
push ecx
push eax
sub esp, 0xc
mov dword [eax + 0x14], 0
mov ecx, eax
call fcn.0040f050
mov eax, dword [0x61e850]
test eax, eax
jne 0x46a49a
push 0x18
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.0046f720
mov byte [ebp - 4], 0
mov dword [0x61e850], eax
cmp dword [eax + 8], 0
jne 0x46a4b3
push ecx
push eax
sub esp, 0xc
mov dword [eax + 0x14], 0
mov ecx, eax
call fcn.0040f050
mov esi, dword [0x61e7fc]
test esi, esi
jne 0x46a4f5
push 0x48
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 0xa
push 0x48
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.004afc60
mov byte [ebp - 4], 0xb
mov dword [esi], vtable.CThreadSystemRestore_Instanst.0
mov byte [ebp - 4], 0
mov dword [0x61e7fc], esi
cmp dword [esi + 8], 0
jne 0x46a50e
push ecx
push esi
sub esp, 0xc
mov dword [esi + 0x14], 0
mov ecx, esi
call fcn.0040f050
mov esi, dword [0x61e774]
test esi, esi
jne 0x46a54c
push 0x2a8
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 0xc
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.00442c50
mov byte [ebp - 4], 0
mov dword [0x61e774], esi
push 0
push 0x4e20
push 0x3ea
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x61e7e8], 0
jne 0x46a58a
push 0x68
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.0043f680
mov byte [ebp - 4], 0
mov dword [0x61e7e8], eax
mov byte [ebp - 0x45], 1
call fcn.0053bd97
cmp dword [eax], 1
je 0x46a655
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xf
cmp word [edx], ax
jne 0x46a5d3
xor ecx, ecx
jmp 0x46a5ef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a5e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404d30
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push 4
push 0
push str._uws
call fcn.004080c0
cmp eax, 0xffffffff
je 0x46a623
push ecx
mov ecx, dword [edi + 0x350]
call fcn.004634f0
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46a63c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x45], al
je 0x46a69c
mov esi, dword [0x61e20c]
mov edx, 2
sub esi, dword [0x61e208]
mov ecx, str.DrvQuery
mov edi, dword [edi + 0x350]
sar esi, 2
call fcn.00447ed0
sub eax, 1
je 0x46a687
sub eax, 1
jne 0x46a694
test esi, esi
jmp 0x46a692
test esi, esi
jne 0x46a694
call fcn.00447b10
test al, al
je 0x46a69c
push ecx
mov ecx, edi
call fcn.004634f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00415860
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.005120a1
mov esp, ebp
pop ebp
ret 4