Function at 0x4b17e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bbd3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
call fcn.0045adc0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b1834
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push dword [0x5d6828]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push dword [0x5d6814]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b187f
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push dword [ebx + 0x24]
lea eax, [ebx + 0x24]
mov byte [ebp - 4], 1
push dword [0x5d67e8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045acb0
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push 0x20019
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 2
call fcn.0045b220
mov esi, dword [ebp - 0x3c]
or edi, 0xffffffff
test eax, eax
jne 0x4b2a2d
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b1904
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x40]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x50]
push 0x2001f
push edi
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 4
call fcn.0045b220
test eax, eax
je 0x4b1987
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x50]
call fcn.0045aa10
test eax, eax
jne 0x4b29fe
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b19a3
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x34]
push dword [0x5d67e4]
push eax
call fcn.0045acb0
add esp, 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0x20019
push dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045b220
test eax, eax
jne 0x4b29cf
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b1a1d
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b1a67
push 0x800
lea ecx, [ebp - 0x20]
call fcn.0045b530
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6680]
lea ecx, [ebp - 0x50]
call fcn.0045d730
lea ecx, [ebp - 0x74]
call fcn.0045c070
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jne 0x4b1b13
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b1acb
push 0x800
lea ecx, [ebp - 0x20]
call fcn.0045b530
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d667c]
lea ecx, [ebp - 0x68]
call fcn.0045d730
lea ecx, [ebp - 0x74]
call fcn.0045c070
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jne 0x4b1b02
push 0x57c808
lea ecx, [ebp - 0x20]
call fcn.0045a5f0
mov eax, dword [ebp - 0x20]
push 1
push eax
push dword [0x5d6680]
lea ecx, [ebp - 0x50]
call fcn.0045df40
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b1b2f
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b1b79
push 0x800
lea ecx, [ebp - 0x2c]
call fcn.0045b530
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6688]
lea ecx, [ebp - 0x68]
call fcn.0045d730
lea ecx, [ebp - 0x74]
call fcn.0045c070
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b1bb3
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b1bfd
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d693c]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b1d61
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
lea eax, [ebp - 0x14]
je 0x4b1d31
push eax
push dword [0x5d6854]
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
jne 0x4b1c71
or ecx, 0xffffffff
jmp 0x4b1c9b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jge 0x4b1c7f
or ecx, 0xffffffff
jmp 0x4b1c9b
push ecx
push dword [ebp - 0x14]
call fcn.00526d32
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4b1c96
or ecx, 0xffffffff
jmp 0x4b1c9b
sub ecx, dword [ebp - 0x14]
sar ecx, 1
xor eax, eax
test ecx, ecx
setg al
test eax, eax
jne 0x4b1cf2
push dword [0x5d6760]
lea ecx, [ebp - 0x44]
call fcn.0045a3a0
push dword [0x5d693c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0045a3a0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004b4660
lea ecx, [ebp - 0x18]
call fcn.0048ceb0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.0048ceb0
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d693c]
call fcn.0045df40
lea eax, [ebp - 0x2c]
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
je 0x4b1d61
push 1
push 0x57da10
push dword [0x5d6270]
lea ecx, [ebp - 0x50]
call fcn.0045df40
jmp 0x4b1d61
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b1d61
push dword [0x5d693c]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x5d6270]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b1d9d
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6940]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b1f01
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
lea eax, [ebp - 0x14]
je 0x4b1ed1
push eax
push dword [0x5d684c]
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
jne 0x4b1e11
or ecx, 0xffffffff
jmp 0x4b1e3b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jge 0x4b1e1f
or ecx, 0xffffffff
jmp 0x4b1e3b
push ecx
push dword [ebp - 0x14]
call fcn.00526d32
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4b1e36
or ecx, 0xffffffff
jmp 0x4b1e3b
sub ecx, dword [ebp - 0x14]
sar ecx, 1
xor eax, eax
test ecx, ecx
setg al
test eax, eax
jne 0x4b1e92
push dword [0x5d6764]
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
push dword [0x5d6940]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.0045a3a0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004b4660
lea ecx, [ebp - 0x44]
call fcn.0048ceb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0048ceb0
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6940]
call fcn.0045df40
lea eax, [ebp - 0x2c]
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
je 0x4b1f01
push 1
push 0x57da10
push dword [0x5d6274]
lea ecx, [ebp - 0x50]
call fcn.0045df40
jmp 0x4b1f01
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b1f01
push dword [0x5d6940]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x5d6274]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b1f3d
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6944]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b20a1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
lea eax, [ebp - 0x14]
je 0x4b2071
push eax
push dword [0x5d6850]
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
jne 0x4b1fb1
or ecx, 0xffffffff
jmp 0x4b1fdb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jge 0x4b1fbf
or ecx, 0xffffffff
jmp 0x4b1fdb
push ecx
push dword [ebp - 0x14]
call fcn.00526d32
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4b1fd6
or ecx, 0xffffffff
jmp 0x4b1fdb
sub ecx, dword [ebp - 0x14]
sar ecx, 1
xor eax, eax
test ecx, ecx
setg al
test eax, eax
jne 0x4b2032
push dword [0x5d6768]
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
push dword [0x5d6944]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.0045a3a0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004b4660
lea ecx, [ebp - 0x44]
call fcn.0048ceb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0048ceb0
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6944]
call fcn.0045df40
lea eax, [ebp - 0x2c]
push 0x57da10
push eax
call fcn.00461e40
add esp, 8
test al, al
je 0x4b20a1
push 1
push 0x57da10
push dword [0x5d6278]
lea ecx, [ebp - 0x50]
call fcn.0045df40
jmp 0x4b20a1
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b20a1
push dword [0x5d6944]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x5d6278]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b20dd
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6914]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b2136
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b2136
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6914]
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b2172
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6918]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
lea ecx, [ebp - 0x74]
call fcn.0045c070
lea eax, [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b21c5
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6918]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b221e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b221e
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6918]
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b225a
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d691c]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0xf]
call fcn.0045c070
cmp byte [ebp - 0xf], 0
je 0x4b22b3
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push 0x5844f0
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x4b22b3
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d691c]
call fcn.0045df40
lea eax, [ebp - 0x14]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x18], 0x800
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b22fb
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d627c]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x44], eax
call fcn.0045c070
cmp dword [ebp - 0x44], 0
je 0x4b237d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20019
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x5c]
call fcn.0045b220
test eax, eax
jne 0x4b239b
push 1
push 0x800
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x74]
call fcn.0045bca0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x5c]
push dword [eax + 4]
push dword [0x5d627c]
call fcn.0045d730
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x44], eax
call fcn.0045c070
cmp dword [ebp - 0x44], 0
jne 0x4b239b
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 0xd], 1
push dword [0x5d627c]
mov dword [ebp - 0x1c], 1
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b23d7
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6280]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b241f
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x1c], 1
push dword [0x5d6280]
mov byte [ebp - 0xe], 1
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b245b
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6284]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b24a3
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x1c], 1
push dword [0x5d6284]
mov byte [ebp - 0xf], 1
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b24df
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d68fc]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b2672
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d68fc]
call fcn.0045df40
cmp byte [ebp - 0xd], 0
jne 0x4b2559
push 0x57f8e8
lea ecx, [ebp - 0x44]
call fcn.0045a3a0
mov eax, 1
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x28]
call fcn.004e35d0
add esp, 8
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x4b255d
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 9
test al, 1
je 0x4b2579
and eax, 0xfffffffe
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], eax
call fcn.0048ceb0
cmp byte [ebp - 0xd], 0
je 0x4b2592
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d627c]
call fcn.0045df40
cmp byte [ebp - 0xe], 0
jne 0x4b25cc
push 0x581bcc
lea ecx, [ebp - 0x44]
call fcn.0045a3a0
mov eax, dword [ebp - 0x24]
or eax, 2
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x28]
call fcn.004e35d0
add esp, 8
mov byte [ebp - 0xe], 1
test eax, eax
jne 0x4b25d0
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 9
test al, 2
je 0x4b25ec
and eax, 0xfffffffd
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], eax
call fcn.0048ceb0
cmp byte [ebp - 0xe], 0
je 0x4b2605
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6280]
call fcn.0045df40
cmp byte [ebp - 0xf], 0
jne 0x4b263f
push 0x5844f8
lea ecx, [ebp - 0x44]
call fcn.0045a3a0
mov eax, dword [ebp - 0x24]
or eax, 4
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x28]
call fcn.004e35d0
add esp, 8
mov byte [ebp - 0xf], 1
test eax, eax
jne 0x4b2643
mov byte [ebp - 0xf], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 9
test al, 4
je 0x4b2659
lea ecx, [ebp - 0x44]
call fcn.0048ceb0
cmp byte [ebp - 0xf], 0
je 0x4b2672
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6284]
call fcn.0045df40
cmp dword [ebp - 0x1c], 0
jne 0x4b296c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b26b8
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d690c]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b281b
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d693c]
call fcn.0045df40
push 1
push 0x57da10
push dword [0x5d6270]
lea ecx, [ebp - 0x50]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6940]
call fcn.0045df40
push 1
push 0x57da10
push dword [0x5d6274]
lea ecx, [ebp - 0x50]
call fcn.0045df40
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x4b281e
push 0x584500
push eax
call fcn.00526d32
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b281b
mov eax, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x4b281e
lea eax, [ecx + 3]
push eax
push 0x57b888
lea ecx, [ebp - 0x14]
call fcn.0045ce30
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x4b281b
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00493040
mov dword [ebp - 0x30], eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x14]
call fcn.0045b030
push 0x5844f8
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x14
push eax
call fcn.00480bb0
push dword [ebp - 0x30]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00480af0
add esp, 0x18
lea ecx, [ebp - 0x50]
push 1
push dword [eax]
push dword [0x5d6944]
call fcn.0045df40
lea ecx, [ebp - 0x28]
call fcn.0048ceb0
lea ecx, [ebp - 0x24]
call fcn.0048ceb0
lea ecx, [ebp - 0x1c]
call fcn.0048ceb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0048ceb0
push 1
push 0x57da10
push dword [0x5d6278]
lea ecx, [ebp - 0x50]
call fcn.0045df40
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
mov dword [ebp - 0x6c], 0xffffffff
jge 0x4b2857
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d6910]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b28ba
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6914]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6918]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d691c]
call fcn.0045df40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x74], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0xffffffff
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x4b28f6
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], eax
push ecx
push eax
push dword [0x5d68fc]
lea ecx, [ebp - 0x5c]
call fcn.0045d730
test eax, eax
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x10]
call fcn.0045c070
cmp byte [ebp - 0x10], 0
je 0x4b296c
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d68fc]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d627c]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6280]
call fcn.0045df40
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push dword [0x5d6284]
call fcn.0045df40
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b298d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b29ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b29cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4b29dd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x34]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b29fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4b2a0c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2a2a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4b2a3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2a58
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4b2a76
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret