Function at 0x51cf44
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x51cf4d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
call fcn.00404ed0
mov eax, dword [ebp + 0xc]
call fcn.00404ed0
xor eax, eax
push ebp
push 0x51d454
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x51d415
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00441614
xor ecx, ecx
mov edx, 0x51d46c
mov eax, dword [ebp - 0x10]
call fcn.0044167c
test al, al
je 0x51d000
lea ecx, [ebp - 0x14]
mov edx, 0x51d4bc
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
mov al, byte [0x51d4c8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.0051ce88
mov ecx, dword [ebp - 0x24]
mov edx, 0x51d4d4
mov eax, dword [ebp - 0x14]
call fcn.0040e9b0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov ecx, 0x51d4ec
call fcn.00404d2c
mov eax, dword [ebp - 0x10]
call fcn.004415e4
xor ecx, ecx
mov edx, 0x51d4f8
mov eax, dword [ebp - 0x10]
call fcn.0044167c
test al, al
je 0x51d03b
lea ecx, [ebp - 0x28]
mov edx, 0x51d4bc
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov ecx, 0x51d4ec
call fcn.00404d2c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51d3ff
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov eax, dword [0x581040]
mov eax, dword [eax]
call fcn.0048d8b8
mov eax, dword [0x580cd8]
cmp byte [eax], 2
je 0x51d3ff
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00579b8c
push dword [ebp - 0x34]
push 0x51d4ec
push dword [ebp - 4]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404da0
mov ecx, dword [ebp - 0x30]
mov edx, 0x51d544
mov eax, dword [ebp + 8]
call fcn.0057ac74
cmp al, 1
jne 0x51d0bc
call fcn.00404464
jmp 0x51d41c
mov edx, dword [ebp - 0x14]
mov eax, 0x51d560
call fcn.00405024
test eax, eax
jne 0x51d3f5
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00408fc0
mov edx, dword [ebp - 0x38]
mov eax, 0x51d56c
call fcn.00405024
test eax, eax
jne 0x51d3f5
mov eax, dword [0x580a04]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0057a5b8
test al, al
je 0x51d3f5
mov edx, dword [ebp - 0x18]
mov eax, 0x51d560
call fcn.00405024
test eax, eax
jne 0x51d3f5
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00408fc0
mov edx, dword [ebp - 0x3c]
mov eax, 0x51d56c
call fcn.00405024
test eax, eax
jne 0x51d3f5
mov eax, dword [0x580a04]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.0057a5b8
test al, al
je 0x51d3f5
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
call fcn.00404d2c
mov eax, dword [ebp - 0x40]
call fcn.004099c4
test al, al
jne 0x51d3f5
lea ecx, [ebp - 0x4c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x18]
call fcn.00404d2c
mov eax, dword [ebp - 0x48]
call fcn.004099c4
test al, al
jne 0x51d3f5
mov eax, dword [ebp + 0x10]
call fcn.004f3024
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
mov byte [eax + 0xc], 1
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.00579b8c
push dword [ebp - 0x50]
push 0x51d4ec
push dword [ebp - 4]
push 0x51d4ec
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x54]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x12
mov edx, 5
call fcn.00404da0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x16
push eax
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x58]
pop eax
call fcn.00404a74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x1a
push eax
lea ecx, [ebp - 0x5c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00404a74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x1e
call fcn.00404a20
push 0x51d578
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.00579b8c
push dword [ebp - 0x60]
push 0x51d4ec
push dword [ebp - 4]
push 0x51d4ec
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x2e
mov edx, 6
call fcn.00404da0
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x32
mov edx, 0x51d58c
pop ecx
call fcn.00404d2c
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x36
mov edx, 0x51d5a0
pop ecx
call fcn.00404d2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x3a
mov edx, 0x51d5b0
call fcn.00404a74
mov eax, dword [0x5810e0]
inc dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
mov edx, dword [0x5810e0]
mov edx, dword [edx]
mov dword [eax + 0x2a], edx
push 0x51d5ec
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.00579b8c
push dword [ebp - 0x70]
push 0x51d4ec
push dword [ebp - 4]
push 0x51d4ec
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x42
mov edx, 6
call fcn.00404da0
push 0x51d600
lea ecx, [ebp - 0x78]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x78]
push 0x51d620
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x46
mov edx, 3
call fcn.00404da0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004f3038
add eax, 0x3e
mov edx, 0x51d62c
call fcn.00404a74
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0041bd60
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x84]
xor ecx, ecx
mov eax, 0x51d63c
call fcn.0040a520
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x18]
call fcn.0046cef4
call fcn.0057b47c
inc ebx
dec dword [ebp - 0x1c]
jne 0x51d051
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d41c
mov eax, dword [ebp - 0x10]
call fcn.00403bec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d45b
lea eax, [ebp - 0x7c]
mov edx, 0x18
call fcn.00404a44
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404a44
lea eax, [ebp - 4]
call fcn.00404a20
lea eax, [ebp + 0xc]
call fcn.00404a20
ret