Function at 0x10003080
Capabilities:
Contain obfuscated stackstrings
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10006bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x1000b040]
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
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
push str.engine.dll
mov dword [ebp - 0x170], edi
call esi
push str.nwindow.dll
mov ebx, eax
call esi
mov dword [ebp - 0x174], eax
test ebx, ebx
jne 0x100030f4
push 0x10
push str.Error
push str.Failed_to_get_engine.dll_handle
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100039a4
test eax, eax
jne 0x10003110
push 0x10
push str.Error
push str.Failed_to_get_nwindow.dll_handle
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100039a4
push str.___Installing_hooks...
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov dword [ebp - 0x1a4], 0x1000b1bc
lea esi, [ebp - 0x1a4]
mov dword [ebp - 0x1a0], 0x1000b1a8
mov dword [ebp - 0x19c], 0x1000b16c
mov dword [ebp - 0x198], 0x1000b130
mov dword [ebp - 0x194], 0x1000b0b8
push dword [esi]
mov edx, ebx
mov ecx, edi
call fcn.10002d50
add esi, 4
lea eax, [ebp - 0x190]
add esp, 4
cmp esi, eax
jne 0x10003153
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.10005190
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10002be0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x169], al
cmp ecx, 7
jbe 0x100031de
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100031ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100031ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
mov al, byte [ebp - 0x169]
add esp, 8
test al, al
je 0x10003202
push 0x1000b1d0
mov edx, ebx
mov ecx, edi
call fcn.10002d50
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
add esp, 4
push str.___skillgrp.dat_patched
call esi
jmp 0x10003208
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.100051c0
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.10002be0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x169], al
cmp ecx, 7
jbe 0x10003278
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003268
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003268
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
mov al, byte [ebp - 0x169]
add esp, 8
test al, al
je 0x10003294
push 0x1000b194
mov edx, ebx
mov ecx, edi
call fcn.10002d50
add esp, 4
push str.___etcitemgrp.dat_patched
call esi
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.100051f0
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.10002be0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x169], al
cmp ecx, 7
jbe 0x10003304
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100032f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100032f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
mov al, byte [ebp - 0x169]
add esp, 8
test al, al
je 0x10003320
push 0x1000b11c
mov edx, ebx
mov ecx, edi
call fcn.10002d50
add esp, 4
push str.___chargrp.dat_patched
call esi
mov ebx, dword [ebp - 0x174]
lea esi, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0x1000b108
mov dword [ebp - 0x1b8], 0x1000b0f4
mov dword [ebp - 0x1b4], 0x1000b0e0
mov dword [ebp - 0x1b0], 0x1000b180
mov dword [ebp - 0x1ac], 0x1000b158
mov dword [ebp - 0x1a8], 0x1000b144
push dword [esi]
mov edx, ebx
mov ecx, edi
call fcn.10002d50
add esi, 4
lea eax, [ebp - 0x1a4]
add esp, 4
cmp esi, eax
jne 0x10003368
mov esi, dword [0x1000b870]
mov ebx, dword [0x1000b86c]
mov dword [ebp - 0x38], esi
cmp ebx, esi
je 0x10003462
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1000b87c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
sub eax, dword [0x1000b878]
je 0x100033fa
push eax
lea ecx, [ebp - 0x24]
call fcn.10001900
mov eax, dword [0x1000b878]
mov esi, dword [0x1000b87c]
mov edi, dword [ebp - 0x24]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], str.Pickup_patch_failed.
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x174]
mov ecx, edi
push eax
call fcn.10002d50
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10003457
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000344d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100031c8
push edx
push ecx
call fcn.10005d07
add esp, 8
add ebx, 4
cmp ebx, esi
jne 0x100033a0
push ecx
mov edx, 0x23
mov dword [ebp - 0x34], 0x740073
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0x740061
mov dword [ebp - 0x2c], 0x660020
mov dword [ebp - 0x28], 0x730070
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x750054
mov dword [ebp - 0x1c], 0x6e0072
mov dword [ebp - 0x18], 0x610042
mov word [ebp - 0x14], 0x63
mov byte [ebp - 0x12], 0x6b
call fcn.10005290
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
test esi, esi
je 0x10003703
push 0x98
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.100041b0
mov edx, str.___End_and_MiddleMouse_signature_found_at_address:_0x
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.100047e0
push 0x100020c0
mov ecx, eax
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___class_std::ios_base_____cdecl___class_std::ios_base___]
push esi
mov ecx, eax
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___unsigned_int_]
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0xd0]
call fcn.100040c0
cmp dword [eax + 0x14], 0xf
jbe 0x1000352a
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push eax
call ebx
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x1000356f
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003565
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
add esp, 8
mov eax, dword [0x1000b88c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
sub eax, dword [0x1000b888]
je 0x100035c7
push eax
lea ecx, [ebp - 0x24]
call fcn.10001900
mov esi, dword [0x1000b88c]
mov eax, dword [0x1000b888]
sub esi, eax
mov edi, dword [ebp - 0x24]
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1000b894]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
xor edx, edx
mov ecx, edi
call fcn.10002d50
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1000361d
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10003613
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003613
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10005d07
add esp, 8
mov eax, dword [0x1000b88c]
mov ecx, 0x1000b0b4
sub eax, dword [0x1000b888]
add eax, 0xfffffffd
add esi, eax
mov al, 1
xchg byte [ecx], al
push 0x10
call fcn.100059b8
mov dword [ebp - 0x38], eax
mov word [eax], 0x3135
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0x10005400
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push 0x10005510
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x178], eax
test eax, eax
je 0x100036f1
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x174]
test ecx, ecx
je 0x100036e9
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x100036e9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.10004010
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x10003710
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x174], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ebx, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push str.____End_and_MiddleMouse_signature_not_found
call ebx
push ecx
mov edx, 0x59
mov dword [ebp - 0x94], 0x690046
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x90], 0x650078
mov dword [ebp - 0x8c], 0x440064
mov dword [ebp - 0x88], 0x660065
mov dword [ebp - 0x84], 0x750061
mov dword [ebp - 0x80], 0x74006c
mov dword [ebp - 0x7c], 0x610043
mov dword [ebp - 0x78], 0x65006d
mov dword [ebp - 0x74], 0x610072
mov dword [ebp - 0x70], 0x440020
mov dword [ebp - 0x6c], 0x77006f
mov dword [ebp - 0x68], 0x6e
mov dword [ebp - 0x64], 0x690046
mov dword [ebp - 0x60], 0x650078
mov dword [ebp - 0x5c], 0x440064
mov dword [ebp - 0x58], 0x660065
mov dword [ebp - 0x54], 0x750061
mov dword [ebp - 0x50], 0x74006c
mov dword [ebp - 0x4c], 0x610043
mov dword [ebp - 0x48], 0x65006d
mov dword [ebp - 0x44], 0x610072
mov dword [ebp - 0x40], 0x550020
mov byte [ebp - 0x3c], 0x70
call fcn.10005290
mov esi, eax
add esp, 4
test esi, esi
je 0x10003996
push 0x98
lea eax, [ebp - 0x168]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x168]
call fcn.100041b0
mov edx, str.___PageUp_and_PageDown_signature_found_at_address:_0x
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x168]
call fcn.100047e0
push 0x100020c0
mov ecx, eax
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___class_std::ios_base_____cdecl___class_std::ios_base___]
push esi
mov ecx, eax
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___unsigned_int_]
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x168]
call fcn.100040c0
cmp dword [eax + 0x14], 0xf
jbe 0x10003843
mov eax, dword [eax]
push eax
call ebx
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10003882
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003878
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003878
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
add esp, 8
mov eax, dword [0x1000b8a0]
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
sub eax, dword [0x1000b89c]
je 0x100038ec
push eax
lea ecx, [ebp - 0x188]
call fcn.10001900
mov esi, dword [0x1000b8a0]
mov eax, dword [0x1000b89c]
sub esi, eax
mov edi, dword [ebp - 0x188]
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x184], eax
mov eax, dword [0x1000b8a8]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 9
push eax
xor edx, edx
mov ecx, edi
call fcn.10002d50
mov edx, dword [ebp - 0x188]
add esp, 4
test edx, edx
je 0x1000394a
mov ecx, dword [ebp - 0x180]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10003940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003940
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10005d07
add esp, 8
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x16c], eax
lea ecx, [ebp - 0x164]
call fcn.10004010
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x1000399d
push str.____PageUp_and_PageDown_signature_not_found
call ebx
push str.___Hooks_installed
call ebx
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.100059aa
mov esp, ebp
pop ebp
ret