Function at 0x4d91f0
Capabilities:
Create thread
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56855f
mov eax, dword fs:[0]
push eax
sub esp, 0x900
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
sub esp, 8
lea ecx, [ebp - 0x83c]
call fcn.004e1200
mov byte [ebp - 4], 1
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x868], 0xf
mov dword [ebp - 0x86c], 0
mov byte [ebp - 0x87c], 0
push 0x5f
push str.INFO______:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:110__:_ASOServiceInitialize_START_r_n
lea ecx, [ebp - 0x87c]
call fcn.004027f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x868], 0x10
jb 0x4d9296
push dword [ebp - 0x87c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x868], 0xf
mov dword [ebp - 0x86c], 0
mov byte [ebp - 0x87c], 0
cmp byte [0x648253], 0
je 0x4d934e
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
push 0x61
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:115__:_ASOServiceInitialize_error1_r_n
lea ecx, [ebp - 0x864]
call fcn.004027f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x850], 0x10
jb 0x4d931a
push dword [ebp - 0x864]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 1
jmp 0x4d9836
call fcn.004e7380
test al, al
jne 0x4d93b6
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:122__:_ASOServiceInitialize_error2_r_n
lea ecx, [ebp - 0x8dc]
call fcn.004025d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8c8], 0x10
jb 0x4d9382
push dword [ebp - 0x8dc]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x8c8], 0xf
mov dword [ebp - 0x8cc], 0
mov byte [ebp - 0x8dc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 2
jmp 0x4d9836
mov dword [ebp - 0x844], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x844]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x4d97a3
cmp dword [ebp - 0x844], 0
jne 0x4d97a3
cmp dword [0x6489d4], 0x33
je 0x4d978d
xor esi, esi
mov dword [ebp - 0x848], esi
cmp esi, 0x32
ja 0x4d9637
push esi
push dword [0x5c176c]
push str.Global_s__d
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.0051f5fe
add esp, 0x14
lea ecx, [ebp - 0x90c]
call fcn.004e7480
lea ecx, [ebp - 0x90c]
xor edx, edx
test al, al
cmove ecx, edx
lea eax, [ebp - 0x814]
push eax
push 0x25280
push edx
push 4
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x4d94bc
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:150__:_ASOServiceInitialize_error4_r_n
lea ecx, [ebp - 0x8f4]
call fcn.004025d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8e0], 0x10
jb 0x4d9488
push dword [ebp - 0x8f4]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x8e0], 0xf
mov dword [ebp - 0x8e4], 0
mov byte [ebp - 0x8f4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 4
jmp 0x4d9836
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebp - 0x82d]
push 0
push 0
push 0
push 0
push 4
push 6
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x4d9529
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:163__:_ASOServiceInitialize_error5_r_n
call fcn.004025d0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 1
call fcn.004d8e60
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 5
jmp 0x4d9836
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4d95ac
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d956e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:170__:_CloseHandle_failed_r_n
call fcn.004025d0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 1
call fcn.004d8e60
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:171__:_ASOServiceInitialize_error6_r_n
call fcn.004025d0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 1
call fcn.004d8e60
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 6
jmp 0x4d9836
cmp byte [ebp - 0x82d], 0
je 0x4d9609
push 0x25280
push 0
push edi
call fcn.00525d00
mov dword [edi + 0x25074], esi
lea ecx, [ebp - 0x82c]
call fcn.004e0f90
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 8
cmovae eax, dword [ebp - 0x82c]
push eax
push 0x41
lea eax, [edi + 2]
push eax
call fcn.00523667
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x82c]
call fcn.004040c0
mov dword [ebp - 0x84c], esi
lea eax, [ebp - 0x84c]
push eax
call fcn.004e1470
mov dword [eax], ebx
mov dword [ebp - 0x834], esi
lea eax, [ebp - 0x834]
push eax
call fcn.004e1550
mov dword [eax], edi
inc esi
jmp 0x4d93f8
push str.ASOGLOBALSERVICE
push 0x104
push 0x648668
call fcn.00523667
push 0x58d0e4
push 0x104
push 0x648460
call fcn.00523667
add esp, 0x18
lea ecx, [ebp - 0x900]
call fcn.004e7480
lea esi, [ebp - 0x900]
xor ecx, ecx
test al, al
cmove esi, ecx
mov dword [ebp - 0x840], ecx
mov byte [ebp - 0x82d], cl
lea ecx, [ebp - 0x82d]
call fcn.004e7080
push 0
push 0
push 0
push 0x4dc7c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x840], eax
call fcn.004e7380
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp dword [ebp - 0x840], 0
jne 0x4d971e
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:212__:_ASOServiceInitialize_error7_r_n
lea ecx, [ebp - 0x894]
call fcn.004025d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x880], 0x10
jb 0x4d96ea
push dword [ebp - 0x894]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x880], 0xf
mov dword [ebp - 0x884], 0
mov byte [ebp - 0x894], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 7
jmp 0x4d9836
lea eax, [ebp - 0x840]
push eax
call fcn.004e13f0
mov dword [eax], 1
mov eax, dword [ebp + 0xc]
mov dword [0x64887c], eax
mov byte [0x648253], 1
mov eax, dword [ebp + 0x10]
mov byte [0x648252], al
push str.INFO______:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:229__:_ASOServiceInitialize_END_r_n
lea ecx, [ebp - 0x8ac]
call fcn.004025d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x898], 0x10
jb 0x4d9772
push dword [ebp - 0x8ac]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x898], 0xf
mov dword [ebp - 0x89c], 0
mov byte [ebp - 0x8ac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
xor eax, eax
jmp 0x4d9836
push str.ERROR_____:_4.1.47_:_ASOServiceInitialize_..dll_asodll.cpp:131__:_ASOServiceInitialize_error3_r_n
lea ecx, [ebp - 0x8c4]
call fcn.004025d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8b0], 0x10
jb 0x4d97ce
push dword [ebp - 0x8c4]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x8b0], 0xf
mov dword [ebp - 0x8b4], 0
mov byte [ebp - 0x8c4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.004e12c0
mov eax, 3
jmp 0x4d9836
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret