Function at 0x55bc20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e3df0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
call fcn.0041b410
push 0x20
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call fcn.0041b410
mov esi, dword [ebp + 0xc]
push ebx
push ebx
mov ecx, esi
mov eax, dword [esi]
mov byte [esp + 0x48], 1
call dword [eax + 0x18]
mov edi, eax
push edi
call fcn.005b449a
mov edx, dword [esi]
add esp, 4
mov ecx, esi
mov dword [esp + 0xc], eax
push eax
push edi
call dword [edx + 0x18]
mov ecx, dword [ebp + 8]
call fcn.00549f70
mov ecx, esi
mov edi, eax
call fcn.00549f70
cmp eax, edi
mov edi, dword [ebp + 0x10]
je 0x55bd2d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.layer_id
lea ecx, [esp + 0x18]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, esi
call fcn.00549f70
push eax
lea ecx, [esp + 0x24]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55bd1b
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 2
je 0x55bd11
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55bd13
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0041ed60
mov ecx, esi
call fcn.00549fd0
mov ecx, dword [ebp + 8]
test eax, eax
je 0x55bdb6
call fcn.00549fd0
test eax, eax
jne 0x55be34
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.process
mov byte [ecx], al
lea ecx, [esp + 0x18]
call fcn.0041b5c0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
push str.true
lea ecx, [esp + 0x24]
mov byte [edx], 0
call fcn.0041b5c0
cmp dword [edi + 0x20], ebx
jne 0x55bdaa
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 3
je 0x55bda0
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55bda2
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
jmp 0x55be2c
call fcn.00549fd0
test eax, eax
je 0x55be34
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.process
lea ecx, [esp + 0x18]
mov byte [edx], 0
call fcn.0041b5c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
push str.false
lea ecx, [esp + 0x24]
mov byte [eax], 0
call fcn.0041b5c0
cmp dword [edi + 0x20], ebx
jne 0x55be22
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 4
je 0x55be18
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55be1a
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, dword [edi + 0x20]
call fcn.0041ed60
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.ascent
lea ecx, [esp + 0x18]
mov byte [eax], 0
call fcn.0041b5c0
mov esi, dword [esp + 0xc]
fld qword [esi + 0x38]
call fcn.00530020
push eax
lea ecx, [esp + 0x24]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55be9f
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 5
je 0x55be95
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55be97
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.sweep_prec
mov byte [ecx], 0
lea ecx, [esp + 0x18]
call fcn.0041b5c0
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edx
push eax
lea ecx, [esp + 0x28]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0x10
cmp eax, ebx
jne 0x55bf17
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 6
je 0x55bf0d
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55bf0f
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.sweep_dir
mov byte [ecx], 0
lea ecx, [esp + 0x18]
call fcn.0041b5c0
mov edx, dword [esi + 0x2c]
lea eax, [esp + 0x20]
push edx
push 0x66154c
push eax
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55bf8b
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 7
je 0x55bf81
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55bf83
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x20]
push edx
call fcn.0041ed60
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.color
lea ecx, [esp + 0x18]
mov byte [eax], 0
call fcn.0041b5c0
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x20]
push ecx
push str.0x_08X
push edx
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55bfff
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 8
je 0x55bff5
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55bff7
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [edi + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
push str.count
lea ecx, [esp + 0x18]
mov byte [edx], 0
call fcn.0041b5c0
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x20]
push eax
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55c073
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 9
je 0x55c069
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55c06b
xor eax, eax
mov byte [esp + 0x40], 1
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0041ed60
mov cl, byte [0x880da0]
mov esi, 0x880da0
test cl, cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov eax, 0x880da1
je 0x55c0ac
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55c0a5
sub eax, 0x880da0
lea ecx, [esp + 0x2c]
dec eax
mov dword [esp + 0x10], eax
add eax, 0x20
push eax
call fcn.0041b410
mov cl, byte [0x880da0]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x55c0dc
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
test cl, cl
jne 0x55c0d1
mov edx, dword [esp + 0x10]
mov byte [eax], 0
mov dword [esp + 0x34], edx
push str.edges
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0xa
call fcn.0041a280
push 0x880da0
lea ecx, [esp + 0x24]
call fcn.0041a280
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x40]
test eax, eax
jbe 0x55c166
add esi, 0x60
fld qword [esi + 8]
call fcn.00530020
fld qword [esi]
push eax
call fcn.00530020
fld qword [esi - 0x14]
push eax
call fcn.00530020
fld qword [esi - 0x1c]
push eax
call fcn.00530020
push eax
lea eax, [esp + 0x3c]
push str._d__d__d__d_
push eax
call fcn.00427c90
add esp, 0x18
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041b4c0
mov edx, dword [esp + 0xc]
inc ebx
add esi, 0x38
cmp ebx, dword [edx + 0x40]
jb 0x55c116
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0041d160
mov edx, dword [esp + 0xc]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x30]
mov byte [esp + 0x44], 1
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x48], 0
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
push edx
call fcn.005b44c3
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc