Function at 0x4137ff
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x41391e
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x140
call fcn.00459860
add esp, 0x10
mov dword [ebp - 0x1c], eax
push OleUIBusyA
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x413881
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x174
call fcn.004594a0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x140
call fcn.00459860
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.004012c9
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4138e1
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4138f1
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413901
push ebx
call fcn.00455843
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413915
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x413a2f
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x140
call fcn.00459860
add esp, 0x10
mov dword [ebp - 0x1c], eax
push OleUIBusyA
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x413954
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x174
call fcn.004594a0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x140
call fcn.00459860
add esp, 0x10
mov dword [ebp - 0x24], eax
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4139a0
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x174
call fcn.004594a0
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x47c791
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ecx, 5
call fcn.004012c9
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4139e7
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4139f7
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413a07
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x413a17
push ebx
call fcn.00455843
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413a2b
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413a66
push 0x191
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413edd
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00456020
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413aa8
push ebx
call fcn.00455843
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x5a204d]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413af4
push 0x29f
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413df0
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00459860
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.004014e3
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x413b4f
push ebx
call fcn.00455843
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x413d03
fild dword [ebp - 0x14]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x47c3c6]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.004018b4
push 0x80000301
push 0
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x413b8e
mov eax, 0x47c385
push eax
push 2
mov ebx, 0x134
call fcn.00456d40
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x2c]
call fcn.004014e3
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413bd1
push ebx
call fcn.00455843
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x413cc8
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413bee
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x130
call fcn.00456d90
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x5a2051]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413c45
push 0x45b
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413c8d
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413c7e
push 0x4c2
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 2
jmp 0x413ee7
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413cb9
push 0x4f9
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 0xffffffff
jmp 0x413ee7
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413cf4
push 0x583
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 0
jmp 0x413ee7
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413d16
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x130
call fcn.00456d90
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x5a2051]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413d6d
push 0x650
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413db5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413da6
push 0x6b7
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 3
jmp 0x413ee7
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413de1
push 0x6ee
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 0xfffffffe
jmp 0x413ee7
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413e03
mov eax, 0x47c385
push eax
push 1
mov ebx, 0x130
call fcn.00456d90
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x5a2051]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413e5a
push 0x7ef
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413ea2
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413e93
push 0x852
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 1
jmp 0x413ee7
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x413ece
push 0x889
push 0x40518d5
push 6
call fcn.00455849
add esp, 0xc
mov eax, 0xffffffff
jmp 0x413ee7
mov eax, 0xfffffffd
jmp 0x413ee7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413ef8
push ebx
call fcn.00455843
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413f08
push ebx
call fcn.00455843
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10