Function at 0x46c000
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538b39
mov eax, dword fs:[0]
push eax
sub esp, 0x744
mov eax, dword [0x589644]
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 eax, ecx
mov dword [ebp - 0x734], eax
mov edi, dword [eax + 0x14]
lea edx, [eax + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
lea ebx, [edi - 0x10]
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x46c0e8
cmp dword [ebx + 0xc], 0
jl 0x46c0d2
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x46c0d2
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x46c07b
cmp ecx, dword [esi]
jne 0x46c07b
mov edi, esi
lock inc dword [eax]
jmp 0x46c0ad
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x46c4c6
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
lea ecx, [eax + eax]
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edi + 0x10]
push eax
call fcn.0046c630
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46c0c4
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x734]
add edi, 0x10
mov dword [ebx + 0x14], edi
jmp 0x46c0ee
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.00412460
mov ebx, dword [ebp - 0x734]
mov edi, dword [ebx + 0x14]
jmp 0x46c0ee
mov ebx, dword [ebp - 0x734]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x738], 0xffffffff
push 0
push eax
call fcn.004d7bd0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push edi
push eax
call esi
push str.config.set
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x547d64
push 0x55063c
push str.plugin_xd
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x728]
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x72c], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c180
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js case.0x46c3b6.22
cmp esi, 0x80
jle 0x46c1bf
push 2
push esi
call fcn.005057c1
mov ecx, eax
add esp, 8
mov dword [ebp - 0x72c], ecx
test ecx, ecx
je case.0x46c3b6.12
jmp 0x46c1cb
lea ecx, [ebp - 0x728]
mov dword [ebp - 0x72c], ecx
lea eax, [esi + esi]
push eax
lea edx, [ebp - 0x420]
push edx
push eax
push ecx
call fcn.0046c630
add esp, 0x10
cmp eax, 0x50
ja case.0x46c3b6.1
movzx eax, byte [eax + 0x46c520]
jmp dword [eax*4 + 0x46c510]
mov edx, dword [ebp - 0x72c]
mov byte [ebp - 4], 1
test edx, edx
jne 0x46c209
xor ecx, ecx
jmp 0x46c21f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c210
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10]
call fcn.00412460
mov eax, dword [ebp - 0x72c]
lea ecx, [ebp - 0x728]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x46c246
push eax
call fcn.005029f8
add esp, 4
mov eax, dword [ebx + 0x10]
cmp dword [eax - 0xc], 0
je 0x46c470
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004d7bd0
mov eax, dword [0x58f6c8]
add esp, 0xc
mov dword [ebp - 0x748], 1
mov dword [ebp - 0x744], 0x104
test al, 1
jne 0x46c298
or eax, 1
mov dword [0x58f6c4], 0
mov dword [0x58f6c8], eax
mov byte [ebp - 0x72d], 0
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 2
push eax
call fcn.00478ed3
lea eax, [ebp - 0x740]
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x72d]
mov dword [ebp - 0x74c], eax
lea eax, [ebp - 0x750]
push eax
push 0x46bbd0
push 0x58f6c4
call fcn.004798cc
add esp, 0x10
test eax, eax
je 0x46c44c
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 4
push eax
call fcn.00478f0d
add esp, 4
mov byte [ebp - 4], 0
lea eax, [ebp - 0x744]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x748]
push eax
push str.Launcher
push 0x58f6d0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46c416
lea eax, [ebp - 0x728]
lea ecx, [ebp - 0x628]
mov dword [ebp - 0x72c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c346
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x46c4df
cmp esi, 0x80
jle 0x46c385
push 2
push esi
call fcn.005057c1
mov ecx, eax
add esp, 8
mov dword [ebp - 0x72c], ecx
test ecx, ecx
je 0x46c4e9
jmp 0x46c391
lea ecx, [ebp - 0x728]
mov dword [ebp - 0x72c], ecx
lea eax, [esi + esi]
push eax
lea edx, [ebp - 0x628]
push edx
push eax
push ecx
call fcn.0046c630
add esp, 0x10
cmp eax, 0x50
ja case.0x46c3b6.1
movzx eax, byte [eax + 0x46c584]
jmp dword [eax*4 + 0x46c574]
mov edx, dword [ebp - 0x72c]
mov edi, dword [ebp - 0x734]
mov byte [ebp - 4], 7
test edx, edx
jne 0x46c3d5
xor ecx, ecx
jmp 0x46c3ef
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c3e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.00412460
mov eax, dword [ebp - 0x72c]
lea ecx, [ebp - 0x728]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x46c416
push eax
call fcn.005029f8
add esp, 4
mov eax, dword [ebp - 0x734]
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], 0
je 0x46c470
push 0xbb8
lea ecx, [ebp - 0x738]
push ecx
push 1
push 0
push 1
push dword [ebx + 0x10]
push eax
call fcn.0044f030
jmp 0x46c472
push 0x80004005
jmp 0x46c4da
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 5
push eax
call fcn.00478f4f
add esp, 4
mov byte [ebp - 4], 3
test al, al
je 0x46c509
jmp 0x46c4f3
xor eax, eax
push dword [ebp - 0x738]
push eax
push str.CPluginTask::StartTask_result_d_code_d
call fcn.0045cb30
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c4a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004b85ea
mov esp, ebp
pop ebp
ret 4
call fcn.00409520
push 0x80070057
call fcn.00408f30
push 0x8007000e
call fcn.00408f30
push 0x80070057
call fcn.00408f30
push 0x8007000e
call fcn.00408f30
sub esp, 8
lea eax, [ebp - 0x740]
mov ecx, esp
push eax
call fcn.0040aa30
call fcn.0040b760
call fcn.0047999d
nop
test ecx, 0xc4d50046
inc esi
add bl, cl
les eax, [esi]
inc edx
les eax, [esi]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [edi], cl
pop ds
add byte [ebp - 0x2affb93d], bh
les eax, [esi]
retf