Function at 0x436940
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438ba5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x441040]
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
push 0x80
push 3
push 0
push 0
push 0x80000000
push str..MyFirstDriver
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x54], ebx
call fcn.00436790
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4369f6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_find_WarRock_n
call fcn.004370f0
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], 0x94eec0
mov dword [ebp - 0x48], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movsd qword [ebp - 0x18], xmm0
push eax
push 0x14
push eax
push 0x221a5c
push ebx
mov dword [ebp - 0x44], 8
call edi
movsd xmm0, qword [ebp - 0x18]
sub esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movsd qword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___double_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Found_n
call fcn.004370f0
movsd xmm0, qword [0x43ed88]
lea eax, [ebp - 0x18]
push 0
push 0
push 0x14
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
push 0x14
push eax
push 0x221a60
push ebx
movsd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x94eec0
mov dword [ebp - 0x44], 8
call edi
push 8
call fcn.004376dd
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov dword [eax + 4], 0x435ef0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x4372f0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x436f7a
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x436f72
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x436f72
push eax
mov dword [0x4414e0], 0x30
mov dword [0x4414e4], 0x40
mov dword [0x4414e8], 0x4360d0
mov dword [0x4414ec], eax
mov dword [0x4414f0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4414f4], eax
push 0x4414e0
movups xmmword [0x4414f8], xmm0
mov dword [0x441508], 0x43ebc0
mov dword [0x44150c], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4414f4]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.warrock_cheat
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4414d8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4414d8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 2
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4414d4], ecx
test ecx, ecx
je 0x436bed
push 0x4414dc
push 0x441510
push 0x40
push dword [0x4414d8]
xorps xmm0, xmm0
mov dword [0x441524], 0
push 1
movlpd qword [0x441510], xmm0
movlpd qword [0x44151c], xmm0
mov dword [0x44152c], 0
movlpd qword [0x44153c], xmm0
mov dword [0x441530], 1
mov dword [0x441528], 1
mov dword [0x441518], 0
mov dword [0x441534], 1
mov dword [0x441538], 0x50
mov dword [0x441544], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.00436380
cmp byte [0x441098], 0
je 0x436e48
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], 0
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 3
push eax
call esi
test eax, eax
je 0x436c74
nop dword [eax]
lea eax, [ebp - 0x3c]
push eax
call edi
lea eax, [ebp - 0x3c]
push eax
call ebx
cmp dword [ebp - 0x38], 0x12
je 0x436c82
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call esi
test eax, eax
jne 0x436c50
mov eax, dword [0x4414b0]
test eax, eax
je 0x436c92
mov ecx, dword [eax + 0x78]
jmp 0x436c94
cmp byte [0x441098], 0
sete byte [0x441098]
jmp 0x436cb9
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x436caf
test eax, eax
je 0x436caf
mov eax, dword [eax + 0x78]
test eax, eax
je 0x436caf
cmp dword [eax], 0
je 0x436caf
call fcn.0042aeb0
call fcn.0042bc70
call fcn.00407960
mov dword [ebp - 4], 4
mov edx, 0x441098
mov eax, dword [0x4414b0]
mov ecx, str.subscribe_to_cazzy
push 0x126
or dword [eax + 0x4954], 3
mov dword [eax + 0x4964], 0
mov dword [eax + 0x4968], 0
mov dword [eax + 0x496c], 0
mov dword [eax + 0x4970], 0
mov dword [eax + 0x4958], 1
mov dword [eax + 0x4974], 0x43fa0000
mov dword [eax + 0x4978], 0x43960000
mov dword [eax + 0x495c], 1
call fcn.0040cbb0
sub esp, 0x10
call fcn.0042fe00
add esp, 0x10
lea edx, [ebp - 0x18]
call fcn.0042ee30
add esp, 4
call fcn.0040f560
mov dword [ebp - 4], 5
call fcn.00409620
mov ecx, dword [0x4414dc]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4414dc]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4414dc]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4414dc]
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 [0x4414dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x436df8
call fcn.00409a00
mov eax, dword [0x4414b0]
xor ecx, ecx
mov eax, dword [eax + 0x4a34]
mov eax, dword [eax]
add eax, 0x3c
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0042a9f0
mov eax, dword [0x4414dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4414dc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x436e2a
mov eax, dword [0x4414dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x436e2a
call fcn.004362b0
lea ecx, [ebp - 0x20]
call fcn.00435f90
cmp byte [0x441098], 0
jne 0x436c30
mov ebx, dword [ebp - 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call fcn.00436540
mov dword [ebp - 4], 6
mov ecx, dword [0x4414dc]
test ecx, ecx
je 0x436e6e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4414dc], 0
mov ecx, dword [0x4414d4]
test ecx, ecx
je 0x436e88
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4414d4], 0
mov dword [ebp - 4], 0xffffffff
push dword [0x4414d8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4414f4]
push dword [0x441508]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_find_WarRoc2k_n
call fcn.004370f0
call fcn.00436790
mov esi, eax
test esi, esi
jne 0x436f05
mov edx, str.Failed_to_find_WarRock_n
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004370f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov eax, 1
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.0043734e
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffff
jne 0x436f11
mov edx, str.Failed_to_create_driver_handle__n
jmp 0x436ecd
push 0
push 0
push 0x14
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
push 0x14
push eax
push 0x221a58
push ebx
call edi
test eax, eax
je 0x436f58
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.attachment_successfull_n
call fcn.004370f0
mov ecx, esi
call fcn.00436850
test eax, eax
je 0x436f58
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Found_client_n
call fcn.004370f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
xor eax, eax
jmp 0x436ee9
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3