Function at 0x4a55d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564460
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a6124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
call fcn.0047c7a0
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004a77a0
push dword [ebx + 0x28]
call fcn.0050241a
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 0x4a566d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4a5669
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 0x4a5662
push 0
push dword [edx + 4]
call edi
jmp 0x4a566d
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x4a566d
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 0x4a56ba
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4a56b6
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 0x4a56af
push 0
push dword [edx + 4]
call edi
jmp 0x4a56ba
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x4a56ba
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 0x4a5707
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4a5703
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 0x4a56fc
push 0
push dword [edx + 4]
call edi
jmp 0x4a5707
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x4a5707
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 0x4a5754
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4a5750
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 0x4a5749
push 0
push dword [edx + 4]
call edi
jmp 0x4a5754
mov ecx, edx
call dword [ebp - 0x10]
jmp 0x4a5754
mov ecx, edx
call edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x4a577a
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a577a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a577a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4a57a0
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a57a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a57a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4a57c5
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a57c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4a57c5
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