Function at 0x4c86e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x803a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call fcn.004c9020
mov esi, dword [edi]
mov edx, dword [0x9515cc]
lea ebx, [edi + 8]
cmp esi, edx
mov dword [esp + 0x14], edi
mov ebp, ebx
jne 0x4c8726
mov esi, dword [ebx]
jmp 0x4c8744
mov eax, dword [ebx]
cmp eax, edx
je 0x4c8744
mov ecx, dword [eax]
cmp ecx, edx
je 0x4c873a
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x4c8732
mov esi, dword [eax + 8]
lea ebp, [eax + 8]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.007c4c68
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4c87c6
mov eax, dword [edi]
mov dword [eax + 4], ecx
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [ebx]
cmp ecx, eax
jne 0x4c8769
mov dword [esi + 4], ecx
jmp 0x4c877e
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [eax], esi
mov edx, dword [ebx]
mov dword [ebp], edx
mov eax, dword [ebx]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], edi
jne 0x4c878f
mov dword [eax + 4], ecx
jmp 0x4c879d
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x4c879a
mov dword [eax], ecx
jmp 0x4c879d
mov dword [eax + 8], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x14], edi
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x1d0]
mov eax, dword [ecx + 0x1d0]
mov dword [ecx + 0x1d0], edx
mov dword [edi + 0x1d0], eax
mov ecx, edi
jmp 0x4c8851
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
cmp dword [eax + 4], edi
jne 0x4c87dd
mov dword [eax + 4], esi
jmp 0x4c87eb
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x4c87e8
mov dword [eax], esi
jmp 0x4c87eb
mov dword [eax + 8], esi
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
cmp dword [eax], edi
jne 0x4c8823
mov ebp, dword [0x9515cc]
cmp dword [ebx], ebp
jne 0x4c8807
mov ebx, dword [edi + 4]
mov dword [eax], ebx
jmp 0x4c8823
mov ebx, dword [esi]
mov edx, esi
cmp ebx, ebp
je 0x4c881d
mov eax, ebx
mov edx, eax
mov eax, dword [edx]
cmp eax, ebp
jne 0x4c8811
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [edx + 4]
cmp dword [ebp + 8], edi
jne 0x4c8851
mov ebx, dword [0x9515cc]
mov eax, dword [edi]
cmp eax, ebx
jne 0x4c883c
mov edx, dword [edi + 4]
jmp 0x4c884e
mov eax, dword [esi + 8]
mov edx, esi
cmp eax, ebx
je 0x4c884e
mov edx, eax
mov eax, dword [edx + 8]
cmp eax, ebx
jne 0x4c8845
mov dword [ebp + 8], edx
mov eax, dword [ecx + 0x1d0]
mov ebp, dword [esp + 0x10]
mov edi, 1
cmp eax, edi
jne 0x4c8b2a
mov eax, dword [ebp + 4]
cmp esi, dword [eax + 4]
je 0x4c8b24
cmp dword [esi + 0x1d0], edi
jne 0x4c8b24
mov eax, dword [esi + 4]
xor ebx, ebx
cmp esi, dword [eax]
jne 0x4c8950
mov eax, dword [eax + 8]
cmp dword [eax + 0x1d0], ebx
jne 0x4c88eb
mov dword [eax + 0x1d0], edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1d0], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x9515cc]
je 0x4c88bf
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c88d2
mov dword [edx + 4], ecx
jmp 0x4c88e0
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x4c88dd
mov dword [edx], ecx
jmp 0x4c88e0
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x1d0], edi
jne 0x4c8904
mov edx, dword [eax + 8]
cmp dword [edx + 0x1d0], edi
je 0x4c89cb
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1d0], edi
jne 0x4c8a00
mov edx, dword [eax]
mov dword [edx + 0x1d0], edi
mov ecx, dword [eax]
mov dword [eax + 0x1d0], ebx
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x9515cc]
je 0x4c8936
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c89e5
mov dword [edx + 4], ecx
jmp 0x4c89f4
mov eax, dword [eax]
cmp dword [eax + 0x1d0], ebx
jne 0x4c89ae
mov dword [eax + 0x1d0], edi
mov eax, dword [esi + 4]
mov dword [eax + 0x1d0], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x9515cc]
je 0x4c8981
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c8994
mov dword [edx + 4], ecx
jmp 0x4c89a3
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x4c89a1
mov dword [edx + 8], ecx
jmp 0x4c89a3
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1d0], edi
jne 0x4c8a6b
mov edx, dword [eax]
cmp dword [edx + 0x1d0], edi
jne 0x4c8a6b
mov dword [eax + 0x1d0], ebx
mov eax, dword [ebp + 4]
mov esi, dword [esi + 4]
cmp esi, dword [eax + 4]
jne 0x4c8874
jmp 0x4c8b24
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x4c89f2
mov dword [edx + 8], ecx
jmp 0x4c89f4
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1d0]
mov dword [eax + 0x1d0], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1d0], edi
mov edx, dword [eax + 8]
mov dword [edx + 0x1d0], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x9515cc]
je 0x4c8a39
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c8a51
mov dword [edx + 4], ecx
mov dword [ecx], eax
jmp 0x4c8b21
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x4c8a61
mov dword [edx], ecx
mov dword [ecx], eax
jmp 0x4c8b21
mov dword [edx + 8], ecx
mov dword [ecx], eax
jmp 0x4c8b21
mov ecx, dword [eax]
cmp dword [ecx + 0x1d0], edi
jne 0x4c8ac4
mov edx, dword [eax + 8]
mov dword [edx + 0x1d0], edi
mov ecx, dword [eax + 8]
mov dword [eax + 0x1d0], ebx
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x9515cc]
je 0x4c8a99
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c8aac
mov dword [edx + 4], ecx
jmp 0x4c8aba
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x4c8ab7
mov dword [edx], ecx
jmp 0x4c8aba
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1d0]
mov dword [eax + 0x1d0], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1d0], edi
mov edx, dword [eax]
mov dword [edx + 0x1d0], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x9515cc]
je 0x4c8afc
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 4]
cmp eax, dword [edx + 4]
jne 0x4c8b0f
mov dword [edx + 4], ecx
jmp 0x4c8b1e
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x4c8b1c
mov dword [edx + 8], ecx
jmp 0x4c8b1e
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov dword [esi + 0x1d0], edi
lea ecx, [esp + 0x1c]
call fcn.007c4d04
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0x10]
mov dword [esp + 0x18], ebp
xor ecx, ecx
lea esi, [ebp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], esi
lea eax, [esi + 0x190]
cmp eax, ecx
je 0x4c8b58
lea ecx, [eax + 4]
push edi
call fcn.00404f20
lea eax, [esi + 0x17c]
test eax, eax
je 0x4c8b6d
lea ecx, [eax + 4]
jmp 0x4c8b6f
xor ecx, ecx
push 1
call fcn.00404f20
lea edi, [esi + 0xd0]
mov dword [esp + 0x20], edi
lea ecx, [edi + 0x94]
mov byte [esp + 0x2c], 5
call fcn.0062b7e0
lea ecx, [edi + 0x80]
mov byte [esp + 0x2c], 4
call fcn.004c7730
push 1
lea ecx, [edi + 0x30]
call fcn.00404c40
push 1
lea ecx, [edi + 0x20]
call fcn.00404c40
lea edi, [esi + 0x28]
mov dword [esp + 0x20], edi
lea ecx, [edi + 0x94]
mov byte [esp + 0x2c], 8
call fcn.0062b7e0
lea ecx, [edi + 0x80]
mov byte [esp + 0x2c], 7
call fcn.004c7730
push 1
lea ecx, [edi + 0x30]
call fcn.00404c40
push 1
lea ecx, [edi + 0x20]
call fcn.00404c40
lea eax, [esi + 0x10]
mov byte [esp + 0x2c], 0
test eax, eax
mov dword [esi], vtable.CFileInfo.0
je 0x4c8c06
lea ecx, [eax + 4]
jmp 0x4c8c08
xor ecx, ecx
call fcn.00403660
xor edi, edi
mov dword [esi], vtable.CItemStateInfo.0
cmp ebp, edi
mov dword [esp + 0x2c], 0xffffffff
je 0x4c8c26
lea esi, [ebp + 4]
jmp 0x4c8c28
xor esi, esi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4c8c70
push eax
mov ecx, esi
call fcn.0040fc90
cmp byte [eax], 0
je 0x4c8c5b
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.0040fc90
cmp byte [eax], 0
je 0x4c8c5b
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.0040fc90
dec byte [eax]
jmp 0x4c8c70
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
add edx, 2
sub eax, 2
push edx
push eax
mov ecx, esi
call fcn.00660570
push ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.007d7349
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 0xc]
pop edi
dec ecx
pop esi
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8