Function at 0x4401b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ba7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb86c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
push str.CSifFile::setupServices
lea ecx, [esp + 0x30]
call fcn.00405a40
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
lea eax, [esp + 0x44]
push eax
push str.SERVICES
lea ecx, [ebx + 0x90]
mov byte [esp + 0x78], 1
call fcn.00454420
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
jbe 0x4405eb
mov esi, dword [esp + 0x78]
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x38]
call fcn.0041f500
mov dword [esp + 0x3c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov byte [esp + 0x70], 2
je 0x440274
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x44027d
call fcn.00488c34
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edi*8 + 4]
push 0x4c1250
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00454580
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
call fcn.00428490
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0xbc]
call fcn.0044a840
test al, al
je 0x4405a3
lea ecx, [esp + 0x54]
call fcn.00433bb0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 3
mov dword [esp + 0x7c], 1
call fcn.00428490
push eax
lea ecx, [esp + 0x58]
call fcn.004047c0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 2
call fcn.00428490
push eax
lea ecx, [esp + 0x5c]
call fcn.004047c0
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 4
mov dword [esp + 0x7c], 3
call fcn.00428490
mov eax, dword [eax]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0xa4]
call fcn.00449010
mov edi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 4
call fcn.00428490
mov edx, dword [eax]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x64]
push str._s_s
push ecx
call fcn.00404ae0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x70], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 5
call fcn.00428490
push eax
lea ecx, [esp + 0x64]
call fcn.004047c0
lea edx, [esp + 0x60]
push edx
mov ecx, ebx
call fcn.00431570
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 6
call fcn.00428490
mov eax, dword [eax]
push 0x10
push ebp
push eax
call fcn.00489758
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x64], eax
mov byte [esp + 0x78], 1
call fcn.004099a0
test eax, eax
jbe 0x44058a
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
mov ebx, dword [esp + 0x54]
je 0x440418
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x44041d
call fcn.00488c34
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringW]
add eax, edi
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push 1
push 0x400
call ebx
cmp eax, 2
jne 0x440568
mov eax, dword [esi + 4]
test eax, eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
je 0x44046b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x440470
call fcn.00488c34
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push edx
add eax, edi
mov eax, dword [eax + 4]
push 0xffffffffffffffff
push eax
push 1
push 0x400
call ebx
cmp eax, 2
jne 0x440568
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4404bd
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4404c2
call fcn.00488c34
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
add eax, edi
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
push 1
push 0x400
call ebx
cmp eax, 2
jne 0x440568
mov eax, dword [esi + 4]
test eax, eax
mov ebx, dword [esp + 0x60]
je 0x44050b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x440510
call fcn.00488c34
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push ebx
add eax, edi
mov eax, dword [eax + 0xc]
push 0xffffffffffffffff
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x440568
mov eax, dword [esi + 4]
test eax, eax
je 0x440551
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x440556
call fcn.00488c34
mov edx, dword [esi + 4]
mov eax, dword [edi + edx + 0x10]
cmp eax, dword [esp + 0x64]
jne 0x440568
mov byte [esp + 0x78], 0
mov ecx, esi
add ebp, 1
add edi, 0x14
call fcn.004099a0
cmp ebp, eax
jb 0x4403f3
mov ebx, dword [esp + 0x14]
xor ebp, ebp
cmp byte [esp + 0x78], 0
je 0x440596
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0043d040
lea ecx, [esp + 0x54]
call fcn.0040bc20
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x84], 1
call fcn.00426e10
mov eax, dword [esp + 0x3c]
push eax
call fcn.00458aee
add edi, 1
add esp, 4
cmp edi, dword [esp + 0x28]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], edi
jb 0x440231
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov byte [esp + 0x70], 0
je 0x44061a
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.00424a20
mov edx, dword [esp + 0x58]
push edx
call fcn.00458aee
add esp, 0x14
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], 0xffffffff
call fcn.00403f90
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4