Function at 0x6826e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72f120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.005b3190
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0
call fcn.005b3190
push str.LightColor
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x14]
push ecx
movzx ecx, byte [esi + 0x10c]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 2
call fcn.00413660
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
mov byte [esp + 0x74], 1
call fcn.005e5c20
test bl, bl
jne 0x682ba9
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 4]
xor edi, edi
call fcn.005ed530
test eax, eax
je 0x6827cf
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed530
mov edi, dword [eax + 0x48]
test edi, edi
je 0x6827cf
mov eax, dword [esi + 4]
push eax
mov ecx, edi
call fcn.00605bf0
mov dword [esi + 0x14c], eax
push str.LightNode
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov ecx, dword [0x7a3a28]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x18]
push edx
movzx edx, byte [esi + 0x10c]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x80], 3
call int.00413270
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
mov byte [esp + 0x74], 1
call fcn.005e5c20
test bl, bl
je 0x682835
push 0x743318
lea ecx, [esp + 0x1c]
call fcn.005e5140
mov eax, dword [esi]
push 1
push 0xff
mov ecx, esi
call dword [eax + 0x98]
mov ebp, eax
test ebp, ebp
je 0x6828ca
mov eax, dword [esi + 0x14c]
test eax, eax
jne 0x682b85
push 0
push 0
push str.placeablelight
push str.fx_placeable01
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00449cc0
add esp, 0x10
test eax, eax
mov dword [esi + 0x14c], eax
jne 0x6828fe
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call fcn.005e5c20
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x74ef54
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov ecx, dword [0x7a3a28]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x80], 4
call int.00413430
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.005e5c20
push str.GREEN
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x48]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 5
call int.00413430
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.005e5c20
push str.BLUE
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0x48]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 6
call int.00413430
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.005e5c20
push str.LightOffsetX
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esi + 0x10c]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 7
call int.00413430
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
mov byte [esp + 0x74], 1
call fcn.005e5c20
test bl, bl
je 0x682a38
mov dword [esp + 0x34], 0
push str.LightOffsetY
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x38]
push ecx
movzx ecx, byte [esi + 0x10c]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 8
call int.00413430
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
mov byte [esp + 0x74], 1
call fcn.005e5c20
test bl, bl
je 0x682a98
mov dword [esp + 0x38], 0
push str.LightOffsetZ
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
movzx ecx, byte [esi + 0x10c]
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 9
call int.00413430
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x28]
inc bl
mov byte [esp + 0x74], 1
call fcn.005e5c20
test bl, bl
je 0x682af8
mov dword [esp + 0x3c], 0x40400000
mov ecx, dword [esi + 0x14c]
mov edx, dword [ecx]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x44]
push eax
push str.root
call dword [edx + 0xa0]
fld dword [esp + 0x48]
fadd dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
fld dword [esp + 0x44]
mov ecx, dword [esi + 0x14c]
fadd dword [esp + 0x38]
mov edx, dword [ecx]
fld dword [esp + 0x40]
sub esp, 0x10
fadd dword [esp + 0x44]
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x6c]
mov dword [eax + 4], ebx
fstp dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov dword [eax + 8], ebx
fstp dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [eax + 0xc], ebx
fstp dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x4c]
push str.root
mov dword [eax + 8], ebx
call dword [edx + 0x9c]
mov ecx, dword [esi + 0x14c]
mov edx, dword [ecx]
push 0
push str.root
push ebp
call dword [edx + 0x50]
test edi, edi
je 0x682ba9
mov esi, dword [esi + 4]
push 0
push esi
mov ecx, edi
call fcn.00605b50
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret