Function at 0x402300
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1e30
call fcn.00405c20
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.00405ccc
mov ebp, dword [esp + 0x1e4c]
mov edi, dword [esp + 0x1e48]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ebp
push edi
call dword [section..rdata]
test eax, eax
je 0x402351
xor ecx, ecx
cmp eax, 2
pop edi
pop esi
sete cl
pop ebp
mov eax, ecx
pop ebx
add esp, 0x1e30
ret
mov edx, dword [esp + 0x14]
push edx
call fcn.00401690
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x402824
mov ecx, dword [esp + 0x1e4c]
lea eax, [esp + 0x14]
push eax
push ecx
push ebp
push edi
call fcn.004016f0
add esp, 0x10
test eax, eax
je 0x402824
lea edx, [esp + 0xe40]
push 0x42c484
push edx
call fcn.00405ee8
mov ecx, dword [esp + 0x1c]
mov eax, 0x400
mov edi, dword [0x40e040]
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
push esi
push ebp
push ecx
mov dword [esp + 0x20], ebx
call edi
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x34], eax
call fcn.00405f0d
mov ecx, dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x1e48]
push edx
push ebp
push eax
push ecx
call edi
mov edi, dword [0x40e048]
mov edx, dword [esp + 0x1c]
mov esi, dword [0x40e308]
sub edx, esi
mov byte [esp + 0x1b], 0
mov eax, ebp
lea ecx, [edx + ebp + 5]
cmp ebp, ecx
mov dword [esp + 0x34], ecx
jae 0x4024ae
sub ecx, eax
push ecx
movsx ecx, byte [0x42c48c]
push ecx
push eax
call fcn.00406080
add esp, 0xc
test eax, eax
je 0x402474
mov edx, dword [0x40e308]
mov edi, 0x42c48c
add edx, 0xfffffffc
mov esi, eax
mov ecx, edx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40246b
mov ecx, edx
mov esi, 0x42c4c8
mov edi, eax
mov byte [esp + 0x1b], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x40e308]
lea eax, [eax + ecx - 5]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
jb 0x402417
mov al, byte [esp + 0x1b]
test al, al
je 0x4024a4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push ebp
push eax
lea ecx, [esp + 0xe4c]
push 0
push ecx
push edx
call dword [0x40e04c]
test eax, eax
jne 0x402824
mov edi, dword [0x40e048]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push ebp
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
push 0
lea edx, [esp + 0xe50]
mov eax, ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
inc ebx
push eax
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x30], ebx
call edi
cmp eax, 0xea
jne 0x402537
lea esi, [ebx - 1]
mov eax, dword [esp + 0x1c]
add eax, 0x400
push eax
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call fcn.00405f0d
add esp, 8
lea ecx, [esp + 0x1c]
mov ebp, eax
lea edx, [esp + 0x30]
push ecx
push ebp
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push 0
lea ecx, [esp + 0xe50]
push eax
push ecx
push esi
push edx
call edi
cmp eax, 0xea
je 0x4024f1
test eax, eax
je 0x4023f4
mov eax, dword [esp + 0x1e48]
lea ecx, [esp + 0x640]
push eax
push ecx
call fcn.00405ee8
lea edx, [esp + 0x648]
push edx
call fcn.00405d58
mov edi, dword [0x40e294]
add esp, 0xc
lea esi, [esp + eax*2 + 0x640]
lea eax, [esp + 0x40]
push 0x42c484
push eax
mov word [esi], 0x5c
add esi, 2
call edi
mov ecx, dword [0x40e308]
add esp, 8
and ecx, 0xfffffffc
mov ebx, 2
cmp ecx, 8
jbe 0x4025e7
mov dword [esp + 0x10], 0x42c490
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x240]
mov eax, dword [edx]
push eax
push 0x410214
push ecx
call edi
lea edx, [esp + 0x24c]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00405ebe
mov ecx, dword [0x40e308]
mov eax, dword [esp + 0x24]
add esp, 0x14
inc ebx
shr ecx, 2
add eax, 4
cmp ebx, ecx
mov dword [esp + 0x10], eax
jb 0x4025a3
lea edx, [esp + 0x440]
push 0x42c484
push edx
call edi
mov eax, dword [0x40e308]
add esp, 8
and al, 0xfc
mov ebx, 2
cmp eax, 8
jbe 0x402658
mov dword [esp + 0x10], 0x42c4cc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x240]
mov edx, dword [ecx]
push edx
push 0x410214
push eax
call edi
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x44c]
push ecx
push edx
call fcn.00405ebe
mov eax, dword [esp + 0x24]
add esp, 0x14
add eax, 4
inc ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x40e308]
shr eax, 2
cmp ebx, eax
jb 0x402612
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
xor ebx, ebx
push ecx
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
push edx
push esi
push ebx
push eax
mov dword [esp + 0x44], 0x800
call dword [0x40e064]
cmp eax, 0x103
je 0x4027ba
test eax, eax
jne 0x4027ba
mov ecx, dword [esp + 0x1e4c]
mov eax, dword [esp + 0x1e44]
lea edx, [esp + 0x640]
push ecx
push edx
push eax
call fcn.00402300
add esp, 0xc
test eax, eax
je 0x4027fa
push esi
xor edi, edi
call fcn.00405d58
add esp, 4
test eax, eax
jbe 0x402789
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x40]
push ecx
call fcn.00405d58
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00406045
add esp, 0x10
test eax, eax
je 0x40270a
mov ecx, dword [esp + 0x10]
push esi
add ecx, 2
inc edi
mov dword [esp + 0x14], ecx
call fcn.00405d58
add esp, 4
cmp edi, eax
jb 0x4026ce
jmp 0x402789
lea ecx, [esp + 0x640]
lea edx, [esp + 0x1640]
push ecx
push 0x41020c
push edx
call dword [0x40e294]
lea eax, [edi + edi]
lea ecx, [esp + 0x64c]
sub eax, ecx
lea edx, [esp + 0x44c]
add eax, esi
push edx
lea ebx, [esp + eax + 0x1650]
push ebx
call fcn.00405ee8
lea eax, [esp + 0x54]
push eax
call fcn.00405d58
add eax, edi
lea ecx, [esi + eax*2]
push ecx
push ebx
call fcn.00405ebe
mov edx, dword [esp + 0x1e6c]
lea eax, [esp + 0x1660]
push edx
mov edx, dword [esp + 0x1e68]
lea ecx, [esp + 0x664]
push eax
push ecx
push edx
call fcn.004022a0
add esp, 0x30
or ebx, 0xffffffff
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push 0
push 0
lea ecx, [esp + 0x30]
push 0
inc ebx
push ecx
push esi
push ebx
push edx
mov dword [esp + 0x44], 0x800
call dword [0x40e064]
cmp eax, 0x103
jne 0x402687
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
call fcn.004016f0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
call dword [0x40e070]
push esi
call fcn.00405c84
push ebp
call fcn.00405c84
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e30
ret
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
call fcn.004016f0
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
call dword [0x40e070]
push esi
call fcn.00405c84
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e30
ret