Function at 0x401690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431250
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [0x4395d0], 0x30
mov dword [0x4395d4], 0x40
mov dword [0x4395d8], 0x401000
mov dword [0x4395dc], 0
mov dword [0x4395e0], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4395e4], eax
push 0x4395d0
movups xmmword [0x4395e8], xmm0
mov dword [0x4395f8], 0x432248
mov dword [0x4395fc], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4395e4]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.Lethal.
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4395c8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4395c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4395c4], ecx
test ecx, ecx
je 0x401814
push 0x4395cc
push 0x439600
push 0x40
push dword [0x4395c8]
xorps xmm0, xmm0
mov dword [0x439614], 0
push 1
movlpd qword [0x439600], xmm0
movlpd qword [0x43960c], xmm0
mov dword [0x43961c], 0
movlpd qword [0x43962c], xmm0
mov dword [0x439620], 1
mov dword [0x439618], 1
mov dword [0x439608], 0
mov dword [0x439624], 1
mov dword [0x439628], 0x50
mov dword [0x439634], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004012b0
cmp byte [0x43909c], 0
je 0x401c0e
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
call ebx
test eax, eax
je 0x401875
lea eax, [ebp - 0x44]
push eax
call esi
lea eax, [ebp - 0x44]
push eax
call edi
cmp dword [ebp - 0x40], 0x12
je 0x401886
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call ebx
test eax, eax
jne 0x401851
mov eax, dword [0x43964c]
test eax, eax
je 0x401896
mov ecx, dword [eax + 0xc8]
jmp 0x401898
cmp byte [0x43909c], 0
sete byte [0x43909c]
jmp 0x4018c0
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x4018b6
test eax, eax
je 0x4018b6
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x4018b6
cmp dword [eax], 0
je 0x4018b6
call fcn.00425da0
call fcn.00426320
call fcn.004068a0
mov dword [ebp - 4], 2
mov edx, 0x43909c
mov eax, dword [0x43964c]
mov ecx, str.Lethal.
push 0x126
or dword [eax + 0x1c84], 3
mov dword [eax + 0x1c94], 0
mov dword [eax + 0x1c98], 0
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
mov dword [eax + 0x1ca4], 0x43fa0000
mov dword [eax + 0x1ca8], 0x43960000
mov dword [eax + 0x1c8c], 1
call fcn.0040bd80
add esp, 4
mov edx, 0x439639
mov ecx, str.Auto
call fcn.004292e0
movss xmm1, dword [0x436a60]
xorps xmm0, xmm0
call fcn.0040f1f0
push 0
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push 0x7f
push 0x439638
xor edx, edx
mov dword [ebp - 0x54], 0
mov ecx, str.Keybind
call fcn.0042bb20
mov edx, 0x43963a
mov ecx, 0x43226c
call fcn.004292e0
mov edx, 0x43963b
mov ecx, str.Streamproof
call fcn.004292e0
add esp, 0x10
mov dword [ebp - 0x18], 0x64
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str.Smoothness
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43963c
call fcn.00429900
add esp, 0xc
mov dword [ebp - 0x18], 0x64
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str.Prediction
push eax
lea eax, [ebp - 0x14]
push eax
push 0x439640
call fcn.00429900
add esp, 0x14
push str.Never_stressing_myself_out_for_an_external_again.
call fcn.00427fb0
add esp, 4
call fcn.0040e720
mov dword [ebp - 4], 3
call fcn.00408af0
mov ecx, dword [0x4395cc]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4395cc]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4395cc]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4395cc]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x4395cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x401ab4
call fcn.00408e80
mov eax, dword [0x43964c]
xor ecx, ecx
mov eax, dword [eax + 0x1d4c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004258a0
mov eax, dword [0x4395cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4395cc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x401ae6
mov eax, dword [0x4395cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x401ae6
call fcn.004011e0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00401570
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x5c]
cmp edi, 0xffb3b4bf
jne 0x401b0b
cmp ebx, 0x7fffffff
je 0x401b32
cmp ebx, 0x7fffffff
jg 0x401b21
jl 0x401b1d
cmp edi, 0xffb3b4bf
jae 0x401b21
or al, 0xff
jmp 0x401b23
mov al, 1
test al, al
jns 0x401b32
add edi, 0x4c4b40
adc ebx, 0
jmp 0x401b3a
or edi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x50]
call fcn.00401570
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
cmp edi, ecx
jne 0x401b5a
cmp ebx, eax
je 0x401bef
cmp ebx, eax
jg 0x401b68
jl 0x401b64
cmp edi, ecx
jae 0x401b68
or al, 0xff
jmp 0x401b6a
mov al, 1
test al, al
jle 0x401bef
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.00431060
sub edi, dword [ebp - 0x50]
mov esi, eax
mov dword [ebp - 0x48], edx
mov ecx, edi
sbb ebx, dword [ebp - 0x4c]
mov edx, ebx
call fcn.00431140
comisd xmm0, xmmword [0x436a28]
jbe 0x401bb1
mov eax, dword [ebp - 0x48]
add esi, 0xad160000
adc eax, 0x311cd
jmp 0x401bb8
add esi, edi
adc ebx, dword [ebp - 0x48]
mov eax, ebx
push 0
push 0x3b9aca00
push eax
push esi
call fcn.00430ed0
mov dword [ebp - 0x28], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x24], edx
sub esi, eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov ebx, dword [ebp - 0x14]
add esp, 4
mov edi, dword [ebp - 0x18]
jmp 0x401b40
cmp byte [0x43909c], 0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
jne 0x401838
mov dword [ebp - 4], 4
mov ecx, dword [0x43964c]
test ecx, ecx
je 0x401c27
mov edi, dword [ecx + 0xc8]
jmp 0x401c29
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x401c9a
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x401c9a
cmp dword [esi], 0
je 0x401c9a
mov edx, dword [esi + 4]
test edx, edx
je 0x401c59
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43964c]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x401c73
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43964c]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x401c9a
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43964c]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x401cac
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43964c]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x401cca
dec dword [ecx + 0x36c]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [0x43964c]
add esp, 4
test eax, eax
je 0x401ce7
mov esi, dword [eax + 0xc4]
jmp 0x401ce9
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x401cff
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x43964c]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x401d1d
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x43964c]
add esp, 4
mov ecx, esi
call fcn.00407f20
cmp dword [0x43964c], esi
jne 0x401d42
mov dword [0x43964c], 0
test esi, esi
je 0x401d62
mov ecx, esi
call fcn.00415c50
mov eax, dword [0x43964c]
test eax, eax
je 0x401d5c
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 5
mov ecx, dword [0x4395cc]
test ecx, ecx
je 0x401d83
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4395cc], 0
mov ecx, dword [0x4395c4]
test ecx, ecx
je 0x401d9d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4395c4], 0
push dword [0x4395c8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4395e4]
push dword [0x4395f8]
call dword [sym.imp.USER32.dll_UnregisterClassA]
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 - 0x10]
xor ecx, ebp
call fcn.004300a0
mov esp, ebp
pop ebp
ret 0x10