Function at 0x42e960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565f40
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
call fcn.00411e90
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004318c0
push dword [ebx + 0x28]
call fcn.00508ea0
mov ecx, dword [ebx + 0x24]
or esi, 0xffffffff
add esp, 4
sub ecx, 0x10
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42e9fd
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42e9f9
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x42e9f2
push 0
push dword [edx + 4]
call edi
jmp 0x42e9fd
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x42e9fd
mov ecx, edx
call edi
mov ecx, dword [ebx + 0x20]
mov eax, esi
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42ea4a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42ea46
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x42ea3f
push 0
push dword [edx + 4]
call edi
jmp 0x42ea4a
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x42ea4a
mov ecx, edx
call edi
mov ecx, dword [ebx + 0x1c]
mov eax, esi
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42ea97
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42ea93
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x42ea8c
push 0
push dword [edx + 4]
call edi
jmp 0x42ea97
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x42ea97
mov ecx, edx
call edi
mov ecx, dword [ebx + 0x18]
mov eax, esi
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42eae4
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42eae0
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x42ead9
push 0
push dword [edx + 4]
call edi
jmp 0x42eae4
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x42eae4
mov ecx, edx
call edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x42eb0a
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42eb0a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x42eb0a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x42eb30
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42eb30
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x42eb30
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 4]
test edi, edi
je 0x42eb55
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42eb55
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x42eb55
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret