Function at 0x1002be4b
Capabilities:
Set current directory

Disassembly:
mov eax, 0x1012b856
call fcn.1011695c
mov eax, 0x1714
call fcn.10115c40
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
call fcn.10014696
mov ecx, ebx
call fcn.10014218
mov esi, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.1001c2c6
push esi
mov ecx, ebx
call fcn.1001445e
push esi
mov ecx, ebx
call fcn.1001941a
push 0x109b2040
mov dword [ebx + 0x205c], esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x9f0]
call fcn.1010f720
and dword [ebp - 4], 0
cmp esi, 0x9c41
jae 0x1002bec5
cmp esi, 0xa027
jbe 0x1002bed9
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x9f0]
push eax
push esi
call fcn.10042afb
test al, al
jne 0x1002bee3
mov esi, 0x80004005
jmp 0x1002d4a8
push 0x10
call fcn.10115900
pop ecx
mov dword [ebp - 0x50], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x1002bf02
mov ecx, eax
call fcn.1000fa4c
mov dword [ebp - 0x14], eax
jmp 0x1002bf06
and dword [ebp - 0x14], 0
and byte [ebp - 4], 0
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x1d4]
push str.resourcemap_
push eax
call fcn.1010fb80
add esp, 0xc
push eax
lea ecx, [ebp - 0x9f0]
mov byte [ebp - 4], 2
call fcn.1010f4f0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
call fcn.1010f440
lea ecx, [ebp - 0x9f0]
call fcn.1010f460
mov ecx, dword [ebp - 0x14]
push eax
call fcn.1000fb12
test eax, eax
jne 0x1002bed9
push edi
lea ecx, [ebx + 0x1d1c]
call fcn.1010f460
mov ecx, dword [ebp - 0x14]
push eax
push str.path
push 0x10139adc
call fcn.1000e70d
fldz
fstp dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
fldz
lea eax, [ebx + 0x2094]
fstp dword [ebp - 0x2c]
mov edi, eax
fldz
lea esi, [ebp - 0x30]
push eax
fstp dword [ebp - 0x28]
push str.ClearColorR
fldz
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x10139adc
push esi
call fcn.1000e60d
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x2098]
push eax
push str.ClearColorG
push esi
call fcn.1000e60d
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x209c]
push eax
push str.ClearColorB
push esi
call fcn.1000e60d
fldz
fstp dword [ebp - 0x30]
lea eax, [ebx + 0x20a4]
fldz
mov edi, eax
fstp dword [ebp - 0x2c]
lea esi, [ebp - 0x30]
fldz
push eax
push str.ColorR
fstp dword [ebp - 0x28]
fldz
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov esi, str.AMBIENTLIGHT
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x20a8]
push eax
push str.ColorG
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x20ac]
push eax
push str.ColorB
push esi
mov ecx, edi
call fcn.1000e60d
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
lea eax, [ebx + 0x20a4]
push eax
call dword [edx + 0x1f0]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
lea eax, [ebx + 0x1366]
push eax
push eax
call dword [edx + 0x1fc]
lea eax, [ebx + 0x1c54]
push eax
push str.tiletexturerange
mov esi, str.TERRAIN
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c58]
push eax
push str.detailtexture
push esi
mov ecx, edi
call fcn.1000e7bd
push str.resource_fxENVTEX.hpk
lea ecx, [ebp - 0x1108]
call fcn.1010f770
mov ecx, dword [ebx + 0x1cf8]
push 1
lea eax, [ebp - 0x1108]
push eax
mov byte [ebp - 4], 3
call fcn.101157b0
lea ecx, [ebp - 0x1720]
call fcn.1001129a
lea ecx, [ebp - 0x171b]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1720], 0x36
call fcn.1010f460
push eax
push str.sunfile
mov esi, 0x10139a40
push esi
mov ecx, edi
call fcn.1000e70d
lea eax, [ebp - 0x15fc]
push eax
push str.scaleX
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x15f8]
push eax
push str.scaleY
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x15f4]
push eax
push str.scaleZ
push esi
mov ecx, edi
call fcn.1000e60d
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x1720]
push edx
lea edx, [ebx + 0x167c]
push edx
call dword [eax + 0x3c]
lea ecx, [ebp - 0x1494]
call fcn.1001129a
lea ecx, [ebp - 0x148f]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1494], 0x37
call fcn.1010f460
push eax
push str.moonfile
mov esi, str.MOON
push esi
mov ecx, edi
call fcn.1000e70d
lea eax, [ebp - 0x1370]
push eax
push str.scaleX
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x136c]
push eax
push str.scaleY
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x1368]
push eax
push str.scaleZ
push esi
mov ecx, edi
call fcn.1000e60d
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x1494]
push edx
lea edx, [ebx + 0x1680]
push edx
call dword [eax + 0x3c]
lea ecx, [ebp - 0x1008]
call fcn.1001129a
lea eax, [ebp - 0xf00]
push eax
push str.isenablefog
mov esi, 0x10139a04
push esi
mov ecx, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x1008], 0x38
call fcn.1000e50d
lea eax, [ebp - 0xe94]
push eax
push str.isvertexfog
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0xe98]
push eax
push str.israngebasedfog
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x60]
push eax
push str.colorR
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x90]
push eax
push str.colorG
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x5c]
push eax
push str.colorB
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xe50]
push eax
push str.start
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xe4c]
push eax
push 0x101399dc
push esi
mov ecx, edi
call fcn.1000e60d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
fld1
mov ecx, dword [ebx + 0x14]
fstp dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xe90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x1008]
push edx
lea edx, [ebx + 0x17ac]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
lea ecx, [ebp - 0xc7c]
call fcn.1001129a
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0xc77]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [ebp - 0xc7c], 0x29
call fcn.10042a97
mov eax, dword [ebx + 0x1c50]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xab0], eax
mov eax, dword [ebx + 0x1c54]
mov dword [ebp - 0xaac], eax
lea eax, [ebp - 0x20]
push eax
push str.diffuseR
mov esi, str.TERRAIN_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.diffuseG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.diffuseB
push esi
call fcn.1000e50d
fld dword [0x101374e4]
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xb04]
fmul st(1)
lea eax, [ebp - 0x20]
fild dword [ebp - 0x1c]
push eax
push str.ambientR
fmul st(2)
fild dword [ebp - 0x20]
fmul st(3)
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.TERRAIN_MATERIAL
push esi
call fcn.1000e50d
lea eax, [ebp - 0x1c]
push eax
push str.ambientG
push esi
mov ecx, dword [ebp - 0x14]
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.ambientB
push esi
call fcn.1000e50d
fld dword [0x101374e4]
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xaf4]
fmul st(1)
lea eax, [ebp - 0x20]
fild dword [ebp - 0x1c]
push eax
push str.specularR
fmul st(2)
fild dword [ebp - 0x20]
fmul st(3)
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.TERRAIN_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.specularG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.specularB
push esi
call fcn.1000e50d
fld dword [0x101374e4]
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xae4]
fmul st(1)
lea eax, [ebp - 0x20]
fild dword [ebp - 0x1c]
push eax
push str.emissiveR
fmul st(2)
fild dword [ebp - 0x20]
fmul st(3)
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.TERRAIN_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.emissiveG
push esi
call fcn.1000e50d
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push str.emissiveB
push esi
call fcn.1000e50d
fld dword [0x101374e4]
fild dword [ebp - 0x18]
mov ecx, dword [ebx + 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xad4]
fmul st(1)
lea eax, [ebx + 0x1166]
fild dword [ebp - 0x1c]
push eax
lea eax, [ebx + 0x1d1c]
push eax
fmul st(2)
fild dword [ebp - 0x20]
fmul st(3)
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1fc]
mov edi, dword [ebp - 0x14]
fldz
lea eax, [ebp - 0x38]
fstp dword [ebp - 0x38]
push eax
fldz
push str.SectionUVGridFor256
fstp dword [ebp - 0x4c]
mov esi, str.TERRAIN
fldz
push esi
mov ecx, edi
fstp dword [ebp - 0x44]
fldz
fstp dword [ebp - 0x3c]
call fcn.1000e60d
test eax, eax
je 0x1002c510
fldz
fstp dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push eax
push str.SectionUVAdjustFor256
push esi
mov ecx, edi
call fcn.1000e60d
test eax, eax
je 0x1002c52a
fldz
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
push eax
push str.SectionUVGridFor512
push esi
mov ecx, edi
call fcn.1000e60d
test eax, eax
je 0x1002c544
fldz
fstp dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push eax
push str.SectionUVAdjustFor512
push esi
mov ecx, edi
call fcn.1000e60d
test eax, eax
je 0x1002c55e
fldz
fstp dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa80], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xab4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xac0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xabc], eax
lea eax, [ebx + 0x1d1c]
push eax
lea ecx, [ebp - 0xd7c]
call fcn.1010f730
push str.TerrainTex.hpk
lea ecx, [ebp - 0xd7c]
mov byte [ebp - 4], 8
call fcn.1010f8c0
mov ecx, dword [ebx + 0x1cf8]
push 1
lea eax, [ebp - 0xd7c]
push eax
call fcn.101157b0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0xc7c]
push edx
lea esi, [ebx + 0x1794]
push esi
call dword [eax + 0x3c]
lea ecx, [ebp - 0x1d8]
call fcn.10010f61
mov eax, dword [ebx + 0x1668]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x180], eax
mov eax, dword [ebx + 0x1c50]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x1c54]
mov dword [ebp - 0x128], eax
mov al, byte [ebx + 0x1c58]
lea edx, [ebp - 0x1d8]
push edx
push dword [esi]
mov byte [ebp - 0x10c], al
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x8f0]
call fcn.1001129a
lea eax, [ebp - 0xa4]
push eax
push str.PosX
mov esi, str.WATER
push esi
mov ecx, edi
mov byte [ebp - 4], 9
mov dword [ebp - 0x8f0], 0x3a
call fcn.1000e60d
lea eax, [ebp - 0xa0]
push eax
push str.PosY
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x9c]
push eax
push str.PosZ
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x98]
push eax
push str.Width
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x7c]
push eax
push str.Height
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xc4]
push eax
push str.Layer1ColorR
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xc0]
push eax
push str.Layer1ColorG
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xbc]
push eax
push str.Layer1ColorB
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xb8]
push eax
push str.Layer1ColorA
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xb4]
push eax
push str.Layer2ColorR
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xb0]
push eax
push str.Layer2ColorG
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xac]
push eax
push str.Layer2ColorB
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0xa8]
push eax
push str.Layer2ColorA
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x64]
push eax
push str.Layer1FrameTime
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x8c]
push eax
push str.Layer2FrameTime
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x6c]
push eax
push str.Layer1TextureWidth
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x74]
push eax
push str.Layer2TextureWidth
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x84]
push eax
push str.Layer1TextureHeight
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x94]
push eax
push str.Layer2TextureHeight
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x58]
push eax
push str.Layer1FrameNum
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x54]
push eax
push str.Layer2FrameNum
push esi
mov ecx, edi
call fcn.1000e50d
lea ecx, [ebp - 0x8eb]
call fcn.1010f460
push eax
push str.TextureSetFileName
push esi
mov ecx, edi
call fcn.1000e70d
fldz
mov eax, dword [ebp - 0x98]
fstp dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x7c]
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x7e4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x7cc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xc4]
lea edi, [ebp - 0x778]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x64]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xb4]
lea edi, [ebp - 0x768]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x738], eax
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x734], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6f4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x728], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6f8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x77c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x780], eax
lea eax, [ebp - 0xa4]
push eax
push str.PosX
push str.WATER
mov ecx, edi
call fcn.1000e60d
test eax, eax
jne 0x1002c8be
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x8f0]
push edx
lea edx, [ebx + 0x1830]
push edx
call dword [eax + 0x3c]
jmp 0x1002c8c5
or dword [ebx + 0x1830], 0xffffffff
lea ecx, [ebp - 0x664]
call fcn.1001129a
lea eax, [ebp - 0x45]
push eax
push 0x10139778
mov esi, 0x10138274
push esi
mov ecx, edi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x664], 0x35
call fcn.1000e7bd
lea eax, [ebp - 0x68]
push eax
push str.Texture1USpeed
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x70]
push eax
push str.Texture1VSpeed
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x78]
push eax
push str.Texture2USpeed
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x80]
push eax
push str.Texture2VSpeed
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x88]
push eax
push str.NumOfStar
push esi
mov ecx, edi
call fcn.1000e50d
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x65f]
mov dword [ebp - 0x474], eax
call fcn.1010f460
push eax
push 0x10139728
push esi
mov ecx, edi
call fcn.1000e70d
test eax, eax
jne 0x1002caaf
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x664]
push edx
lea edx, [ebx + 0x179c]
push edx
call dword [eax + 0x3c]
fld1
fstp dword [ebp - 0x30]
lea eax, [ebp - 0x30]
fld1
push eax
fstp dword [ebp - 0x2c]
push str.StarMinR
fld1
push esi
mov ecx, edi
fstp dword [ebp - 0x28]
mov dword [ebp - 0x664], 0x34
fld1
fstp dword [ebp - 0x24]
call fcn.1000e60d
test eax, eax
je 0x1002c9eb
fld1
fstp dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push str.StarMinG
push esi
mov ecx, edi
call fcn.1000e60d
test eax, eax
je 0x1002ca05
fld1
fstp dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push str.StarMinB
push esi
mov ecx, edi
call fcn.1000e60d
test eax, eax
je 0x1002ca1f
fld1
fstp dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x4dc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30]
push eax
movsd dword es:[edi], dword [esi]
push str.StarMaxR
mov esi, 0x10138274
push esi
call fcn.1000e60d
test eax, eax
je 0x1002ca4c
fld1
fstp dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push str.StarMaxG
push esi
call fcn.1000e60d
test eax, eax
je 0x1002ca67
fld1
fstp dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
push str.StarMaxB
push esi
call fcn.1000e60d
test eax, eax
je 0x1002ca82
fld1
fstp dword [ebp - 0x28]
mov ecx, dword [ebx + 0x14]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x4ec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x664]
push edx
lea edx, [ebx + 0x17a4]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov edi, dword [ebp - 0x14]
mov esi, 0x10138274
jmp 0x1002cab6
or dword [ebx + 0x179c], 0xffffffff
lea ecx, [ebp - 0x65f]
call fcn.1010f460
push eax
push str.SkyTerrain
push esi
mov ecx, edi
call fcn.1000e70d
test eax, eax
jne 0x1002cb1d
lea eax, [ebp - 0x34]
push eax
push str.SkyTerrainHeight
push esi
mov ecx, edi
mov dword [ebp - 0x664], 0x3b
call fcn.1000e60d
test eax, eax
jne 0x1002cafd
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4a0], eax
jmp 0x1002cb05
fldz
fstp dword [ebp - 0x4a0]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x664]
push edx
lea edx, [ebx + 0x17a0]
push edx
call dword [eax + 0x3c]
jmp 0x1002cb24
or dword [ebx + 0x17a0], 0xffffffff
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
push 0x101396bc
mov esi, str.FLOCKING
push esi
mov ecx, edi
call fcn.1000e50d
test eax, eax
jne 0x1002cc6c
and dword [ebp - 0x34], eax
cmp dword [ebp - 0x40], eax
jle 0x1002cc6c
jmp 0x1002cb59
mov esi, str.FLOCKING
lea ecx, [ebp - 0x1d4]
call fcn.1010f720
push dword [ebp - 0x34]
lea eax, [ebp - 0x1d4]
push str.MODEL__d
push eax
mov byte [ebp - 4], 0xb
call fcn.1010f490
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1010f460
push eax
push esi
mov ecx, edi
call fcn.1000e50d
push dword [ebp - 0x34]
lea eax, [ebp - 0x1d4]
push 0x101396a0
push eax
call fcn.1010f490
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1010f460
push eax
push esi
mov ecx, edi
call fcn.1000e60d
push dword [ebp - 0x34]
lea eax, [ebp - 0x1d4]
push 0x1013969c
push eax
call fcn.1010f490
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1010f460
push eax
push esi
mov ecx, edi
call fcn.1000e60d
push dword [ebp - 0x34]
lea eax, [ebp - 0x1d4]
push 0x10139698
push eax
call fcn.1010f490
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1010f460
push eax
push esi
mov ecx, edi
call fcn.1000e60d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xd4], eax
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebx + 0x214c]
movsd dword es:[edi], dword [esi]
call fcn.10026461
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0xa
call fcn.1010f440
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x14]
jl 0x1002cb54
lea ecx, [ebp - 0x2d8]
call fcn.1010f720
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea esi, [ebx + 0x1d1c]
push esi
push esi
mov byte [ebp - 4], 0xc
call dword [eax + 0x1fc]
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp + 8]
call fcn.10042c27
lea ecx, [ebp - 0x2d8]
call fcn.1010f450
cmp eax, 2
jle 0x1002cd25
push 0
lea ecx, [ebp - 0x2d8]
call fcn.1010fb40
push 0
lea ecx, [ebp - 0x2d8]
call fcn.1010fb40
push 0
lea ecx, [ebp - 0x2d8]
call fcn.1010fb40
push 0x10139694
lea ecx, [ebp - 0x2d8]
call fcn.1010f8c0
push 0x10137488
lea ecx, [ebp - 0x2d8]
call fcn.1010f5e0
test al, al
je 0x1002cd25
push 0x101374ba
lea ecx, [ebp - 0x2d8]
call fcn.1010f5e0
test al, al
je 0x1002cd25
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x2d8]
push edx
push 0x182ba
push 1
call dword [eax + 8]
lea ecx, [ebp - 0x3d8]
call fcn.1010f720
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x3d8]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.10042c40
push 0x10137488
lea ecx, [ebp - 0x3d8]
call fcn.1010f5e0
test al, al
je 0x1002cdba
push 0x101374ba
lea ecx, [ebp - 0x3d8]
call fcn.1010f5e0
test al, al
je 0x1002cdba
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x1d4]
push 0x10138a38
push eax
call fcn.1010fb80
add esp, 0xc
push eax
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 0xe
call fcn.1010f4f0
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0xd
call fcn.1010f440
mov ecx, dword [ebx + 0x20b8]
lea eax, [ebp - 0x3d8]
push eax
call fcn.100addee
lea ecx, [ebp - 0x1208]
call fcn.1010f720
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x1208]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.10042ac9
lea eax, [ebp - 0x1208]
push eax
push esi
mov ecx, ebx
call fcn.10014ff1
mov ecx, dword [ebx + 0x1cf8]
lea eax, [ebp - 0x1108]
push eax
call fcn.10115570
mov ecx, dword [ebx + 0x1cf8]
lea eax, [ebp - 0xd7c]
push eax
call fcn.10115570
lea eax, [ebx + 0x1bf8]
push eax
push 0x10137608
mov esi, str.CHARACTERLIGHT
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x20]
push eax
push str.diffuseR
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x1c]
push eax
push str.diffuseG
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x18]
push eax
push str.diffuseB
push esi
mov ecx, edi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1bfc]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.ambientR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.CHARACTERLIGHT
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.ambientG
push esi
call fcn.1000e50d
lea eax, [ebp - 0x18]
push eax
push str.ambientB
push esi
mov ecx, dword [ebp - 0x14]
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1c0c]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.specularR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.CHARACTERLIGHT
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.specularG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.specularB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
lea edi, [ebx + 0x1c1c]
lea esi, [ebp - 0x30]
fmul dword [0x101374e4]
lea eax, [ebx + 0x1c2c]
fild dword [ebp - 0x1c]
push eax
push str.range
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov esi, str.CHARACTERLIGHT
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c30]
push eax
push str.smallangle
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c30]
fld dword [eax]
mov ecx, edi
fmul dword [0x101375f8]
fstp dword [eax]
lea eax, [ebx + 0x1c34]
push eax
push str.largeangle
push esi
call fcn.1000e60d
lea eax, [ebx + 0x1c34]
fld dword [eax]
mov ecx, edi
fmul dword [0x101375f8]
fstp dword [eax]
lea eax, [ebx + 0x1c38]
push eax
push str.positionX
push esi
call fcn.1000e60d
lea eax, [ebx + 0x1c3c]
push eax
push str.positionY
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c40]
push eax
push 0x10138a68
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c44]
push eax
push str.directionX
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c48]
push eax
push str.directionY
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebx + 0x1c4c]
push eax
push str.directionZ
push esi
mov ecx, edi
call fcn.1000e60d
lea eax, [ebp - 0x20]
push eax
push str.diffuseR
mov esi, str.CHAR_MATERIAL
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x1c]
push eax
push str.diffuseG
push esi
mov ecx, edi
call fcn.1000e50d
lea eax, [ebp - 0x18]
push eax
push str.diffuseB
push esi
mov ecx, edi
call fcn.1000e50d
fild dword [ebp - 0x18]
lea edi, [ebx + 0x1924]
lea esi, [ebp - 0x30]
fmul dword [0x101374e4]
lea eax, [ebp - 0x20]
fild dword [ebp - 0x1c]
push eax
push str.ambientR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.CHAR_MATERIAL
push esi
mov ecx, dword [ebp - 0x14]
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.ambientG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.ambientB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1934]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.specularR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.CHAR_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.specularG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.specularB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1954]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.emissiveR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.CHAR_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.emissiveG
push esi
call fcn.1000e50d
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push str.emissiveB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1944]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.diffuseR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.OBJ_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.diffuseG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.diffuseB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1884]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.ambientR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.OBJ_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.ambientG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.ambientB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
fmul dword [0x101374e4]
fild dword [ebp - 0x1c]
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x1894]
lea esi, [ebp - 0x30]
fmul dword [0x101374e4]
lea eax, [ebp - 0x20]
push eax
push str.specularR
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.OBJ_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.specularG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.specularB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x18b4]
fmul dword [0x101374e4]
lea esi, [ebp - 0x30]
fild dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push str.emissiveR
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.OBJ_MATERIAL
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push str.emissiveG
push esi
call fcn.1000e50d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.emissiveB
push esi
call fcn.1000e50d
fild dword [ebp - 0x18]
lea edi, [ebx + 0x18a4]
lea esi, [ebp - 0x30]
fmul dword [0x101374e4]
fild dword [ebp - 0x1c]
fmul dword [0x101374e4]
fild dword [ebp - 0x20]
fmul dword [0x101374e4]
fstp dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
push esi
mov ecx, ebx
call fcn.1001270d
test esi, esi
pop edi
je 0x1002d3eb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [ebx + 0x205c], 0x9ca4
jne 0x1002d401
mov dword [ebx + 0x1968], 0x3e800000
lea ecx, [ebp - 0x1208]
mov byte [ebp - 4], 0xd
call fcn.1010f440
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 0xc
call fcn.1010f440
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xa
call fcn.1010f440
lea ecx, [ebp - 0x65f]
mov byte [ebp - 4], 9
call fcn.1010f440
lea ecx, [ebp - 0x8eb]
mov byte [ebp - 4], 8
call fcn.1010f440
lea ecx, [ebp - 0xd7c]
mov byte [ebp - 4], 7
call fcn.1010f440
lea ecx, [ebp - 0xc77]
mov byte [ebp - 4], 6
call fcn.1010f440
lea ecx, [ebp - 0x1003]
mov byte [ebp - 4], 5
call fcn.1010f440
lea ecx, [ebp - 0x148f]
mov byte [ebp - 4], 4
call fcn.1010f440
lea ecx, [ebp - 0x171b]
mov byte [ebp - 4], 3
call fcn.1010f440
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1108]
call fcn.1010f440
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9f0]
call fcn.1010f440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
pop ebx
call fcn.10115a7a
leave
ret 4