Function at 0x47d8fc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x47d904
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47df91
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040878c
mov eax, dword [ebp - 0x10]
mov edx, 0x47dfa8
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47dfc4
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47dfec
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e01c
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e058
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e094
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e0d4
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e118
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e160
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e188
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e1b8
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e1f0
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e22c
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e278
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e2c4
call fcn.00404950
je 0x47df61
mov eax, dword [ebp - 0x10]
mov edx, 0x47e300
call fcn.00404950
je 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47dfc4
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e334
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e350
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e370
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e38c
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e3c4
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e3d8
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e3ec
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e400
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e410
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e430
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e448
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e460
call fcn.00404b48
test eax, eax
jne 0x47df61
mov edx, dword [ebp - 0x10]
mov eax, 0x47e22c
call fcn.00404b48
test eax, eax
jne 0x47df61
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x47df61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
sub eax, 0x80000001
je 0x47dba5
dec eax
je 0x47dbc3
dec eax
je 0x47dbb4
jmp 0x47dbd0
lea eax, [ebp - 0xc]
mov edx, 0x47e474
call fcn.004045dc
jmp 0x47dbd0
lea eax, [ebp - 0xc]
mov edx, 0x47e490
call fcn.004045dc
jmp 0x47dbd0
lea eax, [ebp - 0xc]
mov edx, 0x47e4a4
call fcn.004045dc
push dword [ebp - 0xc]
push 0x47e4c0
push dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, 3
call fcn.004048c4
mov eax, dword [ebp - 4]
push eax
push 0x47d724
mov eax, dword [ebp - 4]
call fcn.00421e48
mov dl, 1
mov eax, dword [0x417340]
call fcn.004036c4
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x417340]
call fcn.004036c4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x47deb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x433dd8]
call fcn.00433ed8
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, ebx
call fcn.00433f78
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00434104
test al, al
je 0x47dc6c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004344bc
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00434584
mov eax, ebx
call fcn.00433f48
mov eax, ebx
call fcn.004036f4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47dea9
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x47dea9
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040878c
mov edx, dword [ebp - 0x2c]
mov eax, 0x47e460
call fcn.00404b48
test eax, eax
jne 0x47de9d
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0047e4dc
test al, al
je 0x47dd3b
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp - 0xc]
call fcn.00404598
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 8]
call fcn.00404598
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404598
mov eax, dword [ebp - 4]
add eax, 0x54
call fcn.00404544
mov eax, dword [ebp - 4]
push eax
push 0x47d7a0
mov eax, dword [ebp - 4]
call fcn.00421e48
mov dl, 1
mov eax, dword [0x433dd8]
call fcn.00433ed8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x28]
call fcn.00433f78
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.00434104
test al, al
je 0x47de95
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
call fcn.004346c4
cmp al, 1
je 0x47dda9
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.004346c4
cmp al, 2
jne 0x47de8d
xor eax, eax
push ebp
push 0x47dde8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x28]
call fcn.00434714
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
call fcn.00408980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ddf2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047e4dc
test al, al
je 0x47de8d
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp - 0xc]
call fcn.00404598
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 8]
call fcn.00404598
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00408980
cmp dword [ebp - 0x4c], 0
jne 0x47de52
mov eax, dword [ebp - 4]
add eax, 0x50
mov edx, 0x47e4cc
call fcn.00404598
jmp 0x47de6e
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404598
mov eax, dword [ebp - 4]
add eax, 0x54
mov edx, dword [ebp - 0x1c]
call fcn.00404598
mov eax, dword [ebp - 4]
push eax
push 0x47d7a0
mov eax, dword [ebp - 4]
call fcn.00421e48
mov eax, dword [ebp - 0x28]
call fcn.00433f48
mov eax, dword [ebp - 0x28]
call fcn.004036f4
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x47dc8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47debd
mov eax, dword [ebp - 0x18]
call fcn.004036f4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47df59
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x47df59
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x58], 0
je 0x47df51
xor eax, eax
push ebp
push 0x47df47
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 8]
push 0x47e4c0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004048c4
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047d8fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47df51
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x47dee1
mov eax, dword [ebp - 0x14]
call fcn.004036f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47df98
lea eax, [ebp - 0x60]
mov edx, 0xe
call fcn.00404568
lea eax, [ebp - 0x1c]
call fcn.00404544
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404568
ret