Function at 0x406750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43d47a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x450880]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x450880]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x54], eax
call fcn.00402f20
push 0x10
mov dword [esp + 0x134], 0
mov edx, dword [esp + 0x50]
push 0
push edx
call fcn.0042923d
mov ecx, eax
imul ecx, ecx, 0x3941b
mov eax, 0x178b267d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x17
imul eax, eax, 0x7077
sub ecx, eax
add esp, 0xc
and ecx, 0xffff
mov esi, ecx
lea ecx, [esp + 0x28]
push ecx
push 0xf003f
push 0
push str.SoftwareKnife_Edge_SoftwareEncrypted
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40682e
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareKnife_Edge_SoftwareEncrypted
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0xc7
lea ecx, [esp + 0x59]
push 0
push ecx
mov byte [esp + 0x60], 0
call fcn.00429c50
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00417aee
mov byte [esp + 0x130], 1
call fcn.0040bc5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406872
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, 0x458af8
mov byte [esp + 0x130], 2
call fcn.00409920
call fcn.0040bc5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4068ae
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x130], 3
call fcn.0040bc5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4068e0
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov cl, 6
mov byte [esp + 0x130], 4
call fcn.004027e0
mov edi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0xc8
push 0x454810
push 0xffffffffffffffff
push 0x4548d8
push 0
push 0
call edi
push 0x454810
lea ecx, [esp + 0x28]
push 0x44591c
push ecx
call fcn.00409bd0
add esp, 0xc
mov cl, 7
call fcn.004027e0
push 0xc8
push 0x454810
push 0xffffffffffffffff
push 0x4548d8
push 0
push 0
call edi
push 0x454810
lea edx, [esp + 0x24]
push 0x44591c
push edx
call fcn.00409bd0
mov eax, dword [esp + 0x30]
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
cmp eax, 1
jne 0x406ab4
mov eax, dword [0x458afc]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 5
mov eax, dword [0x458a9c]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 6
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x406a07
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x8d
call fcn.0040c0ed
test eax, eax
je 0x406a53
push 0x8d
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 4
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 0x406ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406ae4
push 0x9c
call fcn.0040c0ed
test eax, eax
je 0x406ad5
push 0x9c
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, 0x458af8
call fcn.004094f0
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x38]
call fcn.00417b86
cmp eax, 1
jne 0x406c75
lea edx, [esp + 0x18]
push edx
call fcn.00407ed0
push eax
mov ecx, 0x458aa4
mov byte [esp + 0x134], 7
call fcn.00409ab0
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x458b00]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 8
mov byte [esp + 0x130], bl
mov eax, dword [0x458aa4]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 9
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x406bc9
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x9d
call fcn.0040c0ed
test eax, eax
je 0x406c11
push 0x9d
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 4
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 0x406ca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406ca5
push 0x9e
call fcn.0040c0ed
test eax, eax
je 0x406c96
push 0x9e
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, 0x458af8
call fcn.004094f0
mov eax, dword [0x458b04]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x50]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0xa
mov eax, dword [0x458aa0]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x34]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0xb
mov edx, dword [esp + 0x2c]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x406d2b
push edi
lea ecx, [esp + 0x30]
call fcn.004013d0
mov edx, dword [esp + 0x2c]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x8e
call fcn.0040c0ed
test eax, eax
je 0x406d73
push 0x8e
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffff2
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.00408fa0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 0xc
call fcn.00409ab0
mov byte [esp + 0x130], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406dd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
push str.data_
lea ecx, [esp + 0x2c]
call fcn.004094f0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffff2
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.00408fa0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0xd
call fcn.00409ab0
mov byte [esp + 0x130], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
push str.data_
lea ecx, [esp + 0x28]
call fcn.004094f0
push str.RFEP1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0xe
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0xf
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0xe
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x406ef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x407033
mov eax, dword [0x458b08]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x10
mov eax, dword [0x458b0c]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x11
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x406f88
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x8f
call fcn.0040c0ed
test eax, eax
je 0x406fd0
push 0x8f
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40700b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP2.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP2.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x12
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x13
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x12
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4070b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4070e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x40721a
mov eax, dword [0x458b10]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x14
mov byte [esp + 0x130], bl
mov eax, dword [0x458b14]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x15
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x407170
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x90
call fcn.0040c0ed
test eax, eax
je 0x4071b8
push 0x90
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x40721a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP3_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP3_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x16
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x17
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x16
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40729f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4072c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x407401
mov eax, dword [0x458b18]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x18
mov byte [esp + 0x130], bl
mov eax, dword [0x458b1c]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x19
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x407357
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x91
call fcn.0040c0ed
test eax, eax
je 0x40739f
push 0x91
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP4_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP4_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x1a
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x1b
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x1a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4074ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x4075e8
mov eax, dword [0x458b20]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x1c
mov byte [esp + 0x130], bl
mov eax, dword [0x458b24]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x1d
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x40753e
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x92
call fcn.0040c0ed
test eax, eax
je 0x407586
push 0x92
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4075e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP5_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP5_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x1e
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x1f
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x1e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40766d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407695
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x4077cf
mov eax, dword [0x458b28]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x20
mov byte [esp + 0x130], bl
mov eax, dword [0x458b2c]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x21
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x407725
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x93
call fcn.0040c0ed
test eax, eax
je 0x40776d
push 0x93
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4077cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP6_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP6_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x22
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x23
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x40787c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x4079b6
mov eax, dword [0x458b30]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x24
mov byte [esp + 0x130], bl
mov eax, dword [0x458b34]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x25
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x40790c
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x94
call fcn.0040c0ed
test eax, eax
je 0x407954
push 0x94
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40798e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x4079b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP7_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP7_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x26
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x27
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x26
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407a3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x407b9d
mov eax, dword [0x458b38]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x28
mov byte [esp + 0x130], bl
mov eax, dword [0x458b3c]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x29
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x407af3
push edi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add edi, edi
push edi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x95
call fcn.0040c0ed
test eax, eax
je 0x407b3b
push 0x95
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407b9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RFEP8_1.dck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004090e0
mov edi, eax
push str.RFEP8_1.dck
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x148], 0x2a
call fcn.004090e0
add esp, 0x18
mov byte [esp + 0x130], 0x2b
mov eax, dword [eax]
mov ebx, dword [edi]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00417b86
push 0
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00417b86
or edi, eax
mov byte [esp + 0x130], 0x2a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407c4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 1
jne 0x407d84
mov eax, dword [0x458b40]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00409a40
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004063b0
mov bl, 0x2c
mov byte [esp + 0x130], bl
mov eax, dword [0x458b44]
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00409a40
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.004063b0
mov byte [esp + 0x130], 0x2d
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x407cda
push esi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edx, dword [esp + 0x10]
add esi, esi
push esi
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0042dc40
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add esp, 0xc
push esi
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x96
call fcn.0040c0ed
test eax, eax
je 0x407d22
push 0x96
push eax
lea ecx, [esp + 0x24]
call fcn.00401510
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x458af8
call fcn.004094f0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
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 0x407d84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x458af8]
push 0x30
push 0
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.0040f8dc
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x130], 0xa
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 3
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 0x407e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 2
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 0x407e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 1
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 0x407e6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 0
call fcn.00417b17
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004280b8
mov esp, ebp
pop ebp
ret 4