Function at 0x499240
Capabilities:
Check for peb beingdebugged flag
Check for software breakpoints
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501891
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x53f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x62
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x50
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x24]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x4992f4
call dword [ebp - 0x3f4]
test eax, eax
je 0x4992f4
mov byte [ebp - 0x3e5], 1
jmp 0x4994ac
mov byte [ebp - 0x40], 0x43
mov byte [ebp - 0x3f], 0x68
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x6b
mov byte [ebp - 0x3b], 0x52
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x6d
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x62
mov byte [ebp - 0x32], 0x75
mov byte [ebp - 0x31], 0x67
mov byte [ebp - 0x30], 0x67
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0
lea ecx, [ebp - 0x40]
push ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
je 0x4993b8
mov dword [ebp - 0x3c8], 0
lea edx, [ebp - 0x3c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x3f8]
cmp dword [ebp - 0x3c8], 0
je 0x4993b8
mov byte [ebp - 0x3e5], 1
jmp 0x4994ac
mov byte [ebp - 0x3e6], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x4993da
mov dword [ebp - 0x430], 1
jmp 0x4993e4
mov dword [ebp - 0x430], 0
mov dl, byte [ebp - 0x430]
mov byte [ebp - 0x3e6], dl
movzx eax, byte [ebp - 0x3e6]
test eax, eax
je 0x499407
mov byte [ebp - 0x3e5], 1
jmp 0x4994ac
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x3ac], ecx
lea edx, [ebp - 0x3b8]
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x3ec], 0
jmp 0x49945e
mov eax, dword [ebp - 0x3ec]
add eax, 1
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 4
jae 0x4994a5
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ebp - 0x434]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx], 0
je 0x4994a3
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x4994a3
mov byte [ebp - 0x3e5], 1
jmp 0x4994ac
jmp 0x49944f
mov byte [ebp - 0x3e5], 0
movzx edx, byte [ebp - 0x3e5]
test edx, edx
je 0x4994bc
jmp 0x499b66
mov ecx, dword [ebp + 0x10]
call fcn.00416f9f
mov ecx, dword [ebp + 8]
call fcn.00416f9f
mov ecx, dword [ebp + 0xc]
call fcn.00416f9f
push str.Advapi32.dll
lea ecx, [ebp - 0x464]
call fcn.00408ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x464]
push eax
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.00408e60
cmp dword [ebp - 0x3f0], 0
jne 0x499524
jmp 0x499b66
push 0x51c0bc
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x428], eax
push str.RegEnumValueW
mov edx, dword [ebp - 0x3f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x420], eax
push 0x51c0cc
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x428], 0
je 0x499587
cmp dword [ebp - 0x420], 0
je 0x499587
cmp dword [ebp - 0x404], 0
jne 0x49958c
jmp 0x499b66
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x438], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e0]
call fcn.00408ef0
mov dword [ebp - 4], 1
mov dword [ebp - 0x43c], 0x80000002
mov ecx, 0x54
mov word [ebp - 0x70], cx
mov edx, 0x65
mov word [ebp - 0x6e], dx
mov eax, 0x6e
mov word [ebp - 0x6c], ax
mov ecx, 0x63
mov word [ebp - 0x6a], cx
mov edx, 0x65
mov word [ebp - 0x68], dx
mov eax, 0x6e
mov word [ebp - 0x66], ax
mov ecx, 0x74
mov word [ebp - 0x64], cx
xor edx, edx
mov word [ebp - 0x62], dx
mov eax, 0x51
mov word [ebp - 0x60], ax
mov ecx, 0x51
mov word [ebp - 0x5e], cx
mov edx, 0x50
mov word [ebp - 0x5c], dx
mov eax, 0x43
mov word [ebp - 0x5a], ax
mov ecx, 0x4d
mov word [ebp - 0x58], cx
mov edx, 0x67
mov word [ebp - 0x56], dx
mov eax, 0x72
mov word [ebp - 0x54], ax
xor ecx, ecx
mov word [ebp - 0x52], cx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x3e0]
call fcn.00408db0
push 0x51b024
lea ecx, [ebp - 0x3e0]
call fcn.00408db0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00408db0
mov ecx, 0x53
mov word [ebp - 0x84], cx
mov edx, 0x75
mov word [ebp - 0x82], dx
mov eax, 0x70
mov word [ebp - 0x80], ax
mov ecx, 0x70
mov word [ebp - 0x7e], cx
mov edx, 0x6c
mov word [ebp - 0x7c], dx
mov eax, 0x79
mov word [ebp - 0x7a], ax
mov ecx, 0x49
mov word [ebp - 0x78], cx
mov edx, 0x44
mov word [ebp - 0x76], dx
xor eax, eax
mov word [ebp - 0x74], ax
mov ecx, 0x56
mov word [ebp - 0x50], cx
mov edx, 0x65
mov word [ebp - 0x4e], dx
mov eax, 0x72
mov word [ebp - 0x4c], ax
mov ecx, 0x73
mov word [ebp - 0x4a], cx
mov edx, 0x69
mov word [ebp - 0x48], dx
mov eax, 0x6f
mov word [ebp - 0x46], ax
mov ecx, 0x6e
mov word [ebp - 0x44], cx
xor edx, edx
mov word [ebp - 0x42], dx
mov eax, 0x49
mov word [ebp - 0x9c], ax
mov ecx, 0x6e
mov word [ebp - 0x9a], cx
mov edx, 0x73
mov word [ebp - 0x98], dx
mov eax, 0x74
mov word [ebp - 0x96], ax
mov ecx, 0x61
mov word [ebp - 0x94], cx
mov edx, 0x6c
mov word [ebp - 0x92], dx
mov eax, 0x6c
mov word [ebp - 0x90], ax
mov ecx, 0x54
mov word [ebp - 0x8e], cx
mov edx, 0x69
mov word [ebp - 0x8c], dx
mov eax, 0x6d
mov word [ebp - 0x8a], ax
mov ecx, 0x65
mov word [ebp - 0x88], cx
xor edx, edx
mov word [ebp - 0x86], dx
lea eax, [ebp - 0x3e4]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
push 0
lea ecx, [ebp - 0x3e0]
call fcn.00408da0
push eax
mov edx, dword [ebp - 0x43c]
push edx
call dword [ebp - 0x428]
test eax, eax
jne 0x499b54
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c0], 0x103
mov dword [ebp - 0x3c4], 0x103
push 0x208
push 0
lea eax, [ebp - 0x3a8]
push eax
call fcn.004ccc90
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.004ccc90
add esp, 0xc
lea edx, [ebp - 0x3c4]
push edx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
push 0
lea edx, [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x3a8]
push eax
mov ecx, dword [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x3e4]
push edx
call dword [ebp - 0x420]
test eax, eax
jne 0x499b3d
mov eax, 2
imul ecx, eax, 0x103
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x208
jae 0x499884
jmp 0x499889
call fcn.004ca1da
xor edx, edx
mov eax, dword [ebp - 0x41c]
mov word [ebp + eax - 0x3a8], dx
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x3a8]
test eax, eax
je 0x499ada
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x3a8]
push edx
call fcn.00426e20
add esp, 8
movzx eax, al
test eax, eax
je 0x4999a2
cmp dword [ebp - 0x3bc], 4
jne 0x49999d
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x418], edx
cmp dword [ebp - 0x418], 0x104
jae 0x4998fe
jmp 0x499903
call fcn.004ca1da
mov eax, dword [ebp - 0x418]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x414], edx
cmp dword [ebp - 0x414], 0x104
jae 0x499930
jmp 0x499935
call fcn.004ca1da
mov eax, dword [ebp - 0x414]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x1a0]
mov dword [ebp - 0x440], eax
mov edx, dword [ebp - 0x440]
lea ecx, [ebp - 0x47c]
call fcn.004273c0
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x448], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x448]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.00408e60
jmp 0x499ada
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3a8]
push ecx
call fcn.00426e20
add esp, 8
movzx edx, al
test edx, edx
je 0x499a41
cmp dword [ebp - 0x3bc], 1
jne 0x499a3c
mov eax, 1
imul ecx, eax, 0x103
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0x104
jae 0x4999e8
jmp 0x4999ed
call fcn.004ca1da
mov edx, dword [ebp - 0x424]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0x102
mov dword [ebp - 0x410], ecx
cmp dword [ebp - 0x410], 0x104
jae 0x499a1a
jmp 0x499a1f
call fcn.004ca1da
mov edx, dword [ebp - 0x410]
mov byte [ebp + edx - 0x1a0], 0
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408e00
jmp 0x499ada
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x3a8]
push edx
call fcn.00426e20
add esp, 8
movzx eax, al
test eax, eax
je 0x499ada
cmp dword [ebp - 0x3bc], 1
jne 0x499ada
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0x104
jae 0x499a86
jmp 0x499a8b
call fcn.004ca1da
mov eax, dword [ebp - 0x40c]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x408], edx
cmp dword [ebp - 0x408], 0x104
jae 0x499ab8
jmp 0x499abd
call fcn.004ca1da
mov eax, dword [ebp - 0x408]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00408e00
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x400], eax
cmp dword [ebp - 0x400], 0x208
jae 0x499af6
jmp 0x499afb
call fcn.004ca1da
xor ecx, ecx
mov edx, dword [ebp - 0x400]
mov word [ebp + edx - 0x3a8], cx
mov dword [ebp - 0x3c0], 0x103
mov dword [ebp - 0x3c4], 0x103
mov dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0x3fc]
add eax, 1
mov dword [ebp - 0x3fc], eax
jmp 0x499824
mov ecx, dword [ebp - 0x3e4]
push ecx
call dword [ebp - 0x404]
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e0]
call fcn.00408e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9ebd
mov esp, ebp
pop ebp
ret 0xc