Function at 0x4fb3b8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xbd
push 0
push 0
dec ecx
jne 0x4fb3c0
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404258
lea eax, [ebp - 0x180]
mov edx, dword [0x408330]
call fcn.004047e8
xor eax, eax
push ebp
push 0x4fb7e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x458670]
call fcn.00458770
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebp
push 0x4fb781
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov eax, dword [ebp - 8]
mov edx, 0x4fb7f8
call fcn.004041b4
jne 0x4fb44a
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00458810
lea eax, [ebp - 0x10]
mov edx, 0x4fb804
call fcn.00403ebc
jmp 0x4fb464
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00458810
lea eax, [ebp - 0x10]
mov edx, 0x4fb804
call fcn.00403ebc
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00458954
test al, al
je 0x4fb76b
mov eax, dword [ebp - 8]
mov edx, 0x4fb7f8
call fcn.004041b4
jne 0x4fb49a
lea ecx, [ebp - 0x14]
mov edx, 0x4fb850
mov eax, dword [ebp - 0xc]
call fcn.00458f94
jmp 0x4fb4aa
lea ecx, [ebp - 0x14]
mov edx, 0x4fb860
mov eax, dword [ebp - 0xc]
call fcn.00458f94
cmp dword [ebp - 0x14], 0
je 0x4fb76b
lea eax, [ebp - 0x5d0]
mov ecx, 0x4fb878
mov edx, dword [ebp - 0x14]
call fcn.004040f0
mov eax, dword [ebp - 0x5d0]
lea ecx, [ebp - 0x180]
mov edx, 0x3f
call fcn.00409608
test eax, eax
jne 0x4fb76b
mov eax, dword [ebp - 0x174]
mov edx, 0x4fb884
call fcn.004041b4
je 0x4fb74d
mov eax, dword [ebp - 0x174]
mov edx, 0x4fb890
call fcn.004041b4
je 0x4fb74d
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20c]
call fcn.004625e8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x18]
call fcn.004620bc
lea edx, [ebp - 0x1c]
mov eax, dword [0x534c08]
call fcn.00479440
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, 0x4fb894
call fcn.00405fbc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov ecx, 0x4fb8a4
call fcn.00405fbc
lea eax, [ebp - 0x5cc]
xor ecx, ecx
mov edx, 0x104
call fcn.00402d20
mov eax, dword [ebp - 0x14]
call fcn.00404268
mov edx, eax
lea eax, [ebp - 0x3c4]
call fcn.00409ae8
mov edx, 0x4fb8b4
lea eax, [ebp - 0x3c4]
call fcn.00409b88
mov eax, dword [ebp - 0x174]
call fcn.00404268
mov edx, eax
lea eax, [ebp - 0x3c4]
call fcn.00409b88
lea eax, [ebp - 0x3c4]
call fcn.00409a80
mov ecx, eax
test ecx, ecx
jle 0x4fb5d7
lea eax, [ebp - 0x3c4]
lea edx, [ebp - 0x5cc]
xor ebx, ebx
mov bl, byte [eax]
mov word [edx], bx
add edx, 2
inc eax
dec ecx
jne 0x4fb5c9
push 0
lea eax, [ebp - 0x5cc]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
jne 0x4fb61d
lea eax, [ebp - 0x3c4]
mov cl, 0x20
mov edx, 0x104
call fcn.00402d20
push 2
lea eax, [ebp - 0x2c0]
push eax
push 0x104
lea eax, [ebp - 0x3c4]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x5d8]
lea edx, [ebp - 0x3c4]
mov ecx, 0x104
call fcn.00403f0c
mov eax, dword [ebp - 0x5d8]
lea edx, [ebp - 0x5d4]
call fcn.004091ac
cmp dword [ebp - 0x5d4], 0
je 0x4fb687
lea eax, [ebp - 0x5e0]
lea edx, [ebp - 0x3c4]
mov ecx, 0x104
call fcn.00403f0c
mov eax, dword [ebp - 0x5e0]
lea edx, [ebp - 0x5dc]
call fcn.004091ac
mov edx, dword [ebp - 0x5dc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4fb6b6
push dword [ebp - 0x14]
push 0x4fb8c0
push dword [ebp - 0x174]
lea eax, [ebp - 0x5e4]
mov edx, 3
call fcn.00404164
mov edx, dword [ebp - 0x5e4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x14]
push 0x4fb8c0
push dword [ebp - 0x174]
lea eax, [ebp - 0x5e8]
mov edx, 3
call fcn.00404164
mov edx, dword [ebp - 0x5e8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea ecx, [ebp - 0x5ec]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5ec]
call fcn.004faacc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
call fcn.0043e644
inc eax
je 0x4fb741
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
call fcn.0043e6dc
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00462260
jmp 0x4fb74d
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00462260
lea eax, [ebp - 0x180]
call fcn.00409658
test eax, eax
je 0x4fb4e5
lea eax, [ebp - 0x180]
call fcn.0040967c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb788
mov eax, dword [ebp - 0xc]
call fcn.004030bc
ret