Function at 0x4a03a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e8dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64a000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
mov dword [esp + 0x30], eax
or ebp, 0xffffffff
mov dword [eax], 0x51a640
mov eax, dword [ecx]
test eax, eax
je 0x4a03f3
cmp eax, ebp
je 0x4a03fc
mov eax, ebp
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x4a03fc
push ecx
call fcn.004bee90
add esp, 4
cmp dword [0x64eac8], 0xfffffffe
jg 0x4a0409
xor ebx, ebx
jmp 0x4a0426
call fcn.004a01e0
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4a042e
mov ecx, ebx
call fcn.00424400
or ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
cmp dword [0x64eacc], 0xfffffffe
mov dword [esp + 0x50], 0
jg 0x4a0447
xor edi, edi
mov dword [esp + 0x28], edi
jmp 0x4a0452
call fcn.004a0110
mov edi, eax
mov dword [esp + 0x28], eax
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push eax
call fcn.0049ea10
add esp, 8
mov eax, dword [edi]
mov byte [esp + 0x50], 1
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x4a064e
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [edi]
push esi
mov eax, dword [ecx + 8]
add eax, ebx
mov edi, dword [ecx + eax*4 + 0x10]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.0049f910
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4a05e7
mov edx, dword [esi + 0xc]
lea eax, [ebp*8]
sub eax, ebp
mov ecx, dword [edx + 0xc]
cmp ecx, dword [edx + 8]
jne 0x4a0540
lea edx, [eax*2 + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], edx
movzx ecx, byte [eax + edx + 1]
movzx eax, byte [eax + edx]
mov edx, 0x100
imul ax, dx
add cx, ax
movzx eax, cx
shr eax, 1
xor eax, dword [esi + 0x10]
and eax, 1
xor dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 1
jne 0x4a0538
lea eax, [esi + 0x18]
mov ecx, edi
push eax
push ebp
call fcn.0049ebe0
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 4]
movzx ecx, byte [eax + edx + 1]
movzx eax, byte [eax + edx]
mov edx, 0x100
imul ax, dx
add cx, ax
movzx eax, cx
movzx eax, al
add eax, eax
xor eax, dword [esi + 0x10]
and eax, 2
xor dword [esi + 0x10], eax
jmp 0x4a0619
and eax, 0xfffffffd
jmp 0x4a0601
lea ecx, [eax*2 + 4]
mov eax, dword [edi + 4]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, 0x100
imul ax, cx
add dx, ax
movzx eax, dx
shr eax, 1
xor eax, dword [esi + 0x10]
test al, 1
je 0x4a0619
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x20]
push eax
call fcn.0041e8b0
mov eax, dword [eax]
movdqa xmm0, xmmword [0x4eba40]
mov byte [esp + 0x50], 2
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [esp + 0x44], 0x4eb49c
push ecx
lea eax, [esp + 0x38]
push str.QResourceInfo:_Resource___s__has_both_data_and_children_
push eax
movdqu xmmword [esp + 0x40], xmm0
call fcn.00413320
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [esp + 0x50], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x4a05d8
cmp ecx, 0xffffffff
je 0x4a0619
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4a0619
mov eax, dword [esp + 0x20]
push 4
push 1
push eax
call fcn.00413640
add esp, 0xc
jmp 0x4a0619
push 0
push dword [esp + 0x5c]
mov ecx, edi
call fcn.004a07c0
test al, al
je 0x4a0632
mov eax, dword [esi + 0x10]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov ecx, 1
lea eax, [edi + 0x10]
lock xadd dword [eax], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
call fcn.0046a550
mov edi, dword [esp + 0x28]
inc ebx
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x4a0480
mov ebx, dword [esp + 0x14]
or ebp, 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 8]
mov eax, dword [esp + 0x18]
setne cl
mov byte [esp + 0x58], cl
mov edx, dword [eax]
test edx, edx
je 0x4a0680
cmp edx, 0xffffffff
je 0x4a0691
lock xadd dword [eax], ebp
dec ebp
setne al
test al, al
jne 0x4a0691
mov eax, dword [esp + 0x18]
push 4
push 2
push eax
call fcn.00413640
mov cl, byte [esp + 0x64]
add esp, 0xc
test bl, 1
je 0x4a06a6
and ebx, 0xfffffffe
mov ecx, ebx
call fcn.004247e0
mov al, byte [esp + 0x58]
jmp 0x4a06a8
mov al, cl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4