Function at 0x40bc90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x459174
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe70
mov eax, dword [0x4641a0]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x24], eax
mov dword [esp + 0xe88], ebp
mov dword [esp + 0x18], eax
mov ax, word [0x469b0c]
mov ecx, 0x81
mov word [esp + 0x68], ax
xor eax, eax
lea edi, [esp + 0x6a]
mov byte [esp + 0xe88], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0040cca0
cmp eax, ebp
je 0x40bef4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp eax, ebp
je 0x40bef4
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
test eax, eax
je 0x40bef4
mov eax, dword [0x4641a0]
mov dword [esp + 0x10], eax
mov ecx, str.configdefaultskin
mov byte [esp + 0xe88], 2
test ecx, ecx
jne 0x40bd42
xor eax, eax
jmp 0x40bd4d
push str.configdefaultskin
call dword [0x45d1cc]
push str.configdefaultskin
push eax
lea ecx, [esp + 0x18]
call fcn.00408770
mov eax, dword [esp + 0xe98]
cmp eax, ebp
jle 0x40be62
mov dword [esp + 0x14], eax
jmp 0x40bd73
xor ebp, ebp
mov edx, 0x464760
xor edi, edi
test edx, edx
je 0x40bd87
push edx
call dword [0x45d1cc]
mov ebp, eax
mov eax, dword [esp + 0x10]
test ebp, ebp
mov esi, dword [eax - 8]
jle 0x40be51
lea ecx, [esp + 0x10]
call fcn.00408830
test esi, esi
jge 0x40bda5
mov edi, esi
mov ecx, dword [esp + 0x10]
add esi, ebp
cmp dword [ecx - 4], esi
jge 0x40bdf2
lea ebx, [ecx - 0xc]
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x14]
call fcn.00404720
test eax, eax
je 0x40be51
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + ecx + 2]
lea ecx, [esi + esi + 2]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401bc0
add esp, 0x10
push ebx
call fcn.00405ba0
mov ecx, dword [esp + 0x10]
lea edx, [edi + ebp]
mov eax, edx
neg eax
shl eax, 0x1f
sub eax, edx
lea ebx, [eax + esi]
lea ebx, [ebx + ebx + 2]
push ebx
lea ebx, [ecx + edi*2]
push ebx
mov ebx, dword [ecx - 4]
add ebx, eax
lea ecx, [ecx + edx*2]
lea eax, [ebx + ebx + 2]
push eax
push ecx
call fcn.00409c60
mov eax, dword [esp + 0x20]
mov ecx, edi
neg ecx
shl ecx, 0x1f
lea edx, [ebp + ebp]
mov ebp, dword [eax - 4]
sub ecx, edi
push edx
add ecx, ebp
push 0x464760
lea eax, [eax + edi*2]
lea edx, [ecx + ecx + 2]
push edx
push eax
call fcn.00401bc0
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov dword [ecx - 8], esi
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x40bd71
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x40beb0
cmp dword [eax - 0xc], ebp
jge 0x40be80
mov edx, dword [0x4641a4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40be85
cmp dword [ecx - 0xc], ebp
jge 0x40be95
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00408770
jmp 0x40beb0
lea ecx, [esp + 0x18]
call fcn.00405b60
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4641a4]
mov byte [esp + 0xe88], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c491
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x40c491
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044c87a
add esp, 4
jmp 0x40c491
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
push str.DefaultSkin
push str.Software360Safe
push 0x80000001
call dword [0x45d3a8]
lea eax, [esp + 0x68]
push eax
call dword [0x45d33c]
add esp, 4
test eax, eax
jne 0x40c32d
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], 0x45d5e0
push 0xc
mov byte [esp + 0xe8c], 3
call fcn.00458152
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0xe88], 4
je 0x40bf72
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.00409f30
jmp 0x40bf74
xor eax, eax
cmp eax, ebp
mov byte [esp + 0xe88], 3
mov dword [esp + 0x1c], eax
jne 0x40bf8e
push 0x8007000e
call fcn.00457710
mov bl, 5
push 0xc
mov byte [esp + 0xe8c], bl
call fcn.00458152
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0xe88], 6
je 0x40bfbf
push str.configconfig.xml
mov ecx, eax
call fcn.00409f30
jmp 0x40bfc1
xor eax, eax
cmp eax, ebp
mov byte [esp + 0xe88], bl
mov dword [esp + 0x10], eax
jne 0x40bfda
push 0x8007000e
call fcn.00457710
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x64]
call fcn.0040caf0
mov eax, dword [esp + 0x10]
mov edi, dword [0x45d354]
cmp eax, ebp
mov byte [esp + 0xe88], 0xa
mov dword [esp + 0x54], 0x45d644
je 0x40c0d0
mov eax, dword [eax]
cmp eax, ebp
je 0x40c0d0
push eax
call edi
cmp eax, ebp
jbe 0x40c0d0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40c033
mov eax, dword [eax]
jmp 0x40c035
xor eax, eax
push eax
call dword [0x45d3a0]
test eax, eax
jne 0x40c051
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.0040add0
jmp 0x40c0d0
mov ecx, dword [esp + 0xe94]
lea eax, [esp + 0x680]
push 0x400
push eax
push ecx
call dword [0x45d1e0]
lea edx, [esp + 0x680]
push edx
call dword [0x45d39c]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40c086
mov eax, dword [eax]
jmp 0x40c088
xor eax, eax
push eax
lea eax, [esp + 0x684]
lea ecx, [esp + 0x684]
push eax
push ecx
call dword [0x45d398]
lea edx, [esp + 0x680]
lea ecx, [esp + 0x14]
push edx
call fcn.00401090
lea eax, [esp + 0x14]
push ebp
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe90], 0xb
call fcn.0040add0
lea ecx, [esp + 0x14]
call fcn.00409ee0
lea ecx, [esp + 0x10]
call fcn.00409ee0
mov bl, 0xd
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe88], bl
call fcn.00409ee0
push 0xc
call fcn.00458152
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0xe88], 0xf
je 0x40c113
push 0x4647f8
mov ecx, eax
call fcn.00409f30
jmp 0x40c115
xor eax, eax
cmp eax, ebp
mov byte [esp + 0xe88], bl
mov dword [esp + 0x14], eax
jne 0x40c12e
push 0x8007000e
call fcn.00457710
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe90], 0x10
call fcn.0040cba0
mov esi, eax
lea ecx, [esp + 0x40]
mov eax, dword [esi + 4]
push eax
call fcn.0040d570
mov ecx, dword [esi + 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.0040d5f0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], 0x45d5e0
mov dword [esp + 0x48], edx
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0xe8c], 0x12
call fcn.0040d440
push 0
lea ecx, [esp + 0x30]
call fcn.0040d3d0
lea ecx, [esp + 0x30]
call fcn.0040d620
lea ecx, [esp + 0x2c]
call fcn.0040d5d0
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], bl
call fcn.00409ee0
push 0xc
call fcn.00458152
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0xe88], 0x13
je 0x40c1dc
push str.DefaultSkin
mov ecx, eax
call fcn.00409f30
jmp 0x40c1de
xor eax, eax
test eax, eax
mov byte [esp + 0xe88], bl
mov dword [esp + 0x14], eax
jne 0x40c1fb
push 0x8007000e
call fcn.00457710
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40c2c3
mov eax, dword [eax]
test eax, eax
je 0x40c2c3
push eax
call edi
test eax, eax
jbe 0x40c2c3
lea eax, [esp + 0x28]
push eax
call dword [0x45d358]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xe90], 0x15
call fcn.0040cb10
test eax, eax
jne 0x40c269
push str.configdefaultskin
lea ecx, [esp + 0x28]
call fcn.00405430
lea eax, [esp + 0x28]
mov byte [esp + 0xe88], 0x14
push eax
call dword [0x45d374]
test eax, eax
jge 0x40c2c3
jmp 0x40c2bd
cmp word [esp + 0x28], 8
je 0x40c298
push str.configdefaultskin
lea ecx, [esp + 0x28]
call fcn.00405430
lea ecx, [esp + 0x28]
mov byte [esp + 0xe88], 0x14
push ecx
call dword [0x45d374]
test eax, eax
jge 0x40c2c3
jmp 0x40c2bd
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push edx
call fcn.00405430
lea eax, [esp + 0x28]
mov byte [esp + 0xe88], 0x14
push eax
call dword [0x45d374]
test eax, eax
jge 0x40c2c3
push eax
call fcn.00457710
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], bl
call fcn.00409ee0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x68]
push ecx
push 0x104
push edx
call fcn.0040cf30
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push 1
push str.DefaultSkin
push str.Software360Safe
push 0x80000001
call dword [0x45d3a4]
lea ecx, [esp + 0x54]
mov byte [esp + 0xe88], 3
call fcn.0040ab20
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe88], 1
call fcn.004013d0
xor ebp, ebp
mov eax, 0x464760
test eax, eax
je 0x40c341
push 0x464760
call dword [0x45d1cc]
push 0x464760
push eax
lea ecx, [esp + 0x20]
call fcn.00408770
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408d20
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.0040c640
lea edx, [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xe90], 0x16
call fcn.0040c6b0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov esi, dword [0x45d334]
push ecx
push eax
mov byte [esp + 0xe90], 0x17
call esi
add esp, 8
test eax, eax
je 0x40c3ef
push 1
push 0x2f
lea ecx, [esp + 0x24]
call fcn.0040c640
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xe90], 0x18
call fcn.0040c6b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.00401c80
lea ecx, [esp + 0x1c]
call fcn.00401c80
test bl, bl
je 0x40c3f1
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.00401c80
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], 1
call fcn.00401c80
test bl, bl
je 0x40c423
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
dec eax
push eax
call fcn.0040c9e0
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.0040ce50
add esp, 8
test eax, eax
jne 0x40c491
mov ecx, dword [0x4641a0]
mov dword [esp + 0x10], ecx
push str.configdefaultskin
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8c], 0x19
call fcn.00405430
mov esi, dword [esp + 0xe98]
cmp esi, ebp
jle 0x40c472
push 0x464760
push ebp
lea ecx, [esp + 0x18]
call fcn.0040c820
dec esi
jne 0x40c460
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00409c90
lea ecx, [esp + 0x10]
mov byte [esp + 0xe88], 1
call fcn.00401c80
mov dx, word [0x469b0c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x272]
mov word [esp + 0x270], dx
mov word [esp + 0x478], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x47a]
mov esi, dword [0x45d170]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x270]
push eax
push 0x104
call esi
mov ecx, dword [esp + 0x18]
mov edi, dword [0x45d174]
push ecx
call edi
lea edx, [esp + 0x478]
push edx
push 0x104
call esi
lea eax, [esp + 0x270]
push eax
call edi
mov esi, dword [esp + 0xe90]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040c550
lea ecx, [esp + 0x18]
call fcn.00401c80
lea ecx, [esp + 0x24]
call fcn.00401c80
mov ecx, dword [esp + 0xe80]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe7c
ret