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

Disassembly:
sub esp, 0xdc
mov eax, dword [0x10110480]
xor eax, esp
mov dword [esp + 0xd8], eax
mov ecx, dword [0x10110f1c]
xor edx, edx
mov eax, dword [esp + 0xe0]
inc edx
mov dword [esp + 0x28], eax
push ebx
mov eax, dword [ecx + 0x3e40]
mov ebx, dword [esp + 0xec]
push esi
push edi
mov edi, dword [esp + 0xf0]
mov byte [eax + 0xac], dl
mov esi, dword [ecx + 0x3e40]
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], esi
cmp byte [esi + 0xaf], 0
je 0x10054f55
xor al, al
jmp 0x10055c3d
push ebp
mov ebp, dword [0x10110f1c]
call fcn.1000b2c6
fstp dword [esp + 0x74]
call fcn.1000aa55
fstp dword [esp + 0x78]
test bl, 0x10
je 0x10054f78
xorps xmm0, xmm0
jmp 0x10054f86
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [ebp + 0x37f4]
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.100157b2
and dword [ebp + 0x46a0], 0
mov dword [esp + 0x54], eax
call fcn.1000adc6
push dword [esp + 0x40]
call fcn.1000b2f8
mov eax, dword [ebp + 0x5964]
add esp, 0xc
mov dword [esp + 0x84], eax
test eax, eax
jne 0x10054fea
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp + 0x5964], eax
mov dword [esp + 0x80], ebx
test bl, 0x20
je 0x10055002
and ebx, 0xff9fffff
or ebx, 0x100008
test bl, 8
jne 0x10055010
push ebx
push edi
call fcn.1006319f
pop ecx
pop ecx
mov ecx, 0x700000
test ecx, ebx
jne 0x10055023
mov eax, dword [ebp + 0x5960]
and eax, ecx
or ebx, eax
mov ecx, 0x1800000
test ecx, ebx
jne 0x10055036
mov eax, dword [ebp + 0x5960]
and eax, ecx
or ebx, eax
mov ecx, 0x6000000
test ecx, ebx
jne 0x10055049
mov eax, dword [ebp + 0x5960]
and eax, ecx
or ebx, eax
mov ecx, 0x18000000
test ecx, ebx
jne 0x1005505c
mov eax, dword [ebp + 0x5960]
and eax, ecx
or ebx, eax
mov eax, dword [ebp + 0x5960]
xor edx, edx
movss xmm1, dword [edi]
and eax, 0xe00fffff
movss xmm2, dword [edi + 4]
or ebx, eax
movss xmm3, dword [edi + 8]
mov ecx, ebx
movss xmm0, dword [0x100ba4c4]
inc edx
shr ecx, 1
mov eax, ebx
not cl
shr eax, 0x13
and cl, dl
mov dword [esp + 0x2c], ebx
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 + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x50], xmm0
test cl, cl
je 0x100550d1
movss xmm0, dword [edi + 0xc]
mov eax, ebx
movss dword [esp + 0x94], xmm0
and eax, str.369C3F95D1A57DA57655B39807C47D685AA8BFC7
cmp eax, str.369C3F95D1A57DA57655B39807C47D685AA8BFC7
jne 0x1005511e
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.1000cdda
add esp, 0x18
jmp 0x1005517e
mov eax, ebx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100551aa
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.1000cd34
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
push edi
call fcn.1006bd3f
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 [0x100ba4b8]
movss xmm5, dword [0x100cba4c]
movss xmm4, dword [0x100ba4c0]
jb 0x100551c8
movaps xmm7, xmm4
jmp 0x100551cb
movaps xmm7, xmm5
comiss xmm2, dword [0x100ba4b8]
movss xmm6, dword [0x100bdf3c]
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
mov dword [esp + 0x98], eax
jb 0x100551f4
movaps xmm1, xmm4
jmp 0x100551f7
movaps xmm1, xmm5
comiss xmm3, dword [0x100ba4b8]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x9c], eax
jb 0x10055218
movaps xmm1, xmm4
jmp 0x1005521b
movaps xmm1, xmm5
comiss xmm0, dword [0x100ba4b8]
mulss xmm3, xmm6
addss xmm3, xmm1
cvttss2si eax, xmm3
mov dword [esp + 0xa0], eax
jae 0x1005523a
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 + 0x3834], 0
movss xmm2, dword [esi + 0xf0]
movss xmm3, dword [esi + 0xf4]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x34], xmm3
jne 0x10055284
movss xmm1, dword [esp + 0x48]
jmp 0x10055287
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esi + 0xf0], xmm0
test ebx, 0x300000
je 0x10055544
test bl, 0x20
jne 0x10055544
movss xmm2, dword [ebp + 0x37f4]
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 [0x100ba4c4]
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 [0x100ba4c4]
movss dword [esp + 0x74], xmm0
call fcn.1000cb48
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 0x10055748
mov ecx, ebx
shl eax, 4
and ecx, 8
mov dword [esp + 0x64], ecx
cmp dword [esp + 0x14], esi
je 0x10055479
mov bl, byte [esp + 0x12]
lea eax, [eax + 0x100ec670]
mov dword [esp + 0x14], eax
mov edi, ecx
test esi, esi
je 0x100553c6
movss xmm0, dword [ebp + 0x37f4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000ac52
movss xmm1, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [esi + 1]
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x1c]
jge 0x100553d8
movaps xmm0, xmm1
jmp 0x100553de
movss xmm0, dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
call fcn.1000aa3a
cmp byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
pop ecx
je 0x100553fa
xorps xmm0, xmm0
jmp 0x10055402
movss xmm0, dword [0x100ba4c4]
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 + 0x100ec630]
call fcn.100531d2
or bl, al
add esp, 0x1c
or byte [esp + 0x13], bl
test edi, edi
jne 0x1005544f
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000b608
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 0x100553a1
mov edi, dword [esp + 0x24]
mov byte [esp + 0x12], bl
mov ebx, dword [esp + 0x2c]
jmp 0x10055748
xor edx, edx
lea eax, [eax + 0x100ec640]
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 0x100554bc
movss xmm0, dword [ebp + 0x37f4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000ac52
movss xmm1, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x1c]
jge 0x100554ce
movaps xmm0, xmm1
jmp 0x100554d4
movss xmm0, dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
call fcn.1000aa3a
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 + 0x100ec630]
call fcn.10053456
add esp, 0x1c
or bl, al
cmp dword [esp + 0x64], 0
jne 0x10055526
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000b608
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 0x10055497
jmp 0x10055468
test ebx, 0x400000
je 0x10055754
test bl, 0x20
jne 0x10055754
mov dword [esp + 0x18], 0xff
test cl, cl
je 0x100555f2
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 0x100d34e4
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.1000f4b9
mov edi, dword [esp + 0x40]
add esp, 0x1c
jmp 0x1005565f
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 0x100d34f8
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.1000f4b9
add esp, 0x18
movss xmm4, dword [esp + 0x44]
push ecx
movss dword [esp], xmm4
call fcn.1000aa3a
push 0
push 0
push 6
push 0x40
lea eax, [esp + 0xbc]
push eax
push str.Text
call fcn.1005485d
add esp, 0x1c
test al, al
je 0x10055733
xor eax, eax
lea ecx, [esp + 0xa8]
inc eax
mov byte [esp + 0x12], al
mov al, byte [ecx]
cmp al, 0x23
je 0x100556b1
cmp al, 0x20
je 0x100556b1
cmp al, 9
jne 0x100556b4
inc ecx
jmp 0x100556a3
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 0x1005570d
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.10023289
add esp, 0x18
jmp 0x10055733
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.10023289
add esp, 0x14
test bl, 8
jne 0x10055748
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000b608
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 0x1005590e
test bl, 0x20
jne 0x10055780
cmp dword [ebp + 0x3834], esi
je 0x10055780
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [ebp + 0x37f4]
jmp 0x10055783
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 0x100557ad
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.10057a23
add esp, 0x10
test al, al
je 0x10055869
test bl, 4
jne 0x10055869
lea edi, [ebp + 0x5978]
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.1000b5be
movss xmm0, dword [ebp + 0x46c0]
lea eax, [esp + 0x58]
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ebp + 0x37f0]
addss xmm0, dword [ebp + 0x46cc]
push eax
lea eax, [esp + 0x38]
push 0
push eax
movss dword [esp + 0x44], xmm0
call fcn.1000a11a
mov edi, dword [esp + 0x38]
add esp, 0x14
mov esi, dword [esp + 0x14]
test bl, 8
jne 0x1005587e
xor eax, eax
inc eax
push eax
push str.context
call fcn.1000b608
pop ecx
pop ecx
push 0
push str.picker
call fcn.1000b456
pop ecx
pop ecx
test al, al
je 0x1005590e
mov eax, dword [ebp + 0x3e40]
xor ecx, ecx
inc ecx
cmp word [eax + 0xb6], cx
jne 0x10055909
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, ecx
je 0x100558c5
push 0
push ecx
push eax
call fcn.1005c6f7
add esp, 0xc
call fcn.100514b0
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [0x100ba4f0]
push ecx
movss dword [esp], xmm0
call fcn.1000aa3a
lea eax, [ebp + 0x5978]
push eax
mov eax, dword [esp + 0x88]
and eax, 0x1f890002
or eax, 0x740080
push eax
push edi
push 0x100c1a14
call fcn.10055cd6
add esp, 0x14
or byte [esp + 0x12], al
call fcn.1000b57f
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x38], eax
je 0x10055976
test bl, bl
js 0x10055976
movss xmm0, dword [ebp + 0x37f4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000ac52
pop ecx
pop ecx
test bl, 0x20
je 0x10055944
movss xmm0, dword [esp + 0x48]
jmp 0x10055952
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [ebp + 0x37f4]
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.1005c6f7
add esp, 0xc
cmp byte [esp + 0x12], 0
je 0x10055b14
test esi, esi
jne 0x10055b14
cmp byte [esp + 0x13], 0
jne 0x100559aa
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x100d37f0]
movups xmmword [esp + 0x88], xmm0
mov ecx, 0x8200000
mov eax, ebx
and eax, ecx
cmp eax, ecx
jne 0x10055a7a
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
movss dword [ebp + 0x596c], xmm0
movss xmm0, dword [esp + 0x90]
push eax
lea eax, [esp + 0x90]
movss dword [ebp + 0x5970], 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.1000cdda
mov eax, dword [ebp + 0x5964]
and dword [esp + 0x74], 0
mov dword [ebp + 0x5968], 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.1000cc8e
add esp, 0x1c
mov dword [ebp + 0x5974], eax
mov ecx, str.369C3F95D1A57DA57655B39807C47D685AA8BFC7
mov eax, ebx
and eax, ecx
cmp eax, ecx
jne 0x10055ad6
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.1000cd34
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 0x10055b14
movss xmm0, dword [esp + 0x94]
movss dword [edi + 0xc], xmm0
cmp dword [esp + 0x84], 0
jne 0x10055b25
and dword [ebp + 0x5964], 0
call fcn.1000b3b9
call fcn.1000aee1
xor eax, eax
inc eax
test byte [ebp + 0x46bc], al
je 0x10055c01
test ebx, 0x200
jne 0x10055c01
call fcn.1000bdec
test al, al
je 0x10055c01
push 0
push str._COL3F
mov byte [esp + 0x1b], 0
call fcn.1000be96
pop ecx
pop ecx
test eax, eax
je 0x10055b7c
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 0x10055b80
mov al, byte [esp + 0x12]
push 0
push str._COL4F
mov byte [esp + 0x1a], al
call fcn.1000be96
pop ecx
pop ecx
test eax, eax
je 0x10055bb6
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
shl ecx, 2
push ecx
push dword [eax]
push esi
call fcn.10095340
xor eax, eax
add esp, 0xc
inc eax
mov byte [esp + 0x12], al
jmp 0x10055bc1
cmp byte [esp + 0x13], 0
je 0x10055bfc
mov esi, dword [esp + 0x24]
test ebx, 0x10000000
je 0x10055bfc
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.1000cd34
add esp, 0x18
call fcn.1000c047
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10055c21
mov eax, dword [ebp + 0x3e8c]
test eax, eax
je 0x10055c21
cmp dword [ebp + 0x3ea8], ecx
jne 0x10055c21
mov dword [ebp + 0x46b4], eax
mov bl, byte [esp + 0x12]
test bl, bl
je 0x10055c3a
mov eax, dword [ebp + 0x46b4]
test eax, eax
je 0x10055c3a
push eax
call fcn.1001247c
pop ecx
mov al, bl
pop ebp
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009280f
add esp, 0xdc
ret