Function at 0x411440
Capabilities:
Create thread
Query or enumerate registry value
Set registry value
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f002b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x56b114]
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
mov ebx, ecx
mov dword [ebp - 0x138], ebx
push 0x80
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004c5d00
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x134]
add esp, 0xc
mov dword [ebp - 0x140], 0x40
mov dword [ebp - 0x134], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4115d2
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push str.svcVersion
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x134]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0xa8]
push 0x2e
push eax
call fcn.004c526d
add esp, 8
test eax, eax
je 0x4115d2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xa8]
push eax
call fcn.004caa6f
imul eax, eax, 0x3e8
add esp, 4
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x134]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411582
push 4
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], 4
push eax
push 4
push 0
push str.R2CBrowser.exe
push dword [ebp - 0x134]
call ebx
push dword [ebp - 0x134]
call edi
lea eax, [ebp - 0x134]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
call esi
test eax, eax
jne 0x4115cc
push 4
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], 4
push eax
push 4
push 0
push str.R2CBrowser.exe
push dword [ebp - 0x134]
call ebx
push dword [ebp - 0x134]
call edi
mov ebx, dword [ebp - 0x138]
mov ecx, dword [ebx + 0x784]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0x516bf0
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call sym.R2ClientInstall.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov ecx, eax
mov byte [ebp - 4], 1
call sym.R2ClientInstall.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411624
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e140
lea ecx, [ebp - 0xac]
call sym.R2ClientInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call sym.R2ClientInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call sym.R2ClientInstall.exe_int___cdecl_FileOps::MakeSureDirExist_wchar_t_const__
add esp, 4
test eax, eax
je 0x411880
push 0x544
call fcn.004c3956
mov esi, eax
add esp, 4
mov dword [ebp - 0x13c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x138], eax
xor eax, eax
push 5
push str.2.2.0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
call fcn.0040e140
lea ecx, [esi + 4]
mov dword [esi], vtable.CHttpThreadBase.0
call sym.R2ClientInstall.exe_public:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::constructor_void_
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0x1388
lea ecx, [esi + 0x100]
mov dword [esi], vtable.CInstallStatisticsThread.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea edi, [esi + 0x118]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x34
push str.https:__www.r2games.com__ctminiClientacinstallLog
mov byte [ebp - 4], 9
call fcn.0040e140
lea eax, [ebp - 0x158]
cmp edi, eax
je 0x411758
cmp dword [ebp - 0x144], 8
mov ecx, edi
push dword [ebp - 0x148]
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.0040e140
lea eax, [esi + 0x130]
push eax
call sym.R2ClientInstall.exe_public:_static_bool___cdecl_CSystemInvoke::GetIPAddress_wchar_t__
lea eax, [esi + 0x338]
push eax
call sym.R2ClientInstall.exe_public:_static_bool___cdecl_CSystemInvoke::GetMACAddress_wchar_t__
mov eax, dword [ebp - 0x138]
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x144]
mov dword [esi + 0x540], eax
cmp edx, 8
jb 0x4117c3
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118d2
push edx
push ecx
call fcn.004c3d01
add esp, 8
push 0
push 0
push esi
push sym.R2ClientInstall.exe_private:_static_unsigned_long_int___stdcall_CHttpThreadBase::HttpSendProc_void__
push 0
push 0
mov byte [ebp - 4], 4
call fcn.004cde48
add esp, 0x18
mov dword [esi + 0xf8], eax
test eax, eax
je 0x411810
push dword [esi + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411809
push 0
push dword [esi + 0xf8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call sym.R2ClientInstall.exe_private:_void___thiscall_CHttpThreadBase::Close_void_
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d4
call fcn.004c3956
add esp, 4
mov dword [ebp - 0x138], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00412370
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
mov dword [ebp - 0x138], esp
lea ecx, [ebx + 0x7a8]
mov esi, eax
push ecx
mov ecx, edx
call fcn.0040dc80
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040dc80
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00412fe0
push 1
mov ecx, ebx
call sym.R2ClientInstall.exe_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4118b6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4118ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118d7
push edx
push ecx
call fcn.004c3d01
add esp, 8
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.004c360c
mov esp, ebp
pop ebp
ret
call fcn.004cac9c
call fcn.004cac9c
int3