Function at 0x10018430
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x190
push esi
push edi
mov eax, dword [0x101def00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.100441f0
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x41400000
mov dword [eax + 8], 0x41400000
mov dword [eax + 0xc], 0x41380000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x41a00000
mov dword [eax + 0x18], 0x41a00000
mov dword [eax + 0x1c], 0x3f000000
mov dword [eax + 0x20], 0x3f000000
mov dword [eax + 0x24], 1
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0x3f800000
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0x3f800000
mov dword [eax + 0x38], 0x41a00000
mov dword [eax + 0x3c], 0x4059999a
mov dword [eax + 0x40], 0x413e6666
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0x4089999a
mov dword [eax + 0x4c], 0x40b00000
mov dword [eax + 0x50], 0x40e33333
mov dword [eax + 0x54], 0x3fe66666
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0x409ccccd
mov dword [eax + 0x68], 0x4139999a
mov dword [eax + 0x6c], 0x417e6666
mov dword [eax + 0x70], 0x406ccccd
mov dword [eax + 0x74], 0x41a00000
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x84], 1
mov dword [eax + 0x88], 0x3f000000
mov dword [eax + 0x8c], 0x3f000000
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov dword [eax + 0xb8], 0x3f800000
mov dword [eax + 0xbc], 0x3f800000
mov dword [eax + 0xc0], 0x3f800000
mov dword [eax + 0xc4], 0x3f800000
mov dword [eax + 0xc8], 0x3e8c8c8d
mov dword [eax + 0xcc], 0x3ea2a2a3
mov dword [eax + 0xd0], 0x3ee6e6e7
mov dword [eax + 0xd4], 0x3f800000
mov dword [eax + 0xd8], 0x3da0a0a1
mov dword [eax + 0xdc], 0x3db0b0b1
mov dword [eax + 0xe0], 0x3dd0d0d1
mov dword [eax + 0xe4], 0x3f800000
mov dword [eax + 0xe8], 0x3dc0c0c1
mov dword [eax + 0xec], 0x3dd0d0d1
mov dword [eax + 0xf0], 0x3df0f0f1
mov dword [eax + 0xf4], 0x3f800000
mov dword [eax + 0xf8], 0x3da0a0a1
mov dword [eax + 0xfc], 0x3db0b0b1
mov dword [eax + 0x100], 0x3dd0d0d1
mov dword [eax + 0x104], 0x3f800000
mov dword [eax + 0x108], 0x3e20a0a1
mov dword [eax + 0x10c], 0x3e2cacad
mov dword [eax + 0x110], 0x3e44c4c5
mov dword [eax + 0x114], 0x3f800000
mov dword [eax + 0x118], 0x3da0a0a1
mov dword [eax + 0x11c], 0x3db0b0b1
mov dword [eax + 0x120], 0x3dd0d0d1
mov dword [eax + 0x124], 0x3f800000
mov dword [eax + 0x128], 0x3de8e8e9
mov dword [eax + 0x12c], 0x3e008081
mov dword [eax + 0x130], 0x3e1c9c9d
mov dword [eax + 0x134], 0x3f800000
mov dword [eax + 0x138], 0x3e20a0a1
mov dword [eax + 0x13c], 0x3e2cacad
mov dword [eax + 0x140], 0x3e44c4c5
mov dword [eax + 0x144], 0x3f800000
mov dword [eax + 0x148], 0x3e20a0a1
mov dword [eax + 0x14c], 0x3e2cacad
mov dword [eax + 0x150], 0x3e44c4c5
mov dword [eax + 0x154], 0x3f800000
mov dword [eax + 0x158], 0x3d40c0c1
mov dword [eax + 0x15c], 0x3d60e0e1
mov dword [eax + 0x160], 0x3d909091
mov dword [eax + 0x164], 0x3f800000
mov dword [eax + 0x168], 0x3d40c0c1
mov dword [eax + 0x16c], 0x3d60e0e1
mov dword [eax + 0x170], 0x3d909091
mov dword [eax + 0x174], 0x3f800000
mov dword [eax + 0x178], 0x3da0a0a1
mov dword [eax + 0x17c], 0x3db0b0b1
mov dword [eax + 0x180], 0x3dd0d0d1
mov dword [eax + 0x184], 0x3f800000
mov dword [eax + 0x188], 0x3dc8c8c9
mov dword [eax + 0x18c], 0x3dd8d8d9
mov dword [eax + 0x190], 0x3df8f8f9
mov dword [eax + 0x194], 0x3f800000
mov dword [eax + 0x198], 0x3d40c0c1
mov dword [eax + 0x19c], 0x3d60e0e1
mov dword [eax + 0x1a0], 0x3d909091
mov dword [eax + 0x1a4], 0x3f800000
mov dword [eax + 0x1a8], 0x3df0f0f1
mov dword [eax + 0x1ac], 0x3e088889
mov dword [eax + 0x1b0], 0x3e189899
mov dword [eax + 0x1b4], 0x3f800000
mov dword [eax + 0x1b8], 0x3e20a0a1
mov dword [eax + 0x1bc], 0x3e2cacad
mov dword [eax + 0x1c0], 0x3e44c4c5
mov dword [eax + 0x1c4], 0x3f800000
mov dword [eax + 0x1c8], 0x3df0f0f1
mov dword [eax + 0x1cc], 0x3e088889
mov dword [eax + 0x1d0], 0x3e189899
mov dword [eax + 0x1d4], 0x3f800000
mov dword [eax + 0x1d8], 0x3f78f8f9
mov dword [eax + 0x1dc], 0x3f800000
mov dword [eax + 0x1e0], 0x3efefeff
mov dword [eax + 0x1e4], 0x3f800000
mov dword [eax + 0x1e8], 0x3f78f8f9
mov dword [eax + 0x1ec], 0x3f800000
mov dword [eax + 0x1f0], 0x3efefeff
mov dword [eax + 0x1f4], 0x3f800000
mov dword [eax + 0x1f8], 0x3f800000
mov dword [eax + 0x1fc], 0x3f4bcbcc
mov dword [eax + 0x200], 0x3efefeff
mov dword [eax + 0x204], 0x3f800000
mov dword [eax + 0x208], 0x3df0f0f1
mov dword [eax + 0x20c], 0x3e088889
mov dword [eax + 0x210], 0x3e189899
mov dword [eax + 0x214], 0x3f800000
mov dword [eax + 0x218], 0x3e38b8b9
mov dword [eax + 0x21c], 0x3e40c0c1
mov dword [eax + 0x220], 0x3e48c8c9
mov dword [eax + 0x224], 0x3f800000
mov dword [eax + 0x228], 0x3e1c9c9d
mov dword [eax + 0x22c], 0x3e1c9c9d
mov dword [eax + 0x230], 0x3e1c9c9d
mov dword [eax + 0x234], 0x3f800000
mov dword [eax + 0x238], 0x3e109091
mov dword [eax + 0x23c], 0x3e28a8a9
mov dword [eax + 0x240], 0x3e54d4d5
mov dword [eax + 0x244], 0x3f800000
mov dword [eax + 0x248], 0x3dd8d8d9
mov dword [eax + 0x24c], 0x3dd8d8d9
mov dword [eax + 0x250], 0x3dd8d8d9
mov dword [eax + 0x254], 0x3f800000
mov dword [eax + 0x258], 0x3da0a0a1
mov dword [eax + 0x25c], 0x3db0b0b1
mov dword [eax + 0x260], 0x3dd0d0d1
mov dword [eax + 0x264], 0x3f800000
mov dword [eax + 0x268], 0x3e048485
mov dword [eax + 0x26c], 0x3e189899
mov dword [eax + 0x270], 0x3e44c4c5
mov dword [eax + 0x274], 0x3f800000
mov dword [eax + 0x278], 0x3e20a0a1
mov dword [eax + 0x27c], 0x3e3cbcbd
mov dword [eax + 0x280], 0x3e808081
mov dword [eax + 0x284], 0x3f800000
mov dword [eax + 0x288], 0x3e20a0a1
mov dword [eax + 0x28c], 0x3e3cbcbd
mov dword [eax + 0x290], 0x3e808081
mov dword [eax + 0x294], 0x3f800000
mov dword [eax + 0x298], 0x3e149495
mov dword [eax + 0x29c], 0x3e149495
mov dword [eax + 0x2a0], 0x3e149495
mov dword [eax + 0x2a4], 0x3f800000
mov dword [eax + 0x2a8], 0x3f78f8f9
mov dword [eax + 0x2ac], 0x3f800000
mov dword [eax + 0x2b0], 0x3efefeff
lea esi, [edi + 0x3c]
mov dword [eax + 0x2b4], 0x3f800000
add edi, 8
mov dword [eax + 0x2b8], 0x3f800000
mov dword [eax + 0x2bc], 0x3f800000
mov dword [eax + 0x2c0], 0x3f800000
mov dword [eax + 0x2c4], 0x3f800000
mov dword [eax + 0x2c8], 0x3da0a0a1
mov dword [eax + 0x2cc], 0x3db0b0b1
mov dword [eax + 0x2d0], 0x3dd0d0d1
mov dword [eax + 0x2d4], 0x3f800000
mov dword [eax + 0x2d8], 0x3df0f0f1
mov dword [eax + 0x2dc], 0x3e088889
mov dword [eax + 0x2e0], 0x3e189899
mov dword [eax + 0x2e4], 0x3f800000
mov dword [eax + 0x2e8], 0x3df0f0f1
mov dword [eax + 0x2ec], 0x3e088889
mov dword [eax + 0x2f0], 0x3e189899
mov dword [eax + 0x2f4], 0x3f800000
mov dword [eax + 0x2f8], 0x3da0a0a1
mov dword [eax + 0x2fc], 0x3db0b0b1
mov dword [eax + 0x300], 0x3dd0d0d1
mov dword [eax + 0x304], 0x3f800000
mov dword [eax + 0x308], 0x3e008081
mov dword [eax + 0x30c], 0x3e8c8c8d
mov dword [eax + 0x310], 0x3f129293
mov dword [eax + 0x314], 0x3f800000
mov dword [eax + 0x318], 0x3f058586
mov dword [eax + 0x31c], 0x3f19999a
mov dword [eax + 0x320], 0x3f33b3b4
mov dword [eax + 0x324], 0x3f800000
mov dword [eax + 0x328], 0x3d20a0a1
mov dword [eax + 0x32c], 0x3f7afafb
mov dword [eax + 0x330], 0x3f7afafb
mov dword [eax + 0x334], 0x3f800000
mov dword [eax + 0x338], 0x3f61e1e2
mov dword [eax + 0x33c], 0x3f4bcbcc
mov dword [eax + 0x340], 0x3f0f8f90
mov dword [eax + 0x344], 0x3f800000
mov dword [eax + 0x348], 0x3f74f4f5
mov dword [eax + 0x34c], 0x3f74f4f5
mov dword [eax + 0x350], 0x3f74f4f5
mov dword [eax + 0x354], 0x3f800000
mov dword [eax + 0x358], 0x3f6feff0
mov dword [eax + 0x35c], 0x3f6feff0
mov dword [eax + 0x360], 0x3f6feff0
mov dword [eax + 0x364], 0x3f800000
mov dword [eax + 0x368], 0x3efefeff
mov dword [eax + 0x36c], 0x3f038384
mov dword [eax + 0x370], 0x3f800000
mov dword [eax + 0x374], 0x3f800000
mov dword [eax + 0x378], 0x3e888889
mov dword [eax + 0x37c], 0x3e949495
mov dword [eax + 0x380], 0x3f800000
mov dword [eax + 0x384], 0x3f800000
mov dword [eax + 0x388], 0x3efefeff
mov dword [eax + 0x38c], 0x3f038384
mov dword [eax + 0x390], 0x3f800000
mov dword [eax + 0x394], 0x3f800000
mov dword [eax + 0x398], 0x3e48c8c9
mov dword [eax + 0x39c], 0x3e34b4b5
mov dword [eax + 0x3a0], 0x3f0b8b8c
mov dword [eax + 0x3a4], 0x3f008081
mov dword [eax + 0x3a8], 0x3e48c8c9
mov dword [eax + 0x3ac], 0x3e34b4b5
mov dword [eax + 0x3b0], 0x3f0b8b8c
mov dword [eax + 0x3b4], 0x3f008081
mov eax, 0x78787879
mov ecx, dword [edi + 0x24]
sub ecx, dword [edi + 0x20]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10018d2b
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
cmp edx, ecx
je 0x10018d24
lea eax, [edi + 0x20]
push eax
push ecx
push edx
call fcn.100054a0
mov eax, dword [edi + 0x20]
add esp, 0xc
mov dword [edi + 0x24], eax
mov ecx, edi
call fcn.1000e050
cmp dword [esi + 0x10], 0
je 0x10018d8f
push 0
push esi
lea ecx, [ebp - 0x19c]
call fcn.10013ce0
push edi
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0
call fcn.10014850
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10018d84
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10018d84
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10018d84
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x194]
call fcn.100159b0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.grove]
mov dword [ecx], eax
mov al, byte [0x10130e2c]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x10018e3d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.grove]
mov dword [ecx], eax
mov al, byte [0x10130e2c]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FF009F00
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.ballas]
mov dword [ecx], eax
mov ax, word [0x10130e48]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x10018eef
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.ballas]
mov dword [ecx], eax
mov ax, word [0x10130e48]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FFB313E7
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.rifa]
mov dword [ecx], eax
mov byte [ecx + 4], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x10018f8d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.rifa]
mov dword [ecx], eax
mov byte [ecx + 4], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FF2A9170
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.aztec]
mov dword [ecx], eax
mov al, byte [0x10130e70]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x1001903b
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.aztec]
mov dword [ecx], eax
mov al, byte [0x10130e70]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FF01FCFF
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.vagos]
mov dword [ecx], eax
mov al, byte [0x10130e84]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x100190e9
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.vagos]
mov dword [ecx], eax
mov al, byte [0x10130e84]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FFFFDE24
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 3
mov dword [ecx + 0x14], 0xf
mov ax, word [0x10130e94]
mov word [ecx], ax
mov al, byte [0x10130e96]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x1001919b
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 3
mov dword [ecx + 0x14], 0xf
mov ax, word [0x10130e94]
mov word [ecx], ax
mov al, byte [0x10130e96]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FFDDA701
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.yakuza]
mov dword [ecx], eax
mov ax, word [0x10130ea8]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x1001924d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.yakuza]
mov dword [ecx], eax
mov ax, word [0x10130ea8]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FFFF0000
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 2
mov dword [ecx + 0x14], 0xf
mov ax, word [0x10130eb8]
mov word [ecx], ax
mov byte [ecx + 2], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x100192ef
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 2
mov dword [ecx + 0x14], 0xf
mov ax, word [0x10130eb8]
mov word [ecx], ax
mov byte [ecx + 2], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FF114D71
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.civil]
mov dword [ecx], eax
mov al, byte [0x10130ecc]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x1001939d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.civil]
mov dword [ecx], eax
mov al, byte [0x10130ecc]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 5
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.color]
mov dword [edx], ecx
mov ecx, esi
mov al, byte [0x10130e34]
mov byte [edx + 4], al
mov byte [edx + 5], 0
call fcn.10015660
push 8
push str.FFFFFFFF
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.bobcat]
mov dword [ecx], eax
mov ax, word [0x10130ee0]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x1001945f
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.bobcats]
mov dword [ecx], eax
movzx eax, word [0x10130bfc]
mov word [ecx + 4], ax
mov al, byte [0x10130bfe]
mov byte [ecx + 6], al
mov byte [ecx + 7], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 6
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.bobcat]
mov dword [edx], ecx
mov ecx, esi
movzx eax, word [0x10130ee0]
mov word [edx + 4], ax
mov byte [edx + 6], 0
call fcn.10015660
push 3
push 0x10130ee4
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.yosemite]
movq qword [eax], xmm0
mov byte [eax + 8], 0
call fcn.10018230
test al, al
jne 0x1001950e
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.bobcats]
mov dword [ecx], eax
mov ax, word [0x10130bfc]
mov word [ecx + 4], ax
mov al, byte [0x10130bfe]
mov byte [ecx + 6], al
mov byte [ecx + 7], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.yosemite]
movq qword [ecx], xmm0
mov byte [ecx + 8], 0
mov ecx, eax
call fcn.10015660
push 3
push 0x10130ef4
mov ecx, eax
call fcn.1000de30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.picador]
mov dword [ecx], eax
mov ax, word [0x10130efc]
mov word [ecx + 4], ax
mov al, byte [0x10130efe]
mov byte [ecx + 6], al
mov byte [ecx + 7], 0
mov ecx, edi
call fcn.10018230
test al, al
jne 0x100195e0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.bobcats]
mov dword [ecx], eax
movzx eax, word [0x10130bfc]
mov word [ecx + 4], ax
mov al, byte [0x10130bfe]
mov byte [ecx + 6], al
mov byte [ecx + 7], 0
mov ecx, edi
call fcn.1000b220
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
mov esi, eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 7
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.picador]
mov dword [edx], ecx
mov ecx, esi
movzx eax, word [0x10130efc]
mov word [edx + 4], ax
mov al, byte [0x10130efe]
mov byte [edx + 6], al
mov byte [edx + 7], 0
call fcn.10015660
push 3
push 0x10130f00
mov ecx, eax
call fcn.1000de30
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x4c], 0
lea eax, [esi + 0x3c]
je 0x1001961a
push eax
lea ecx, [ebp - 0xd4]
call fcn.10013b60
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 1
mov byte [ebp - 0x24], 0
call fcn.10014b80
lea ecx, [ebp - 0xd4]
call fcn.10015a40
xorps xmm0, xmm0
movups xmmword [esi + 0x54], xmm0
movq qword [esi + 0x64], xmm0
mov byte [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret