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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5fcc
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x1d]
test al, al
je 0x45641d
mov eax, dword [esi + 0x304]
test eax, eax
je 0x4566d8
mov dword [eax + 8], 3
mov eax, 0x38
mov ecx, dword [esi + 0x304]
add eax, 4
cmp eax, 0x58
mov dword [eax + ecx - 4], 3
jl 0x456402
jmp 0x4566d8
mov al, byte [esi + 0x1c]
test al, al
mov eax, dword [esi + 0x30c]
je 0x456584
xor ebp, ebp
cmp eax, ebp
je 0x4564d4
mov ecx, 3
push ebp
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x30c]
lea eax, [esi + 0x32c]
mov dword [edx + 4], ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CSingleLock::CSingleLock
lea ecx, [esi + 0x334]
push ebp
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x294], ebp
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
mov byte [esp + 0x290], 1
call sub.MFC42.DLL_CSingleLock::Lock
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CSingleLock::Lock
mov edx, dword [esi + 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x38]
mov dword [esi + 0x30c], ebp
mov dword [esi + 0x310], ebp
mov dword [esi + 0x314], ebp
mov byte [esp + 0x28c], 0
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28c], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
lea eax, [esi + 0x865]
lea ecx, [esp + 0x44]
push eax
push str.CIMCOMEMIPCSRVCONMAP_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x44]
push edx
push ebp
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x10], ebx
je 0x456536
push ebp
push ebp
push ebp
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebp
je 0x456577
cmp dword [edi], 0x34f5e7a0
jne 0x456534
cmp dword [edi + 0x1b8], 0x34f5e7a0
je 0x456536
xor edi, edi
cmp edi, ebp
je 0x456577
lea ebx, [edi + 0x78]
cmp ebp, 8
jge 0x45656a
lea eax, [esi + 0x745]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x45655d
inc ebp
add ebx, 0x28
jmp 0x45653d
cmp ebp, 8
jge 0x45656a
mov dword [edi + ebp*4 + 0x38], 0
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
cmp ebx, ebp
je 0x4566d8
jmp 0x4566d1
xor ebp, ebp
cmp eax, ebp
je 0x456624
lea ecx, [esi + 0x32c]
push ebp
push ecx
lea ecx, [esp + 0x28]
mov dword [eax + 8], 3
call sub.MFC42.DLL_CSingleLock::CSingleLock
lea edx, [esi + 0x334]
mov ebx, 2
push ebp
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x294], ebx
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 3
call sub.MFC42.DLL_CSingleLock::Lock
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esi + 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x14]
mov dword [esi + 0x30c], ebp
mov dword [esi + 0x310], ebp
mov dword [esi + 0x314], ebp
mov byte [esp + 0x28c], bl
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x20]
mov dword [esp + 0x28c], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esi + 0x745]
lea edx, [esp + 0x164]
push ecx
push str.CIMCOMEMIPCSRVCONMAP_s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x164]
push eax
push ebp
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x10], ebx
je 0x45668c
push ebp
push ebp
push ebp
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebp
je 0x4566cd
cmp dword [edi], 0x34f5e7a0
jne 0x45668a
cmp dword [edi + 0x1b8], 0x34f5e7a0
je 0x45668c
xor edi, edi
cmp edi, ebp
je 0x4566cd
lea ebx, [edi + 0x78]
cmp ebp, 8
jge 0x4566c0
lea ecx, [esi + 0x865]
push ebx
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x4566b3
inc ebp
add ebx, 0x28
jmp 0x456693
cmp ebp, 8
jge 0x4566c0
mov dword [edi + ebp*4 + 0x38], 3
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
cmp ebx, ebp
je 0x4566d8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x304]
mov dword [esi + 0x24], 3
test eax, eax
je 0x4566f0
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0x2dc]
test eax, eax
je 0x456701
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
mov dword [esi + 0x2dc], 0
call fcn.00456d50
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret