Function at 0x50c9b0
Capabilities:
Enumerate pe sections
Start service

Disassembly:
sub esp, 0xe8
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
push esi
mov esi, dword [esp + 0xf8]
push edi
mov edi, 0x80
mov dword [esp + 0x1c], esi
push 0x202
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
call fcn.0050c700
cmp dword [0x58db54], 0
mov dword [esp + 0x10], eax
mov byte [0x58db58], 0
jne 0x50ce04
mov edi, dword [0x57e198]
xor ebp, ebp
mov edx, dword [0x584cf0]
cmp dword [0x58db50], 0
je 0x50ca96
push 1
push 0
push 0
call dword [0x57e014]
mov edi, eax
test edi, edi
je 0x50cc08
push 0x10
push 0x42b648
push edi
call dword [0x57e010]
mov ebx, eax
test ebx, ebx
je 0x50cbc5
push 0
push 0
push ebx
call dword [0x57e004]
push ebx
mov ebx, dword [0x57e018]
mov esi, eax
call ebx
push edi
call ebx
test esi, esi
jne 0x50ca7c
call dword [0x57e230]
cmp eax, 0x420
jne 0x50cbaf
mov edx, dword [0x584cf0]
mov esi, dword [esp + 0x1c]
mov edi, dword [0x57e198]
mov dword [0x58db50], 0
cmp edx, 0xffffffff
jne 0x50cb5c
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x42b628
call dword [0x57e0a0]
mov edx, eax
mov dword [0x584cf0], edx
cmp edx, 0xffffffff
jne 0x50cad5
mov dword [0x58db50], 1
jmp 0x50cba0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x81
push eax
push 8
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], 0
push eax
push 0
push 0
push 0x82006800
push edx
call edi
test eax, eax
je 0x50cd1a
mov cx, word [esp + 0x24]
cmp cx, 4
jb 0x50ccc5
push 8
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0x8200e808
call fcn.0050c940
add esp, 0x14
test eax, eax
je 0x50cd1a
mov cx, word [esp + 0x24]
mov ax, word [esp + 0x26]
cmp cx, 6
ja 0x50cc6f
jne 0x50cb56
cmp ax, 0x34
ja 0x50cc6f
mov edx, dword [0x584cf0]
movzx eax, word [esi + 4]
lea ebx, [esp + 0x20]
movzx ecx, word [esi + 2]
push 0
push ebx
mov ebx, dword [esp + 0x1c]
push eax
push ebx
push ecx
push esi
push 0x8200e804
push edx
mov dword [esp + 0x40], 0
call edi
test eax, eax
jne 0x50ce1b
push dword [0x584cf0]
call dword [0x57e22c]
or edx, 0xffffffff
mov dword [0x584cf0], edx
inc ebp
cmp ebp, 3
jl 0x50ca17
jmp 0x50ce1b
push 0x462
call fcn.0050c700
mov ebx, dword [esp + 0x10]
push ebx
push 0x42b668
jmp 0x50cc25
mov eax, dword [0x57e018]
push edi
call eax
push 0x45d
call fcn.0050c700
mov ebx, dword [esp + 0x10]
mov esi, eax
mov edi, dword [0x57e2f4]
lea eax, [esp + 0x2c]
push ebx
push 0x42b650
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push esi
push 0x58db58
call fcn.0050c590
jmp 0x50cd53
mov eax, dword [0x57e018]
push 0
call eax
push 0x45c
call fcn.0050c700
mov ebx, dword [esp + 0x10]
push ebx
push 0x42b634
mov edi, dword [0x57e2f4]
mov esi, eax
lea eax, [esp + 0x34]
push eax
call edi
mov ebp, dword [0x57e230]
add esp, 0xc
call ebp
push eax
lea eax, [esp + 0x94]
push 0x42b644
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push 0x58db58
call fcn.0050c5d0
jmp 0x50cd59
mov edi, dword [0x57e2f4]
movzx eax, ax
push eax
movzx eax, cx
push eax
lea eax, [esp + 0x98]
push 0x42b6a8
push eax
call edi
add esp, 0x10
push 0x469
call fcn.0050c700
lea ecx, [esp + 0x90]
push ecx
push 0x42b680
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0050c5d0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x42b6c4
jmp 0x50cd49
movzx eax, word [esp + 0x26]
mov edi, dword [0x57e2f4]
push eax
movzx eax, cx
push eax
lea eax, [esp + 0x98]
push 0x42b6a8
push eax
call edi
add esp, 0x10
push 0x468
call fcn.0050c700
lea ecx, [esp + 0x90]
push ecx
push 0x42b680
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0050c5d0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x42b6b4
jmp 0x50cd49
push 0x467
call fcn.0050c700
push 0x42b680
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0050c590
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov edi, dword [0x57e2f4]
push eax
push ebx
push 0x42b698
push 0x58db58
call edi
add esp, 0x10
mov ebp, dword [0x57e230]
mov eax, dword [0x584cf0]
cmp eax, 0xffffffff
je 0x50cd6a
push eax
call dword [0x57e22c]
cmp byte [0x58db58], 0
mov dword [0x584cf0], 0xffffffff
jne 0x50cdcb
push 0x45e
call fcn.0050c700
mov esi, eax
call ebp
push eax
lea eax, [esp + 0x94]
push 0x42b644
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push 0x42b680
push esi
lea eax, [esp + 0x38]
push eax
call fcn.0050c5d0
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x42b6d4
push 0x58db58
call edi
add esp, 0x10
cmp dword [0x584d28], 0
jne 0x50cdf8
push 0x30
push 0x207
call fcn.0050c700
push eax
push 0x58db58
push 0
call dword [0x57e308]
mov dword [0x58db54], 1
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov al, byte [esi + 6]
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx], 0xc80b2
mov byte [ebx + 6], al
mov word [ebx + 4], di
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00535482
add esp, 0xe8
ret 8