Function at 0x44f8f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x730
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x62c]
push ecx
call fcn.004e24e0
add esp, 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x62c]
push edx
call edi
push esi
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x730]
push ecx
call fcn.004e24e0
add esp, 4
push ebx
lea edx, [ebp - 0x730]
push edx
call edi
mov esi, dword [ebp + 0x14]
lea edx, [ebp - 0x528]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44f970
lea edx, [ebp - 0x310]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44f984
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
push 1
push ebx
push ebx
push ebx
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x730]
push ebx
push eax
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], edx
xor esi, esi
xor edi, edi
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x44f9d3
lea esi, [ebx + 1]
jmp 0x44fa03
lea ecx, [ebp - 0x730]
push ecx
lea edx, [ebp - 0x20c]
push str._RRServ__RestServ_NOT_starting_as_foll_file_missing:__s
push edx
call fcn.005dfb23
push 0
push 1
lea eax, [ebp - 0x20c]
push eax
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x62c]
push 0
push ecx
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x44fa25
lea edi, [eax + 1]
jmp 0x44fa55
lea edx, [ebp - 0x62c]
push edx
lea eax, [ebp - 0x20c]
push str._RRServ__RestServ_NOT_starting_as_foll_file_missing:__s
push eax
call fcn.005dfb23
push 0
push 1
lea ecx, [ebp - 0x20c]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
lea edx, [ebp - 0x310]
push 0
push edx
call fcn.0050d920
add esp, 8
test eax, eax
je 0x44fa71
mov ebx, 1
jmp 0x44faa1
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x20c]
push str._RRServ__RestServ_NOT_starting_as_Service_missing:__s
push ecx
call fcn.005dfb23
push 0
push 1
lea edx, [ebp - 0x20c]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
test esi, esi
je 0x44fb5e
test edi, edi
je 0x44fb5e
test ebx, ebx
je 0x44fb5e
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push str._RRServ__RestServ_started_for__s__OnlyIfStopped:_u_
push edx
call fcn.005dfb23
push 0
push 1
lea eax, [ebp - 0x20c]
push eax
push 0x6aec98
call fcn.004311c0
lea ecx, [ebp - 0x730]
push ecx
push 0
push 0x44ebc0
call fcn.005e07ac
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x44fb37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x414]
push str.Error:_beginthread_q5__fails_with_error__d
push edx
call fcn.005dfb23
push 0
push 1
lea eax, [ebp - 0x414]
push eax
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x44fb47
push 0
push eax
push str.CBD_5w
call fcn.00420720
add esp, 0xc
cmp dword [ebp - 0x418], 0
jne 0x44fb5e
call fcn.004e03f0
cmp dword [ebp - 0x418], 0
je 0x44fb50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret