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

Disassembly:
push 0xffffffffffffffff
push 0x6265b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a69d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi], 0x647888
mov dword [esi + 0xf8], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [esi + 0xfc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x100], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], ecx
mov dword [esi + 0x114], edx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x850], ebx
or edx, 0xffffffff
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], edx
mov dword [esi + 0x85c], ebx
mov dword [esi + 0x860], 0x1f4
mov byte [esi + 0x864], 1
mov dword [esi + 0x868], ebx
mov word [esi + 0x870], dx
mov dword [esi + 0x874], ebx
mov byte [esi + 0x878], bl
mov dword [esi + 0x87c], ebx
lea edi, [esi + 0x92c]
mov ecx, 9
xor eax, eax
mov dword [esi + 0x88c], ebx
mov word [esi + 0x890], bx
mov word [esi + 0x892], bx
mov word [esi + 0x894], bx
mov dword [esi + 0x898], ebx
mov dword [esi + 0x89c], ebx
mov word [esi + 0x8a0], bx
mov word [esi + 0x8a2], bx
mov word [esi + 0x8a4], bx
mov byte [esi + 0x8a6], bl
mov byte [esi + 0x90a], bl
mov dword [esi + 0x90c], ebx
mov dword [esi + 0x910], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0x918], ebx
mov word [esi + 0x91c], bx
mov dword [esi + 0x920], ebx
mov byte [esi + 0x928], bl
mov dword [esi + 0x950], ebx
mov byte [esi + 0x954], bl
mov byte [esi + 0x955], bl
mov byte [esi + 0x956], bl
mov word [esi + 0x958], dx
mov dword [esi + 0x95c], edx
mov dword [esi + 0x960], ebx
mov word [esi + 0x964], dx
mov dword [esi + 0x968], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], ebx
lea eax, [esi + 0x148]
mov ecx, 0x29
mov byte [eax], bl
add eax, 0x2c
dec ecx
jne 0x5bc224
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x82c], edx
mov dword [esi + 0x830], ebx
call fcn.004a6bc0
test eax, eax
jne 0x5bc261
mov dword [esi + 0xdc], 1
jmp 0x5bc3d5
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
call fcn.005bc4e0
push 0x1c
call fcn.0061317d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x5bc299
push 0xc639
push str.health.shp
mov ecx, eax
call fcn.0052c250
mov edi, eax
jmp 0x5bc29b
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x18], bl
mov dword [esi + 0x104], edi
je 0x5bc2c4
cmp byte [edi + 0x14], bl
jne 0x5bc2c4
mov ecx, edi
call fcn.0052c560
push edi
call fcn.00613172
add esp, 4
mov dword [esi + 0x104], ebx
push 0x1c
call fcn.0061317d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x18], 2
je 0x5bc2f0
push 0xc62b
push str.itemicon.shp
mov ecx, eax
call fcn.0052c250
mov edi, eax
jmp 0x5bc2f2
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x18], bl
mov dword [esi + 0x108], edi
je 0x5bc31b
cmp byte [edi + 0x14], bl
jne 0x5bc31b
mov ecx, edi
call fcn.0052c560
push edi
call fcn.00613172
add esp, 4
mov dword [esi + 0x108], ebx
push 0x1c
call fcn.0061317d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x18], 3
je 0x5bc347
push 0xc64c
push str.sundial.shp
mov ecx, eax
call fcn.0052c250
mov edi, eax
jmp 0x5bc349
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x18], bl
mov dword [esi + 0x118], edi
je 0x5bc372
cmp byte [edi + 0x14], bl
jne 0x5bc372
mov ecx, edi
call fcn.0052c560
push edi
call fcn.00613172
add esp, 4
mov dword [esi + 0x118], ebx
push 0x1c
call fcn.0061317d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x18], 4
je 0x5bc39e
push 0xcf0b
push str.unithalo.shp
mov ecx, eax
call fcn.0052c250
mov edi, eax
jmp 0x5bc3a0
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x18], bl
mov dword [esi + 0x11c], edi
je 0x5bc3c9
cmp byte [edi + 0x14], bl
jne 0x5bc3c9
mov ecx, edi
call fcn.0052c560
push edi
call fcn.00613172
add esp, 4
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x834], ebx
mov dword [esi + 0x84c], ebx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24