Function at 0x4936a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x52063b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [0x565e78]
push ebx
mov ebx, dword [esp + 0xdc]
test ebx, ebx
mov dword [esp + 0xc4], eax
je 0x494c1c
push esi
push edi
mov edi, ebx
call fcn.00493570
cmp dword [esp + 0xf4], 1
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc], edx
jne 0x49370f
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493700
sub eax, esi
add eax, edx
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x68], 0
mov ecx, 0x18
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebx + 0x60]
test al, al
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x18], 0
je 0x493758
test eax, eax
jle 0x49377e
mov dx, word [0x541164]
mov ecx, eax
lea edi, [esp + 0x68]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493748
dec ecx
mov word [edi], dx
jne 0x493743
jmp 0x49377e
test eax, eax
jle 0x49377e
mov dx, word [0x548124]
mov ecx, eax
lea edi, [esp + 0x68]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493770
dec ecx
mov word [edi], dx
jne 0x493765
mov eax, dword [esp + 0xf0]
test eax, eax
mov eax, dword [ebx + 8]
lea edx, [eax + 1]
je 0x4937a0
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493790
jmp 0x4937a7
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4937a0
sub eax, edx
push ebp
mov ebp, dword [esp + 0xec]
lea esi, [eax + ebp + 0x64]
test esi, esi
jne 0x4937be
mov esi, 1
push esi
call fcn.004fa746
mov ebx, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x54], ebx
rep stosb byte es:[edi], al
mov dword [esp + 0x58], esi
test ebp, ebp
mov dword [esp + 0xdc], 0
jle 0x49382b
lea eax, [esp + 0x6c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493800
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x493810
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebp
rep movsb byte es:[edi], byte [esi]
jne 0x4937f4
mov edi, ebx
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493830
mov ax, word [0x548120]
mov word [edi], ax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493846
mov edi, dword [esp + 0xe8]
mov ebp, dword [esp + 0xf4]
sub eax, edx
lea esi, [eax + ebx]
push edi
mov ecx, ebp
call fcn.00494fb0
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x493892
mov esi, dword [esp + 0x10]
push ebx
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x493944
cmp eax, 2
jne 0x493917
mov ecx, dword [edi + 0x10]
xor eax, eax
test ecx, ecx
je 0x4938bf
mov edx, dword [ecx + 0x28]
test edx, edx
jbe 0x4938bc
mov ecx, dword [ecx + 0x14]
mov edi, edi
cmp dword [ecx], edi
je 0x4938bf
inc eax
add ecx, 4
cmp eax, edx
jb 0x4938b0
or eax, 0xffffffff
push eax
push 0x54811c
push ebx
call fcn.004b3891
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4938d3
sub eax, edx
lea esi, [eax + ebx]
push edi
mov ecx, ebp
call fcn.00494fb0
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x493944
cmp eax, 3
push ebx
jne 0x49392f
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00493610
add esp, 8
jmp 0x493944
mov edx, dword [esp + 0xe8]
push 0x53c3e8
push edx
call fcn.004b6914
add esp, 0xc
mov eax, dword [edi + 0x2c]
test eax, eax
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
je 0x493bf9
test eax, eax
mov dword [esp + 0x24], 0
jle 0x493bf9
lea ebx, [ebx]
mov edx, dword [esp + 0xe8]
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0xf4]
test eax, eax
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
lea esi, [eax + 1]
je 0x4939b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493995
sub eax, esi
mov ebp, eax
mov eax, dword [edx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4939a6
jmp 0x4939c8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4939b0
sub eax, esi
mov ebp, eax
mov eax, dword [edx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4939c1
sub eax, edx
add ebp, 0xa
mov esi, eax
jne 0x4939d6
mov ebp, 1
push ebp
call fcn.004fa746
mov ebx, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x3c], ebx
rep stosb byte es:[edi], al
mov dword [esp + 0x40], ebp
add esi, 0xa
mov byte [esp + 0xdc], 1
jne 0x493a0f
mov esi, 1
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x44], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xf4]
push edi
mov esi, ebx
mov byte [esp + 0xe0], 2
call fcn.00496a60
mov ecx, dword [esp + 0xf4]
push edi
mov esi, ebp
call fcn.00496af0
cmp dword [esp + 0xf8], 1
jne 0x493a96
mov esi, dword [esp + 0x10]
push ebx
push str.__s
push esi
call fcn.004b3891
push ebp
add esi, eax
push 0x540ea8
push esi
call fcn.004b3891
add esp, 0x18
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x493bcd
mov eax, dword [esp + 0xf8]
cmp eax, 2
jne 0x493b1a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493aa7
sub eax, edx
lea edi, [eax + 0xa]
test edi, edi
jne 0x493abc
mov edi, 1
push edi
call fcn.004fa746
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push ebx
mov ecx, edx
and ecx, 3
push 0x548110
push esi
rep stosb byte es:[edi], al
call fcn.004b3891
mov eax, ebp
add esp, 0x10
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493af0
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x20]
push ebp
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.004fa776
add esp, 4
jmp 0x493bcd
cmp eax, 3
jne 0x493bab
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493b28
sub eax, edx
mov edx, eax
mov eax, ebp
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493b38
sub eax, esi
lea ebx, [eax + edx]
lea ebx, [ebx + ebx + 0x64]
test ebx, ebx
jne 0x493b51
mov ebx, 1
push ebx
call fcn.004fa746
mov esi, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
mov dword [esp + 0x38], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xe0], 3
mov eax, dword [esp + 0x40]
push ebp
push eax
push str.__s__s_
push esi
call fcn.004b3891
mov ecx, dword [esp + 0xf8]
push esi
push ecx
call fcn.00493610
push esi
call fcn.004fa776
mov ebx, dword [esp + 0x5c]
add esp, 0x20
jmp 0x493bcd
mov esi, dword [esp + 0xe4]
push ebx
push str.__s
push esi
call fcn.004b6914
push ebp
push 0x540ea8
push esi
call fcn.004b6914
add esp, 0x18
push ebp
call fcn.004fa776
push ebx
mov byte [esp + 0xe4], 0
call fcn.004fa776
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 8
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x493970
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ebx, dword [esp + 0xf0]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ebp
je 0x493c3a
cmp ebx, ebp
jne 0x493cbe
cmp eax, ebp
jne 0x493cbe
cmp ecx, ebp
jne 0x493cbe
cmp edx, ebp
jne 0x493cbe
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x493c72
mov edx, dword [esp + 0x10]
push str.___r_n
push edx
call fcn.004b3891
mov edx, dword [esp + 0x5c]
add esp, 8
push edx
jmp 0x494c11
cmp eax, 2
je 0x493cb4
cmp eax, 3
jne 0x493c9f
mov eax, dword [esp + 0xe4]
push eax
push 4
push 1
push 0x5480f0
call fcn.004b5851
mov edx, dword [esp + 0x64]
add esp, 0x10
push edx
jmp 0x494c11
mov ecx, dword [esp + 0xe4]
push str.___r_n
push ecx
call fcn.004b6914
add esp, 8
mov edx, dword [esp + 0x54]
push edx
jmp 0x494c11
mov edi, dword [esp + 0xf8]
cmp edi, 1
jne 0x493cec
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
push eax
push 0x5480ec
push edi
call fcn.004b3891
add esp, 0xc
add edi, eax
mov dword [esp + 0x10], edi
jmp 0x493d74
cmp byte [esi + 0x68], 0
je 0x493d36
cmp eax, 1
jne 0x493d36
cmp ecx, ebp
jne 0x493d36
cmp edx, ebp
jne 0x493d36
cmp dword [esp + 0x30], ebp
jne 0x493d36
cmp edi, 2
je 0x493d74
cmp edi, 3
jne 0x493d2a
mov ecx, dword [esp + 0xe4]
push ecx
push 1
push 1
push 0x5480e0
call fcn.004b5851
add esp, 0x10
jmp 0x493d74
mov edx, dword [esp + 0x54]
push edx
push 0x5480dc
jmp 0x493d64
cmp edi, 2
je 0x493d74
cmp edi, 3
jne 0x493d5a
mov ecx, dword [esp + 0xe4]
push ecx
push edi
push 1
push 0x5480e4
call fcn.004b5851
add esp, 0x10
jmp 0x493d74
mov edx, dword [esp + 0x54]
push edx
push 0x5480ec
mov eax, dword [esp + 0xec]
push eax
call fcn.004b6914
add esp, 0xc
cmp ebx, ebp
je 0x4944a0
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x4944a0
mov ecx, dword [esp + 0xec]
inc ecx
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x493fc1
mov edx, eax
cmp dword [esp + 0x20], edx
jge 0x493fc1
jmp 0x493dc0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx*4]
mov edi, dword [esp + 0x2c]
cmp dword [edx + 8], edi
jg 0x493fc1
mov eax, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493de3
mov ecx, dword [esp + 0xec]
sub eax, edx
lea esi, [eax + ecx + 0xc8]
test esi, esi
jne 0x493e03
mov esi, 1
push esi
call fcn.004fa746
mov ebx, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x5c], ebx
rep stosb byte es:[edi], al
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0xdc], 4
jle 0x493e6d
mov ebp, eax
lea esp, [esp]
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493e46
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x493e52
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebp
rep movsb byte es:[edi], byte [esi]
jne 0x493e40
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493e70
mov eax, dword [0x5480d4]
mov ebp, dword [esp + 0x3c]
mov dword [edi], eax
mov cl, byte [0x5480d8]
mov eax, ebp
mov byte [edi + 4], cl
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x493e90
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x493ea0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493ec0
mov edx, dword [str.____r_n]
mov dword [edi], edx
mov ax, word [0x5480d0]
mov word [edi + 4], ax
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x493f04
mov esi, dword [esp + 0x10]
push ebx
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x493f94
cmp eax, 2
jne 0x493f67
push 0x14
call fcn.004fa746
mov esi, eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
push eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push 0x5480c8
push esi
mov dword [edx + 0x10], ecx
call fcn.004b3891
mov eax, ebp
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493f40
mov ecx, dword [esp + 0x1c]
sub eax, edx
inc eax
push eax
push ebp
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.004fa776
add esp, 4
jmp 0x493f94
cmp eax, 3
push ebx
jne 0x493f7f
mov edx, dword [esp + 0xe8]
push edx
call fcn.00493610
add esp, 8
jmp 0x493f94
mov eax, dword [esp + 0xe8]
push 0x53c3e8
push eax
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
push ebx
mov dword [esp + 0x24], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x28]
add esp, 4
cmp esi, eax
mov esi, dword [esp + 0xe8]
jl 0x493dc0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x494421
mov ecx, eax
cmp dword [esp + 0x14], ecx
jge 0x494421
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx*4]
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 8], edx
jg 0x4941f1
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494004
sub eax, edx
mov edx, dword [esp + 0xec]
lea esi, [eax + edx + 0xc8]
test esi, esi
jne 0x494024
mov esi, 1
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x64], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0xe8]
mov byte [esp + 0xdc], 5
mov cl, byte [eax + 0x68]
test cl, cl
jne 0x49409d
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x49409d
mov ebx, eax
jmp 0x494070
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494076
mov edi, ebp
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494082
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x494070
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4940a2
mov edi, dword [esp + 0xe8]
mov ecx, dword [edi + 0x20]
mov ebx, dword [esp + 0xf4]
sub eax, edx
mov edx, dword [esp + 0x14]
lea esi, [eax + ebp]
mov eax, dword [ecx + edx*4]
push eax
mov ecx, ebx
call fcn.00496af0
mov al, byte [edi + 0x68]
test al, al
jne 0x4940f3
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4940d8
mov cx, word [0x53e620]
mov word [edi], cx
mov dl, byte [0x53e622]
mov byte [edi + 2], dl
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x49411d
mov esi, dword [esp + 0x10]
push ebp
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x4941c4
cmp eax, 2
jne 0x494197
push 0x14
call fcn.004fa746
mov esi, dword [esp + 0x18]
mov edi, eax
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push esi
mov dword [ecx + 0xc], eax
push 0x5480c4
push edi
mov dword [ecx + 0x10], eax
call fcn.004b3891
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + esi*4]
add esp, 0x10
push eax
mov ecx, ebx
mov esi, ebp
call fcn.00496af0
mov eax, ebp
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494170
sub eax, ecx
mov ecx, dword [esp + 0x1c]
inc eax
push eax
push ebp
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
call fcn.004fa776
add esp, 4
jmp 0x4941c4
cmp eax, 3
push ebp
jne 0x4941af
mov edx, dword [esp + 0xe8]
push edx
call fcn.00493610
add esp, 8
jmp 0x4941c4
mov eax, dword [esp + 0xe8]
push 0x53c3e8
push eax
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x14]
inc esi
push ebp
mov dword [esp + 0x18], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x48]
add esp, 4
cmp esi, eax
mov esi, dword [esp + 0xe8]
jl 0x493fe0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x494421
mov ecx, eax
cmp dword [esp + 0x34], ecx
jge 0x494421
lea esp, [esp]
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + ecx*4]
mov edi, dword [esp + 0x2c]
cmp dword [edx + 8], edi
jg 0x494421
mov eax, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494233
mov ecx, dword [esp + 0xec]
sub eax, edx
lea esi, [eax + ecx + 0xc8]
test esi, esi
jne 0x494253
mov esi, 1
push esi
call fcn.004fa746
mov ebx, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x4c], ebx
rep stosb byte es:[edi], al
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0xdc], 6
jle 0x4942bd
mov ebp, eax
lea esp, [esp]
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494296
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4942a2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebp
rep movsb byte es:[edi], byte [esi]
jne 0x494290
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4942c0
mov eax, dword [str.___CDATA_]
mov ebp, dword [esp + 0x3c]
mov dword [edi], eax
mov ecx, dword [0x548140]
mov dword [edi + 4], ecx
mov dx, word [0x548144]
mov eax, ebp
mov word [edi + 8], dx
mov ecx, eax
jmp 0x4942f0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4942f0
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494300
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x494320
mov eax, dword [0x5480bc]
mov dword [edi], eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
mov cx, word [0x5480c0]
mov word [edi + 4], cx
jne 0x494364
mov esi, dword [esp + 0x10]
push ebx
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x4943f4
cmp eax, 2
jne 0x4943c7
push 0x14
call fcn.004fa746
mov ecx, dword [esp + 0x38]
mov esi, eax
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
push ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
push 0x5480c4
push esi
mov dword [eax + 0x10], edx
call fcn.004b3891
mov eax, ebp
add esp, 0x10
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4943a0
sub eax, edx
mov edx, dword [esp + 0x1c]
inc eax
push eax
push ebp
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.004fa776
add esp, 4
jmp 0x4943f4
cmp eax, 3
push ebx
jne 0x4943df
mov eax, dword [esp + 0xe8]
push eax
call fcn.00493610
add esp, 8
jmp 0x4943f4
mov ecx, dword [esp + 0xe8]
push 0x53c3e8
push ecx
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x34]
inc esi
push ebx
mov dword [esp + 0x38], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x2c]
add esp, 4
cmp esi, eax
mov esi, dword [esp + 0xe8]
jl 0x494210
mov ebx, dword [esp + 0xf8]
cmp ebx, 2
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov eax, dword [eax + edi*4]
jne 0x49445d
push ebx
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.004936a0
add esp, 0x18
jmp 0x49448f
mov ebp, dword [esp + 0xe4]
push ebx
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
call fcn.004936a0
add esp, 0x18
cmp ebx, 1
jne 0x49448f
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494480
sub eax, edx
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
mov dword [esp + 0x2c], edi
jl 0x493da0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4946ba
cmp dword [esp + 0x20], eax
jge 0x4946ba
mov ecx, dword [esp + 0xec]
inc ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xe8]
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4944e0
mov ecx, dword [esp + 0xec]
sub eax, edx
lea esi, [eax + ecx + 0xc8]
test esi, esi
jne 0x494500
mov esi, 1
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x4c], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0xdc], 7
jle 0x49456d
mov ebx, eax
lea esp, [esp]
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494546
mov edi, ebp
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494552
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x494540
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x494570
mov eax, dword [0x5480d4]
mov ebx, dword [esp + 0x3c]
mov dword [edi], eax
mov cl, byte [0x5480d8]
mov eax, ebx
mov byte [edi + 4], cl
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494590
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4945a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4945c0
mov edx, dword [str.____r_n]
mov dword [edi], edx
mov ax, word [0x5480d0]
mov word [edi + 4], ax
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x494604
mov esi, dword [esp + 0x10]
push ebp
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x494694
cmp eax, 2
jne 0x494667
push 0x14
call fcn.004fa746
mov esi, eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
push eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push 0x5480c8
push esi
mov dword [edx + 0x10], ecx
call fcn.004b3891
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494640
mov ecx, dword [esp + 0x1c]
sub eax, edx
inc eax
push eax
push ebx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.004fa776
add esp, 4
jmp 0x494694
cmp eax, 3
push ebp
jne 0x49467f
mov edx, dword [esp + 0xe8]
push edx
call fcn.00493610
add esp, 8
jmp 0x494694
mov eax, dword [esp + 0xe8]
push 0x53c3e8
push eax
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
push ebp
mov dword [esp + 0x24], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x28]
add esp, 4
cmp esi, eax
jl 0x4944c2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4948da
cmp dword [esp + 0x34], eax
jge 0x4948da
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + 0x24]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
jmp 0x4946f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4946f0
mov ebx, dword [esp + 0xec]
sub eax, edx
lea esi, [eax + ebx + 0xc8]
test esi, esi
jne 0x494710
mov esi, 1
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x4c], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x50], esi
lea eax, [ebx + 1]
test eax, eax
mov byte [esp + 0xdc], 8
jle 0x49477d
mov ebx, dword [esp + 0xec]
inc ebx
mov edi, edi
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494756
mov edi, ebp
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494762
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x494750
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x494780
mov eax, dword [str.___CDATA_]
mov ebx, dword [esp + 0x3c]
mov dword [edi], eax
mov ecx, dword [0x548140]
mov dword [edi + 4], ecx
mov dx, word [0x548144]
mov eax, ebx
mov word [edi + 8], dx
mov ecx, eax
jmp 0x4947b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4947b0
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4947c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4947e0
mov eax, dword [0x5480bc]
mov dword [edi], eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
mov cx, word [0x5480c0]
mov word [edi + 4], cx
jne 0x494824
mov esi, dword [esp + 0x10]
push ebp
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x4948b4
cmp eax, 2
jne 0x494887
push 0x14
call fcn.004fa746
mov ecx, dword [esp + 0x38]
mov esi, eax
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
push ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
push 0x5480c4
push esi
mov dword [eax + 0x10], edx
call fcn.004b3891
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494860
sub eax, edx
mov edx, dword [esp + 0x1c]
inc eax
push eax
push ebx
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.004fa776
add esp, 4
jmp 0x4948b4
cmp eax, 3
push ebp
jne 0x49489f
mov eax, dword [esp + 0xe8]
push eax
call fcn.00493610
add esp, 8
jmp 0x4948b4
mov ecx, dword [esp + 0xe8]
push 0x53c3e8
push ecx
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x34]
inc esi
push ebp
mov dword [esp + 0x38], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x2c]
add esp, 4
cmp esi, eax
jl 0x4946d0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x494aef
mov edx, dword [esp + 0x14]
cmp edx, eax
jge 0x494aef
mov ebx, dword [esp + 0xe8]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494910
sub eax, edx
mov edx, dword [esp + 0xec]
lea esi, [eax + edx + 0xc8]
test esi, esi
jne 0x494930
mov esi, 1
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x4c], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x50], esi
mov byte [esp + 0xdc], 9
mov al, byte [ebx + 0x68]
test al, al
jne 0x4949ab
mov eax, dword [esp + 0xec]
inc eax
test eax, eax
jle 0x4949ab
mov ebx, eax
lea eax, [esp + 0x6c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494980
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494990
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x494974
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4949b0
mov ebx, dword [esp + 0xe8]
mov ecx, dword [ebx + 0x20]
sub eax, edx
lea esi, [eax + ebp]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 0xf8]
call fcn.00496af0
mov al, byte [ebx + 0x68]
test al, al
jne 0x4949fe
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4949e4
mov dx, word [0x53e620]
mov word [edi], dx
mov al, byte [0x53e622]
mov byte [edi + 2], al
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x494a28
mov esi, dword [esp + 0x10]
push ebp
push 0x53c3e8
push esi
call fcn.004b3891
add esp, 0xc
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x494ac9
cmp eax, 2
jne 0x494a9c
push 0x14
call fcn.004fa746
mov esi, dword [esp + 0x18]
mov edi, eax
xor ecx, ecx
mov edx, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
push esi
mov dword [edx + 0xc], ecx
push 0x5480c4
push edi
mov dword [edx + 0x10], ecx
call fcn.004b3891
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x104]
add esp, 0x10
push eax
mov esi, ebp
call fcn.00496af0
mov eax, ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494a75
sub eax, ecx
mov ecx, dword [esp + 0x1c]
inc eax
push eax
push ebp
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
call fcn.004fa776
add esp, 4
jmp 0x494ac9
cmp eax, 3
push ebp
jne 0x494ab4
mov edx, dword [esp + 0xe8]
push edx
call fcn.00493610
add esp, 8
jmp 0x494ac9
mov eax, dword [esp + 0xe8]
push 0x53c3e8
push eax
call fcn.004b6914
add esp, 0xc
mov esi, dword [esp + 0x14]
inc esi
push ebp
mov dword [esp + 0x18], esi
mov byte [esp + 0xe0], 0
call fcn.004fa776
mov eax, dword [esp + 0x48]
add esp, 4
cmp esi, eax
jl 0x4948f2
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0xe8]
mov byte [ebp], 0
mov al, byte [ecx + 0x68]
test al, al
je 0x494b24
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x494b24
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x494b24
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x494b24
cmp dword [esp + 0x44], 1
je 0x494b5e
mov eax, dword [esp + 0xec]
test eax, eax
jle 0x494b5e
mov ebx, eax
lea eax, [esp + 0x6c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494b37
mov edi, ebp
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x494b43
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x494b31
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x494b61
mov dx, word [0x5480b8]
mov word [edi], dx
mov al, byte [0x5480ba]
mov byte [edi + 2], al
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494b80
sub eax, edx
add eax, ebp
je 0x494ba1
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.00492420
add esp, 8
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x494ba4
mov eax, dword [0x5480ec]
mov dword [edi], eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
jne 0x494bd1
mov ecx, dword [esp + 0x10]
push ebp
push 0x53c3e8
push ecx
call fcn.004b3891
jmp 0x494c0d
cmp eax, 2
jne 0x494be3
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x494c10
cmp eax, 3
push ebp
jne 0x494bfb
mov eax, dword [esp + 0xe8]
push eax
call fcn.00493610
add esp, 8
jmp 0x494c10
mov ecx, dword [esp + 0xe8]
push 0x53c3e8
push ecx
call fcn.004b6914
add esp, 0xc
push ebp
call fcn.004fa776
add esp, 4
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc4]
pop ebx
call fcn.004b6cac
add esp, 0xd0
ret