Function at 0x493437
Capabilities:
Persist via run registry key

Disassembly:
push 0x16c
mov eax, 0x54d5f2
call fcn.0053655e
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x144], eax
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [ebp - 0x140], eax
inc ecx
mov dword [ebp - 0x13c], eax
mov ebx, ecx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ecx
mov edi, SysReAllocString
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], edi
call fcn.00401cd4
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x138], eax
je 0x4934c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bf2a
jmp 0x4934d0
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bff6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], edi
call fcn.00401cd4
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x138], eax
je 0x49350f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bf2a
jmp 0x49351f
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bff6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
mov edi, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x2c], edi
call fcn.00401cd4
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x138], eax
je 0x493563
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bf2a
jmp 0x493573
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bff6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], edi
call fcn.00401cd4
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x138], eax
je 0x4935b2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bf2a
jmp 0x4935c2
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0044bff6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
cmp eax, ecx
mov dword [ebp - 0x15c], ecx
jmp 0x493b63
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044c6e7
lea ecx, [ebp - 0x12c]
call fcn.0049238e
push 0xf003f
push 0x200
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x12c]
call fcn.00494263
test al, al
je 0x4938a6
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004931b4
mov edi, dword [ebp - 0x168]
mov byte [ebp - 4], 8
cmp edi, dword [ebp - 0x164]
je 0x493897
mov byte [ebp - 0x14c], 0
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
and dword [ebp - 0x30], 0
push edi
call fcn.00403913
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x44]
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 9
call fcn.00403913
and dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00493b82
push dword [ebp - 0x14c]
and dword [ebp - 0x68], 0
lea ecx, [ebp - 0x78]
and dword [ebp - 0x64], 0
push eax
call fcn.00403889
lea ecx, [ebp - 0xd0]
call fcn.0040257a
lea ecx, [ebp - 0x90]
call fcn.0040257a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call fcn.0040257a
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00407256
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
call fcn.0040a686
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
call fcn.0040257a
push dword [ebp - 0x144]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040a7c1
pop ecx
pop ecx
test al, al
jne 0x49377f
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040aeb7
test al, al
jne 0x49377f
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040ac85
push dword [ebp - 0x144]
or ebx, 2
mov byte [ebp - 4], 0x12
mov ecx, eax
mov dword [ebp - 0x134], ebx
call fcn.0040aeb7
mov byte [ebp - 0x12d], 0
test al, al
je 0x493786
mov byte [ebp - 0x12d], 1
mov dword [ebp - 4], 0x11
test bl, 2
je 0x4937b1
and ebx, 0xfffffffd
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x134], ebx
call fcn.00403ae4
lea ecx, [ebp - 0xdc]
call fcn.0040257a
cmp byte [ebp - 0x12d], 0
je 0x49385e
push 0x55a440
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00404630
add esp, 0xc
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00403bb9
xor ecx, ecx
mov byte [ebp - 0x150], cl
push dword [ebp - 0x150]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403889
or ebx, 8
mov dword [ebp - 0x134], ebx
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004032b6
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x15
push eax
mov ecx, esi
call fcn.0044c5e9
lea ecx, [ebp - 0x90]
call fcn.0040257a
lea ecx, [ebp - 0x5c]
call fcn.0040257a
lea ecx, [ebp - 0xd0]
call fcn.0040257a
lea ecx, [ebp - 0xa0]
call fcn.00403ae4
lea ecx, [ebp - 0xb8]
call fcn.0040257a
lea ecx, [ebp - 0x78]
call fcn.0040257a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.0040257a
add edi, 0x18
cmp edi, dword [ebp - 0x164]
jne 0x493652
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 7
call fcn.00403ae4
push 0xf003f
push 0x100
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x12c]
call fcn.00494263
test al, al
je 0x493b3d
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004931b4
mov edi, dword [ebp - 0x174]
mov byte [ebp - 4], 0x16
cmp edi, dword [ebp - 0x170]
je 0x493b32
mov byte [ebp - 0x154], 0
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
and dword [ebp - 0x30], 0
push edi
call fcn.00403913
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x44]
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00403913
and dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00493b82
push dword [ebp - 0x154]
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
and dword [ebp - 0x7c], 0
push eax
call fcn.00403889
lea ecx, [ebp - 0xf4]
call fcn.0040257a
lea ecx, [ebp - 0x78]
call fcn.0040257a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1c
call fcn.0040257a
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00407256
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x1d
call fcn.0040a686
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1f
call fcn.0040257a
push dword [ebp - 0x144]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040a7c1
pop ecx
pop ecx
test al, al
jne 0x493a23
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040aeb7
test al, al
jne 0x493a23
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040ac85
push dword [ebp - 0x144]
or ebx, 4
mov byte [ebp - 4], 0x20
mov ecx, eax
mov dword [ebp - 0x134], ebx
call fcn.0040aeb7
mov byte [ebp - 0x12d], 0
test al, al
je 0x493a2a
mov byte [ebp - 0x12d], 1
mov dword [ebp - 4], 0x1f
test bl, 4
je 0x493a55
and ebx, 0xfffffffb
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x134], ebx
call fcn.00403ae4
lea ecx, [ebp - 0x100]
call fcn.0040257a
cmp byte [ebp - 0x12d], 0
je 0x493af6
push 0x55a440
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00404630
add esp, 0xc
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00403bb9
xor ecx, ecx
mov byte [ebp - 0x158], cl
push dword [ebp - 0x158]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x78]
push eax
call fcn.00403889
or ebx, 0x10
mov dword [ebp - 0x134], ebx
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
push eax
call fcn.004032b6
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x23
push eax
mov ecx, esi
call fcn.0044c5e9
lea ecx, [ebp - 0x5c]
call fcn.0040257a
lea ecx, [ebp - 0x78]
call fcn.0040257a
lea ecx, [ebp - 0xf4]
call fcn.0040257a
lea ecx, [ebp - 0xa0]
call fcn.00403ae4
lea ecx, [ebp - 0xb8]
call fcn.0040257a
lea ecx, [ebp - 0x90]
call fcn.0040257a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x16
call fcn.0040257a
add edi, 0x18
cmp edi, dword [ebp - 0x170]
jne 0x4938f9
lea ecx, [ebp - 0x174]
call fcn.00403ae4
lea ecx, [ebp - 0x12c]
call fcn.004923c4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040257a
mov eax, dword [ebp - 0x148]
add eax, 0x1c
cmp eax, dword [ebp - 0x15c]
mov dword [ebp - 0x148], eax
jne 0x4935e7
lea ecx, [ebp - 0x140]
call fcn.0044c960
mov eax, esi
call fcn.00536508
ret