Function at 0x4028a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42e008
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43abb0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.0040c5b0
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4028e3
push 0x80004005
call fcn.00404a20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x24]
mov dword [esp + 0x48], ebx
call fcn.00403010
push 0x7c
mov byte [esp + 0x4c], 1
mov ecx, dword [esp + 0x28]
push ebx
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], ebx
call fcn.00409525
test eax, eax
jne 0x402988
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
xor ebx, ebx
mov eax, dword [esp + 0x54]
push eax
lea esi, [esp + 0x20]
lea edi, [esp + 0x24]
call fcn.00403090
mov byte [esp + 0x48], 2
call fcn.0040c5b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4028d9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x48], 3
call fcn.0040c5b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4028d9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x7c
mov byte [esp + 0x4c], 4
mov ecx, dword [esp + 0x24]
push ebx
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], ebx
call fcn.00409525
test eax, eax
je 0x402d30
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jge 0x402a1e
or ebx, 0xffffffff
jmp 0x402a3f
push 0x433628
push ecx
call fcn.004161ba
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x402a39
or ebx, 0xffffffff
jmp 0x402a3f
sub eax, ecx
sar eax, 1
mov ebx, eax
mov eax, dword [ecx - 0xc]
sub eax, ebx
sub eax, 1
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004041c0
mov byte [esp + 0x48], 5
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402b0d
cmp dword [ebp + 0xc], 0
jl 0x402afb
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402afb
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402a9d
cmp eax, dword [esi]
jne 0x402a9d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x402ad8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x402dc5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004177d5
add esp, 0x10
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402af2
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add edi, 0x10
mov dword [esp + 0x18], edi
jmp 0x402b09
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404fb0
mov edi, dword [esp + 0x18]
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404240
mov byte [esp + 0x48], 6
mov eax, dword [eax]
mov ebp, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebp, 0xfffffff0
cmp esi, ebp
je 0x402c00
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x402bf2
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402bf2
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402b93
cmp eax, dword [esi]
jne 0x402b93
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x402bce
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x402dc5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004177d5
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402be5
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
jmp 0x402c00
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00404fb0
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403160
mov ebx, eax
test ebx, ebx
je 0x402d0b
cmp dword [edi - 0xc], 1
jne 0x402c59
push edi
call fcn.004166e8
add esp, 4
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
jmp 0x402cf1
mov eax, dword [esp + 0x14]
mov edx, 0x43362c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x402c8a
test si, si
je 0x402c86
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x402c8a
add ecx, 4
add edx, 4
test si, si
jne 0x402c64
xor ecx, ecx
jmp 0x402c8f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x402cdc
mov ecx, str.LangIDEx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402cbe
test dx, dx
je 0x402cba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402cbe
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c98
xor eax, eax
jmp 0x402cc3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402cdc
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edi, [esp + 0x20]
call fcn.004032a0
mov edi, dword [esp + 0x18]
jmp 0x402d04
push 0x10
push 0
push edi
call fcn.004168e4
add esp, 0xc
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
mov eax, dword [esp + 0x14]
push 4
push edx
push 4
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push 0x7c
add eax, 1
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], eax
call fcn.00409525
test eax, eax
jne 0x402a0f
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push 0x7c
add eax, 1
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], eax
call fcn.00409525
test eax, eax
jne 0x402986
jmp 0x402923
call fcn.004084f0
int3