Function at 0x5855b8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov ecx, 2
lea eax, [ebp - 0x24]
mov edx, dword [0x571014]
call fcn.00573ec0
lea eax, [ebp - 0x68]
mov edx, dword [0x57a4e8]
call fcn.00573e90
xor eax, eax
push ebp
push 0x585903
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dl, 1
mov eax, dword [0x579ba4]
call fcn.00579d90
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00579e0c
mov dword [ebp - 0x1c], 0x80000001
mov dword [ebp - 0x18], 0x80000002
lea eax, [ebp - 0x24]
mov edx, 0x585920
call fcn.00573604
lea eax, [ebp - 0x20]
mov edx, 0x58593c
call fcn.00573604
mov edx, 0x585958
mov eax, dword [ebp - 8]
call fcn.00579db8
mov edx, 0x585990
mov eax, dword [ebp - 8]
call fcn.00579db8
mov dl, 1
mov eax, dword [0x579ba4]
call fcn.00579d90
mov esi, eax
mov dl, 1
mov eax, dword [0x579ba4]
call fcn.00579d90
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x58582b
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov edx, dword [0x59bb68]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 8]
call fcn.0057a0d8
test al, al
je 0x58581f
mov eax, esi
call fcn.00579e0c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 8]
mov edx, esi
call fcn.0057a04c
mov edi, dword [esi + 4]
dec edi
test edi, edi
jl 0x58581f
inc edi
xor ebx, ebx
mov eax, dword [esi + ebx*4 + 8]
mov edx, 0x5859cc
call fcn.0057396c
je 0x585817
cmp dword [esi + ebx*4 + 8], 0
je 0x585817
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 8]
xor ecx, ecx
mov edx, dword [esi + ebx*4 + 8]
call fcn.0057a2d4
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x28]
call fcn.00579c60
push 0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x5859dc
call fcn.00575584
mov edx, dword [ebp - 0x28]
mov eax, 0x5859e8
call fcn.00573b08
cmp eax, 2
jne 0x585817
mov edx, dword [ebp - 0x28]
mov eax, 0x5859f4
call fcn.00573b08
test eax, eax
jle 0x585817
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x5859f4
call fcn.00573b08
mov ecx, eax
add ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.00573a80
mov edx, dword [ebp - 0x28]
mov eax, 0x585a04
call fcn.00573b08
test eax, eax
jne 0x585817
mov edx, dword [ebp - 0x28]
mov eax, 0x585a18
call fcn.00573b08
test eax, eax
jne 0x585817
mov edx, dword [ebp - 0x28]
mov eax, 0x585a28
call fcn.00573b08
test eax, eax
jne 0x585817
mov eax, dword [ebp - 0x28]
call fcn.00573a20
call fcn.0057ab6c
test al, al
je 0x585817
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.00579cec
mov eax, dword [ebp - 0x2c]
call fcn.00573a20
call fcn.0057b8a4
test al, al
je 0x585817
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x28]
call fcn.0057b9ac
cmp byte [ebp - 0x3c], 0
je 0x585817
mov eax, dword [ebp - 0x64]
mov edx, 0x585a38
call fcn.0057396c
je 0x585817
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00579db8
inc ebx
dec edi
jne 0x5856ea
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x58569f
add dword [ebp - 0x38], 4
dec dword [ebp - 0x10]
jne 0x585685
mov eax, esi
call fcn.0057299c
mov eax, dword [ebp - 8]
call fcn.0057299c
lea eax, [ebp - 0x30]
call fcn.0057356c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
test eax, eax
jle 0x5858b7
dec eax
test eax, eax
jl 0x585891
inc eax
mov dword [ebp - 0x34], eax
xor ebx, ebx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + ebx*4 + 8]
call fcn.00573604
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push 0x585a58
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.005738e0
inc ebx
dec dword [ebp - 0x34]
jne 0x585864
mov eax, dword [ebp - 0x30]
call fcn.00573820
mov edx, eax
lea eax, [ebp - 0x30]
mov ecx, 1
call fcn.00573ac0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
call fcn.005735c0
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
call fcn.0057299c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58590a
lea eax, [ebp - 0x6c]
call fcn.0057356c
lea eax, [ebp - 0x68]
mov edx, dword [0x57a4e8]
call fcn.00573f60
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00573590
lea eax, [ebp - 0x24]
mov ecx, 2
mov edx, dword [0x571014]
call fcn.00573fac
ret