Function at 0x47f770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af910
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x58]
push eax
lea ecx, [esp + 0x1c]
push str._sksearchindex.xml
push ecx
mov dword [esp + 0x44], ebp
call fcn.00405e90
mov edx, dword [esp + 0x24]
add esp, 0xc
add esi, 0x5c
push edx
mov ecx, esi
call fcn.0043b430
test eax, eax
je 0x47f95f
mov ecx, esi
call fcn.0043b0e0
push str.pack
mov ecx, esi
call fcn.0043b0f0
test eax, eax
je 0x47f95a
push str.item
mov ecx, esi
call fcn.0043b0f0
test eax, eax
je 0x47f95a
mov edi, dword [esp + 0x40]
mov bl, 2
jmp 0x47f820
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov byte [esp + 0x38], 1
call edx
add eax, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
push eax
push str.name
mov ecx, esi
mov byte [esp + 0x40], bl
call fcn.0043b4f0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x47f99f
lea edx, [esp + 0x40]
push edx
push str.hash
mov ecx, esi
call fcn.0043b4f0
mov eax, dword [esp + 0x40]
cmp dword [eax - 0xc], 0
lea ecx, [esp + 0x40]
je 0x47f9a3
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.004107b0
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x40], 3
call fcn.004143f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f8dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f8fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.item
mov ecx, esi
call fcn.0043b130
test eax, eax
jne 0x47f820
mov ebp, 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
lea ecx, [esp + 0x40]
call fcn.00404930
lea ecx, [esp + 0x14]
call fcn.00404930
jmp 0x47f95f