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

Disassembly:
sub esp, 0xdc
mov eax, dword [0x10124480]
xor eax, esp
mov dword [esp + 0xd8], eax
mov ecx, dword [0x10124fa4]
xor edx, edx
mov eax, dword [esp + 0xe0]
inc edx
mov dword [esp + 0x28], eax
push ebx
mov eax, dword [ecx + 0x3e48]
mov ebx, dword [esp + 0xec]
push esi
push edi
mov edi, dword [esp + 0xf0]
mov byte [eax + 0xac], dl
mov esi, dword [ecx + 0x3e48]
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], esi
cmp byte [esi + 0xaf], 0
je 0x1005b0ab
xor al, al
jmp 0x1005bddf
push ebp
mov ebp, dword [0x10124fa4]
call fcn.1000b691
fstp dword [esp + 0x74]
call fcn.1000ae04
fstp dword [esp + 0x78]
test bl, 0x10
je 0x1005b0ce
xorps xmm0, xmm0
jmp 0x1005b0dc
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [ebp + 0x37dc]
movss xmm1, dword [esp + 0x78]
subss xmm1, xmm0
movss dword [esp + 0x48], xmm0
push 0
push dword [esp + 0x3c]
movss dword [esp + 0x4c], xmm1
call fcn.10017495
and dword [ebp + 0x46a8], 0
mov dword [esp + 0x54], eax
call fcn.1000b175
push dword [esp + 0x40]
call fcn.1000b6c3
mov eax, dword [ebp + 0x5994]
add esp, 0xc
mov dword [esp + 0x84], eax
test eax, eax
jne 0x1005b13d
lea ecx, [esi + 0xe4]
call fcn.10025703
mov eax, dword [eax]
mov dword [ebp + 0x5994], eax
mov dword [esp + 0x80], ebx
test bl, 0x20
je 0x1005b155
and ebx, 0xff9fffff
or ebx, 0x100008
test bl, 8
jne 0x1005b163
push ebx
push edi
call fcn.1006a067
pop ecx
pop ecx
mov edx, 0x700000
test edx, ebx
jne 0x1005b176
mov eax, dword [ebp + 0x5990]
and eax, edx
or ebx, eax
mov ecx, 0x1800000
test ecx, ebx
jne 0x1005b189
mov eax, dword [ebp + 0x5990]
and eax, ecx
or ebx, eax
mov ecx, 0x6000000
test ecx, ebx
jne 0x1005b19c
mov eax, dword [ebp + 0x5990]
and eax, ecx
or ebx, eax
mov ecx, 0x18000000
test ecx, ebx
jne 0x1005b1af
mov eax, dword [ebp + 0x5990]
and eax, ecx
or ebx, eax
mov eax, dword [ebp + 0x5990]
and eax, 0xe00fffff
or ebx, eax
mov eax, ebx
mov dword [esp + 0x2c], ebx
and eax, edx
push eax
call fcn.1001f0e3
pop ecx
test al, al
jne 0x1005b1e6
push 0x140a
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_DisplayMask__
call fcn.100a16e1
add esp, 0xc
mov eax, ebx
and eax, 0x18000000
push eax
call fcn.1001f0e3
pop ecx
test al, al
jne 0x1005b20f
push 0x140b
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call fcn.100a16e1
add esp, 0xc
movss xmm1, dword [edi]
xor edx, edx
movss xmm2, dword [edi + 4]
mov ecx, ebx
movss xmm3, dword [edi + 8]
inc edx
movss xmm0, dword [0x100c24a4]
mov eax, ebx
shr ecx, 1
not cl
shr eax, 0x13
and cl, dl
movss dword [esp + 0x88], xmm1
and al, dl
mov dword [esp + 0x3c], ecx
movzx edx, cl
add edx, 3
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x50], xmm0
test cl, cl
je 0x1005b273
movss xmm0, dword [edi + 0xc]
mov eax, ebx
movss dword [esp + 0x94], xmm0
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1005b2c0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm3
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
call fcn.1000d50e
add esp, 0x18
jmp 0x1005b320
mov eax, ebx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1005b34c
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm3
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
call fcn.1000d468
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
push edi
call fcn.10073054
add esp, 0x28
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x88]
movss xmm2, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x90]
movss xmm0, dword [esp + 0x94]
comiss xmm1, dword [0x100c2498]
movss xmm5, dword [0x100d9904]
movss xmm4, dword [0x100c24a0]
jb 0x1005b36a
movaps xmm7, xmm4
jmp 0x1005b36d
movaps xmm7, xmm5
comiss xmm2, dword [0x100c2498]
movss xmm6, dword [0x100cba5c]
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
mov dword [esp + 0x98], eax
jb 0x1005b396
movaps xmm1, xmm4
jmp 0x1005b399
movaps xmm1, xmm5
comiss xmm3, dword [0x100c2498]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x9c], eax
jb 0x1005b3ba
movaps xmm1, xmm4
jmp 0x1005b3bd
movaps xmm1, xmm5
comiss xmm0, dword [0x100c2498]
mulss xmm3, xmm6
addss xmm3, xmm1
cvttss2si eax, xmm3
mov dword [esp + 0xa0], eax
jae 0x1005b3dc
movaps xmm4, xmm5
mulss xmm0, xmm6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0xa4], eax
cmp dword [ebp + 0x381c], 0
movss xmm2, dword [esi + 0xf0]
movss xmm3, dword [esi + 0xf4]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x34], xmm3
jne 0x1005b426
movss xmm1, dword [esp + 0x48]
jmp 0x1005b429
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esi + 0xf0], xmm0
test ebx, 0x300000
je 0x1005b6e6
test bl, 0x20
jne 0x1005b6e6
movss xmm2, dword [ebp + 0x37dc]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm2
movd xmm3, eax
mov ecx, ebx
cvtdq2ps xmm3, xmm3
and ecx, 0x1000000
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
mulss xmm0, xmm3
mov dword [esp + 0x20], ecx
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov edx, str.M:000
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x100c24a4]
addss xmm2, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm2, xmm3
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, str.M:0.000
cvtdq2ps xmm0, xmm0
cmove eax, edx
push eax
lea eax, [esp + 0x74]
push eax
maxss xmm0, dword [0x100c24a4]
movss dword [esp + 0x74], xmm0
call fcn.1000d27c
movss xmm1, dword [esp + 0x2c]
add esp, 0x14
test ebx, 0x200000
movss xmm0, dword [eax]
push 0
pop eax
setne al
xor ecx, ecx
inc eax
comiss xmm0, xmm1
cmovae eax, ecx
xor esi, esi
cmp dword [esp + 0x1c], ecx
jbe 0x1005b8ea
mov ecx, ebx
shl eax, 4
and ecx, 8
mov dword [esp + 0x64], ecx
cmp dword [esp + 0x14], esi
je 0x1005b61b
mov bl, byte [esp + 0x12]
lea eax, [eax + 0x10100670]
mov dword [esp + 0x14], eax
mov edi, ecx
test esi, esi
je 0x1005b568
movss xmm0, dword [ebp + 0x37dc]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b001
movss xmm1, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [esi + 1]
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x1c]
jge 0x1005b57a
movaps xmm0, xmm1
jmp 0x1005b580
movss xmm0, dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
call fcn.1000ade9
cmp byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
pop ecx
je 0x1005b59c
xorps xmm0, xmm0
jmp 0x1005b5a4
movss xmm0, dword [0x100c24a4]
push 0
push dword [eax]
lea eax, [esp + 0x90]
sub esp, 0xc
lea eax, [eax + esi*4]
movss dword [esp + 8], xmm0
and dword [esp + 4], 0
mov dword [esp], 0x3b808081
push eax
push dword [esi*4 + 0x10100630]
call fcn.100592de
or bl, al
add esp, 0x1c
or byte [esp + 0x13], bl
test edi, edi
jne 0x1005b5f1
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000ba77
pop ecx
pop ecx
mov esi, dword [esp + 0x64]
add dword [esp + 0x14], 4
movss xmm1, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jl 0x1005b543
mov edi, dword [esp + 0x24]
mov byte [esp + 0x12], bl
mov ebx, dword [esp + 0x2c]
jmp 0x1005b8ea
xor edx, edx
lea eax, [eax + 0x10100640]
xor esi, esi
mov dword [esp + 0x14], eax
cmp byte [esp + 0x28], dl
mov ecx, 0xff
mov bl, dl
cmovne ecx, edx
mov edi, ecx
test esi, esi
jle 0x1005b65e
movss xmm0, dword [ebp + 0x37dc]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b001
movss xmm1, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x1c]
jge 0x1005b670
movaps xmm0, xmm1
jmp 0x1005b676
movss xmm0, dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
call fcn.1000ade9
mov eax, dword [esp + 0x18]
pop ecx
push 0
push dword [eax]
lea eax, [esp + 0xa0]
push edi
push 0
push ecx
lea eax, [eax + esi*4]
mov dword [esp], 0x3f800000
push eax
push dword [esi*4 + 0x10100630]
call fcn.10059562
add esp, 0x1c
or bl, al
cmp dword [esp + 0x64], 0
jne 0x1005b6c8
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000ba77
pop ecx
pop ecx
mov esi, dword [esp + 0x28]
add dword [esp + 0x14], 4
movss xmm1, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jl 0x1005b639
jmp 0x1005b60a
test ebx, 0x400000
je 0x1005b8f6
test bl, 0x20
jne 0x1005b8f6
mov dword [esp + 0x18], 0xff
test cl, cl
je 0x1005b794
mov ecx, dword [esp + 0xa4]
mov eax, ecx
mov edx, dword [esp + 0xa0]
cmp ecx, 0xff
mov esi, dword [esp + 0x9c]
cmovg eax, dword [esp + 0x18]
and dword [esp + 0x2c], 0
test ecx, ecx
mov ecx, dword [esp + 0x18]
cmovs eax, dword [esp + 0x2c]
cmp edx, ecx
mov edi, dword [esp + 0x98]
push eax
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x30], 0
test edx, edx
cmovs eax, dword [esp + 0x30]
cmp esi, ecx
push eax
mov eax, esi
cmovg eax, ecx
xor edx, edx
test esi, esi
cmovs eax, edx
cmp edi, ecx
push eax
mov eax, edi
cmovg eax, ecx
xor ecx, ecx
test edi, edi
cmovs eax, ecx
push eax
push 0x100e65e0
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.1001014f
mov edi, dword [esp + 0x40]
add esp, 0x1c
jmp 0x1005b801
mov ecx, dword [esp + 0xa0]
mov eax, ecx
mov edx, dword [esp + 0x9c]
cmp ecx, 0xff
mov esi, dword [esp + 0x98]
cmovg eax, dword [esp + 0x18]
and dword [esp + 0x2c], 0
test ecx, ecx
mov ecx, dword [esp + 0x18]
cmovs eax, dword [esp + 0x2c]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x30], 0
test edx, edx
cmovs eax, dword [esp + 0x30]
cmp esi, ecx
push eax
mov eax, esi
cmovg eax, ecx
xor ecx, ecx
test esi, esi
cmovs eax, ecx
push eax
push 0x100e65f4
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.1001014f
add esp, 0x18
movss xmm4, dword [esp + 0x44]
push ecx
movss dword [esp], xmm4
call fcn.1000ade9
push 0
push 0
push 6
push 0x40
lea eax, [esp + 0xbc]
push eax
push str.Text
call fcn.1005a970
add esp, 0x1c
test al, al
je 0x1005b8d5
xor eax, eax
lea ecx, [esp + 0xa8]
inc eax
mov byte [esp + 0x12], al
mov al, byte [ecx]
cmp al, 0x23
je 0x1005b853
cmp al, 0x20
je 0x1005b853
cmp al, 9
jne 0x1005b856
inc ecx
jmp 0x1005b845
xor eax, eax
cmp byte [esp + 0x3c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
je 0x1005b8af
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1002687e
add esp, 0x18
jmp 0x1005b8d5
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.1002687e
add esp, 0x14
test bl, 8
jne 0x1005b8ea
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000ba77
pop ecx
pop ecx
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x14], esi
test bl, 0x10
jne 0x1005bab0
test bl, 0x20
jne 0x1005b922
cmp dword [ebp + 0x381c], esi
je 0x1005b922
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [ebp + 0x37dc]
jmp 0x1005b925
xorps xmm0, xmm0
cmp byte [esp + 0x3c], 0
addss xmm0, xmm2
mov eax, dword [esp + 0x7c]
movss dword [eax + 0xf0], xmm0
movss dword [eax + 0xf4], xmm3
je 0x1005b94f
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi]
lea eax, [esp + 0x50]
and dword [esp + 0x54], esi
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 4]
push eax
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [edi + 8]
push ebx
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x58]
and dword [esp + 0x58], esi
push eax
push str.ColorButton
movss dword [esp + 0x80], xmm0
call fcn.1005dbae
add esp, 0x10
test al, al
je 0x1005ba0b
test bl, 4
jne 0x1005ba0b
lea edi, [ebp + 0x59a8]
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
push 0
push str.picker
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000ba2d
movss xmm0, dword [ebp + 0x46c8]
lea eax, [esp + 0x58]
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ebp + 0x37d8]
addss xmm0, dword [ebp + 0x46d4]
push eax
lea eax, [esp + 0x38]
push 0
push eax
movss dword [esp + 0x44], xmm0
call fcn.1000a3c1
mov edi, dword [esp + 0x38]
add esp, 0x14
mov esi, dword [esp + 0x14]
test bl, 8
jne 0x1005ba20
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000ba77
pop ecx
pop ecx
push 0
push str.picker
call fcn.1000b872
pop ecx
pop ecx
test al, al
je 0x1005bab0
mov eax, dword [ebp + 0x3e48]
xor ecx, ecx
inc ecx
cmp word [eax + 0xb6], cx
jne 0x1005baab
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, ecx
je 0x1005ba67
push 0
push ecx
push eax
call fcn.10062cdf
add esp, 0xc
call fcn.1005751d
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [0x100c24d0]
push ecx
movss dword [esp], xmm0
call fcn.1000ade9
lea eax, [ebp + 0x59a8]
push eax
mov eax, dword [esp + 0x88]
and eax, 0x1f890002
or eax, 0x740080
push eax
push edi
push 0x100cf774
call fcn.1005be78
add esp, 0x14
or byte [esp + 0x12], al
call fcn.1000b993
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x38], eax
je 0x1005bb18
test bl, bl
js 0x1005bb18
movss xmm0, dword [ebp + 0x37dc]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b001
pop ecx
pop ecx
test bl, 0x20
je 0x1005bae6
movss xmm0, dword [esp + 0x48]
jmp 0x1005baf4
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [ebp + 0x37dc]
addss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
push 0
push dword [esp + 0x50]
push dword [esp + 0x40]
movss dword [eax + 0xf0], xmm0
call fcn.10062cdf
add esp, 0xc
cmp byte [esp + 0x12], 0
je 0x1005bcb6
test esi, esi
jne 0x1005bcb6
cmp byte [esp + 0x13], 0
jne 0x1005bb4c
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x100e7390]
movups xmmword [esp + 0x88], xmm0
mov ecx, 0x8200000
mov eax, ebx
and eax, ecx
cmp eax, ecx
jne 0x1005bc1c
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
movss dword [ebp + 0x599c], xmm0
movss xmm0, dword [esp + 0x90]
push eax
lea eax, [esp + 0x90]
movss dword [ebp + 0x59a0], xmm0
movss xmm0, dword [esp + 0x98]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp], xmm0
call fcn.1000d50e
mov eax, dword [ebp + 0x5994]
and dword [esp + 0x74], 0
mov dword [ebp + 0x5998], eax
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xa8]
push eax
movss dword [esp + 0x74], xmm0
call fcn.1000d3c2
add esp, 0x1c
mov dword [ebp + 0x59a4], eax
mov ecx, 0x10100000
mov eax, ebx
and eax, ecx
cmp eax, ecx
jne 0x1005bc78
movss xmm0, dword [esp + 0x90]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp], xmm0
call fcn.1000d468
add esp, 0x18
cmp byte [esp + 0x3c], 0
movss xmm0, dword [esp + 0x88]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [edi + 8], xmm0
je 0x1005bcb6
movss xmm0, dword [esp + 0x94]
movss dword [edi + 0xc], xmm0
cmp dword [esp + 0x84], 0
jne 0x1005bcc7
and dword [ebp + 0x5994], 0
call fcn.1000b784
call fcn.1000b282
xor eax, eax
inc eax
test byte [ebp + 0x46c4], al
je 0x1005bda3
test ebx, 0x200
jne 0x1005bda3
call fcn.1000c43e
test al, al
je 0x1005bda3
push 0
push str._COL3F
mov byte [esp + 0x1b], 0
call fcn.1000c514
pop ecx
pop ecx
test eax, eax
je 0x1005bd1e
mov esi, dword [eax]
xor eax, eax
inc eax
mov byte [esp + 0x13], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x1005bd22
mov al, byte [esp + 0x12]
push 0
push str._COL4F
mov byte [esp + 0x1a], al
call fcn.1000c514
pop ecx
pop ecx
test eax, eax
je 0x1005bd58
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
shl ecx, 2
push ecx
push dword [eax]
push esi
call fcn.1009d190
xor eax, eax
add esp, 0xc
inc eax
mov byte [esp + 0x12], al
jmp 0x1005bd63
cmp byte [esp + 0x13], 0
je 0x1005bd9e
mov esi, dword [esp + 0x24]
test ebx, 0x10000000
je 0x1005bd9e
movss xmm0, dword [esi + 8]
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push esi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.1000d468
add esp, 0x18
call fcn.1000c707
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1005bdc3
mov eax, dword [ebp + 0x3e94]
test eax, eax
je 0x1005bdc3
cmp dword [ebp + 0x3eb0], ecx
jne 0x1005bdc3
mov dword [ebp + 0x46bc], eax
mov bl, byte [esp + 0x12]
test bl, bl
je 0x1005bddc
mov eax, dword [ebp + 0x46bc]
test eax, eax
je 0x1005bddc
push eax
call fcn.10013897
pop ecx
mov al, bl
pop ebp
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009a659
add esp, 0xdc
ret