Function at 0x41d360
Capabilities:
Persist via run registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42c0c3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMRegFile::constructor_void_]
push 1
push 3
push str.SoftwareMicrosoftWindowsCurrentVersionRun
xor edi, edi
push 0x80000001
lea ecx, [esp + 0x28]
mov dword [esp + 0xb0], edi
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_]
test al, al
je 0x41d66d
push esi
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x70], edi
jne 0x41d41d
lea eax, [esp + 0x40]
push edi
push eax
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMSharedLibrary::GetModuleFullName_struct_HINSTANCE____]
add esp, 8
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetQuotedFilePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
push 0x431d84
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 3
call dword [0x42fb00]
push str._background
lea ecx, [esp + 0x7c]
call dword [0x42fb00]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 5
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::EnumKeyValueName_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______]
xor ebp, ebp
xor ebx, ebx
mov edi, edi
mov esi, dword [esp + 0x24]
cmp esi, edi
mov edi, dword [esp + 0x28]
je 0x41d5cf
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x41d5cf
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0xa0], 6
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41d4f6
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41d500
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
cmp dword [ebx + esi + 0x18], 8
jb 0x41d50d
mov esi, dword [ebx + esi + 4]
jmp 0x41d511
lea esi, [ebx + esi + 4]
lea edx, [esp + 0x40]
push edx
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
test al, al
je 0x41d53c
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.K8Common.dll_public:_static_int___cdecl_GameMgr::GMStringUtils::CompareNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test eax, eax
je 0x41d55b
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add ebp, 1
add ebx, 0x1c
xor edi, edi
jmp 0x41d490
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ebx, [esp + 0x20]
mov byte [esp + 0xa0], 4
call fcn.0040f700
lea ebx, [esp + 0x30]
mov byte [esp + 0xa0], 3
call fcn.0040f700
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMRegFile::destructor_void_]
mov al, 1
jmp 0x41d684
xor ebx, ebx
cmp esi, ebx
mov byte [esp + 0xa0], 4
je 0x41d5fd
cmp esi, edi
je 0x41d5f4
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41d5e1
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0xa0], 3
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x41d63d
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x41d634
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41d621
mov esi, dword [esp + 0x34]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xa0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMRegFile::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00429602
add esp, 0x90
ret