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

Disassembly:
sub esp, 0xec
mov eax, dword [0x101e51ac]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [0x101e9b30]
mov ecx, dword [eax + 0x1994]
push ebp
mov ebp, dword [esp + 0xf8]
mov byte [ecx + 0x7c], 1
mov eax, dword [eax + 0x1994]
cmp byte [eax + 0x7f], 0
push esi
mov esi, dword [esp + 0xf8]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x70], eax
je 0x1006d774
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.101172a0
add esp, 0xec
ret
push ebx
push edi
mov edi, dword [0x101e9b30]
mov dword [esp + 0x24], edi
call fcn.10040d70
fstp dword [esp + 0x6c]
mov ebx, dword [esp + 0x108]
test bl, 0x10
je 0x1006d799
fldz
jmp 0x1006d7a3
fld dword [edi + 0x155c]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x14]
call fcn.10051080
fsub dword [esp + 0x14]
push 0
push esi
fstp dword [esp + 0x24]
call fcn.1003e910
mov dword [esp + 0x70], eax
call fcn.1004b7f0
push esi
call fcn.1004b630
add esp, 0xc
test bl, 0x20
mov dword [esp + 0x84], ebx
je 0x1006d7ed
and ebx, 0xff9fffff
or ebx, 0x100008
mov dword [esp + 0x108], ebx
test bl, 8
jne 0x1006d7fc
push ebx
push ebp
call fcn.100627c0
add esp, 8
test ebx, 0x700000
jne 0x1006d819
mov edx, dword [edi + 0x2bd8]
and edx, 0x700000
or ebx, edx
mov dword [esp + 0x108], ebx
test ebx, 0x1800000
jne 0x1006d835
mov eax, dword [edi + 0x2bd8]
and eax, 0x1800000
or ebx, eax
mov dword [esp + 0x108], ebx
test ebx, 0x6000000
jne 0x1006d852
mov ecx, dword [edi + 0x2bd8]
and ecx, 0x6000000
or ebx, ecx
mov dword [esp + 0x108], ebx
mov edx, dword [edi + 0x2bd8]
fld dword [ebp]
mov edi, dword [esp + 0x108]
fstp dword [esp + 0x28]
fld dword [ebp + 4]
and edx, 0xf80fffff
or edi, edx
fstp dword [esp + 0x2c]
fld dword [ebp + 8]
mov eax, edi
shr eax, 1
fstp dword [esp + 0x30]
mov ebx, edi
shr ebx, 0x13
not al
and al, 1
xor ecx, ecx
and bl, 1
test al, al
setne cl
mov dword [esp + 0x108], edi
mov byte [esp + 0x12], al
add ecx, 3
test al, al
mov dword [esp + 0x40], ecx
je 0x1006d8ae
fld dword [ebp + 0xc]
jmp 0x1006d8b0
fld1
and edi, 0x200000
fstp dword [esp + 0x34]
mov dword [esp + 0x70], edi
je 0x1006d8f1
fld dword [esp + 0x30]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.10044630
add esp, 0x18
fldz
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fld dword [0x101a7a14]
test ah, 1
fld dword [0x101a425c]
jne 0x1006d912
fst dword [esp + 0x14]
jmp 0x1006d91a
fxch st(1)
fst dword [esp + 0x14]
fxch st(1)
fld qword [0x101a2f70]
fmul st(3), st(0)
fld dword [esp + 0x14]
faddp st(4)
fxch st(3)
call fcn.101185e0
fld dword [esp + 0x2c]
fcom st(4)
mov ebp, eax
mov dword [esp + 0x48], ebp
fnstsw ax
test ah, 1
jne 0x1006d94a
fxch st(1)
fst dword [esp + 0x14]
jmp 0x1006d954
fxch st(2)
fst dword [esp + 0x14]
fxch st(2)
fxch st(1)
fxch st(1)
fmul st(3)
fadd dword [esp + 0x14]
call fcn.101185e0
fld dword [esp + 0x30]
fcom st(4)
mov esi, eax
mov dword [esp + 0x4c], esi
fnstsw ax
test ah, 1
jne 0x1006d97c
fxch st(1)
fst dword [esp + 0x14]
jmp 0x1006d986
fxch st(2)
fst dword [esp + 0x14]
fxch st(2)
fxch st(1)
fxch st(1)
fmul st(3)
fadd dword [esp + 0x14]
call fcn.101185e0
fld dword [esp + 0x34]
fcom st(4)
mov edi, eax
mov dword [esp + 0x50], edi
fnstsw ax
test ah, 1
jne 0x1006d9aa
fstp st(2)
jmp 0x1006d9ae
fstp st(1)
fxch st(1)
fstp dword [esp + 0x14]
fmul st(1)
fadd dword [esp + 0x14]
call fcn.101185e0
fld1
test dword [esp + 0x108], 0x300000
mov dword [esp + 0x54], eax
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
je 0x1006dd10
test byte [esp + 0x108], 0x20
jne 0x1006dd10
mov ebp, dword [esp + 0x40]
fstp st(1)
mov eax, dword [esp + 0x24]
fstp st(1)
fld dword [esp + 0x1c]
lea edx, [ebp - 1]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld dword [eax + 0x155c]
fld st(1)
fmul st(1)
fsubr st(3)
fidiv dword [esp + 0x40]
call fcn.101185e0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x1006da39
fstp st(0)
fld1
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst qword [esp + 0x38]
faddp st(1)
fmulp st(1)
fsubp st(1)
call fcn.101185e0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1006da6f
fstp st(0)
fld1
mov eax, dword [esp + 0x108]
fstp dword [esp + 0x1c]
and eax, 0x1000000
mov dword [esp + 0x7c], eax
mov eax, str.M:0.000
jne 0x1006da8f
mov eax, str.M:000
fld dword [0x101a2f3c]
push ecx
fstp dword [esp]
push 0
push 0
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.1003f630
fld dword [eax]
fcomp qword [esp + 0x4c]
add esp, 0x14
fnstsw ax
test ah, 1
jne 0x1006dabc
mov cl, 1
jmp 0x1006dabe
xor cl, cl
test cl, cl
mov eax, 0x101a7d14
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, str.A:_3d
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe4], eax
mov eax, str._0.3f
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, str.A:_0.3f
mov dword [esp + 0x58], 0x101a7cf8
mov dword [esp + 0x5c], 0x101a7cf4
mov dword [esp + 0x60], 0x101a7cf0
mov dword [esp + 0x64], 0x101a7cec
mov dword [esp + 0xc8], str.R:_3d
mov dword [esp + 0xcc], str.G:_3d
mov dword [esp + 0xd0], str.B:_3d
mov dword [esp + 0xd8], str.H:_3d
mov dword [esp + 0xdc], str.S:_3d
mov dword [esp + 0xe0], str.V:_3d
mov dword [esp + 0x98], str.R:_0.3f
mov dword [esp + 0x9c], str.G:_0.3f
mov dword [esp + 0xa0], str.B:_0.3f
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], str.H:_0.3f
mov dword [esp + 0xac], str.S:_0.3f
mov dword [esp + 0xb0], 0x101a7c8c
mov dword [esp + 0xb4], eax
je 0x1006dbd2
xor edi, edi
jmp 0x1006dbe0
xor edx, edx
cmp dword [esp + 0x70], edx
setne dl
add edx, 1
mov edi, edx
fld dword [esp + 0x14]
push ecx
fstp dword [esp]
call fcn.1004b150
add esp, 4
xor esi, esi
test ebp, ebp
jle 0x1006dd06
mov eax, dword [esp + 0x108]
and eax, 8
mov dword [esp + 0x38], eax
shl edi, 4
jmp 0x1006dc10
test esi, esi
jle 0x1006dc32
mov eax, dword [esp + 0x24]
fld dword [eax + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.100413b0
add esp, 8
lea ebp, [esi + 1]
cmp ebp, dword [esp + 0x40]
jne 0x1006dc4b
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.1004b150
add esp, 4
cmp dword [esp + 0x7c], 0
je 0x1006dca8
test bl, bl
je 0x1006dc5a
fldz
jmp 0x1006dc5c
fld1
mov eax, dword [esp + esi*4 + 0x58]
fstp dword [esp + 0x14]
fld1
push ecx
mov ecx, dword [esp + edi + 0x8c]
fstp dword [esp]
fld dword [esp + 0x18]
push ecx
sub esp, 0xc
fstp dword [esp + 8]
fldz
lea edx, [esp + esi*4 + 0x3c]
fstp dword [esp + 4]
fld dword [0x101a7c88]
fstp dword [esp]
push edx
push eax
call fcn.1006c240
add esp, 0x1c
or al, byte [esp + 0x11]
mov byte [esp + 0x13], al
mov byte [esp + 0x11], al
jmp 0x1006dce1
mov ecx, dword [esp + edi + 0xb8]
fld1
mov dl, bl
neg dl
push ecx
lea eax, [esp + esi*4 + 0x4c]
sbb edx, edx
and edx, 0xffffff01
add edx, 0xff
push edx
push 0
push ecx
mov ecx, dword [esp + esi*4 + 0x68]
fstp dword [esp]
push eax
push ecx
call fcn.1006c520
add esp, 0x18
or byte [esp + 0x11], al
cmp dword [esp + 0x38], 0
jne 0x1006dcf7
push 1
push str.context
call fcn.1004bc70
add esp, 8
mov esi, ebp
add edi, 4
cmp esi, dword [esp + 0x40]
jl 0x1006dc10
call fcn.10046600
jmp 0x1006dec9
mov ecx, dword [esp + 0x108]
fstp st(0)
test ecx, 0x400000
je 0x1006ded8
test cl, 0x20
jne 0x1006ded8
xor ebx, ebx
fstp st(0)
cmp byte [esp + 0x12], bl
fstp st(0)
je 0x1006ddb0
cmp eax, ebx
jge 0x1006dd42
xor edx, edx
jmp 0x1006dd50
cmp eax, 0xff
mov edx, 0xff
jg 0x1006dd50
mov edx, eax
cmp edi, ebx
jge 0x1006dd58
xor edi, edi
jmp 0x1006dd65
cmp edi, 0xff
jle 0x1006dd65
mov edi, 0xff
cmp esi, ebx
jge 0x1006dd6d
xor ecx, ecx
jmp 0x1006dd7c
cmp esi, 0xff
mov ecx, 0xff
jg 0x1006dd7c
mov ecx, esi
cmp ebp, ebx
jge 0x1006dd84
xor eax, eax
jmp 0x1006dd93
cmp ebp, 0xff
mov eax, 0xff
jg 0x1006dd93
mov eax, ebp
push edx
push edi
push ecx
push eax
push str._02X_02X_02X_02X
lea edx, [esp + 0xcc]
push 0x40
push edx
call fcn.1003ddb0
add esp, 0x1c
jmp 0x1006de0d
cmp edi, ebx
jge 0x1006ddb8
xor edi, edi
jmp 0x1006ddc5
cmp edi, 0xff
jle 0x1006ddc5
mov edi, 0xff
cmp esi, ebx
jge 0x1006ddcd
xor ecx, ecx
jmp 0x1006dddc
cmp esi, 0xff
mov ecx, 0xff
jg 0x1006dddc
mov ecx, esi
cmp ebp, ebx
jge 0x1006dde4
xor eax, eax
jmp 0x1006ddf3
cmp ebp, 0xff
mov eax, 0xff
jg 0x1006ddf3
mov eax, ebp
push edi
push ecx
push eax
push str._02X_02X_02X
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.1003ddb0
add esp, 0x18
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.1004b150
push ebx
push ebx
push 6
push 0x40
lea ecx, [esp + 0xcc]
push ecx
push str.Text
call fcn.1006b9f0
add esp, 0x1c
test al, al
je 0x1006deb0
mov byte [esp + 0x11], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1006de53
cmp al, 0x20
je 0x1006de53
cmp al, 9
jne 0x1006de58
add ecx, 1
jmp 0x1006de45
cmp byte [esp + 0x12], 0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
je 0x1006de93
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x54]
push eax
push 0x101a7c48
push ecx
call fcn.1011ab42
add esp, 0x18
jmp 0x1006deb0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x50]
push edx
push 0x101a7c38
push ecx
call fcn.1011ab42
add esp, 0x14
test byte [esp + 0x108], 8
jne 0x1006dec9
push 1
push str.context
call fcn.1004bc70
add esp, 8
call fcn.10046600
fld qword [0x101a2f70]
fldz
fxch st(1)
xor esi, esi
test byte [esp + 0x108], 0x10
jne 0x1006e0c7
test byte [esp + 0x108], 0x20
fstp st(0)
jne 0x1006df12
mov eax, dword [esp + 0x24]
fld dword [eax + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.100413b0
fldz
add esp, 8
cmp byte [esp + 0x12], 0
je 0x1006df22
mov ecx, dword [esp + 0x44]
fld dword [ecx + 0xc]
jmp 0x1006df24
fld1
mov ebp, dword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [ebp]
mov ebx, dword [esp + 0x108]
fstp dword [esp + 0x58]
lea ecx, [esp + 0x58]
fld dword [ebp + 4]
fstp dword [esp + 0x5c]
fld dword [ebp + 8]
fstp dword [esp + 0x60]
fld dword [esp + 0x1c]
fstp dword [esp + 0x64]
fst dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
push edx
push eax
push ebx
push ecx
push str.ColorButton
call fcn.1006a350
add esp, 0x14
test al, al
je 0x1006e021
test bl, 4
jne 0x1006e021
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x2bdc], edx
mov edx, dword [esp + 0x64]
mov dword [edi + 0x2be0], eax
mov dword [edi + 0x2be4], ecx
push 0x101a7c20
mov dword [edi + 0x2be8], edx
call fcn.100511b0
fldz
mov eax, dword [esp + 0x7c]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
lea ecx, [esp + 0x20]
fld dword [edi + 0x1558]
fstp dword [esp + 0x1c]
fld dword [eax + 0x114]
fstp dword [esp + 0x3c]
fld dword [eax + 0x120]
fstp dword [esp + 0x40]
lea eax, [esp + 0x80]
fld dword [esp + 0x3c]
push eax
fsub qword [0x101a5210]
push 0
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x30]
call fcn.10040b40
add esp, 0x10
jmp 0x1006e025
mov edi, dword [esp + 0x24]
test bl, 8
jne 0x1006e039
push 1
push str.context
call fcn.1004bc70
add esp, 8
push 0
push 0x101a7c20
call fcn.10052e80
add esp, 8
test al, al
je 0x1006e0bd
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
cmp ecx, eax
mov esi, dword [edi + 0x1994]
je 0x1006e06d
push eax
push ecx
call fcn.100599d0
add esp, 8
call fcn.10057530
fld dword [esp + 0x6c]
push ecx
fmul qword [0x101a7c18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.1004b150
mov eax, dword [esp + 0x88]
and eax, 0x7890002
add edi, 0x2bdc
push edi
or eax, 0x740080
push eax
push ebp
push str.picker
call fcn.1006e290
or byte [esp + 0x25], al
add esp, 0x14
call fcn.10046600
call fcn.10051270
fld qword [0x101a2f70]
fldz
fxch st(1)
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
cmp ebx, edi
je 0x1006e10a
test byte [esp + 0x108], 0x80
jne 0x1006e10a
mov edx, dword [esp + 0x24]
fstp st(0)
fld dword [edx + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.100413b0
push edi
push ebx
call fcn.100599d0
fld qword [0x101a2f70]
add esp, 0x10
jmp 0x1006e10c
fstp st(1)
test esi, esi
jne 0x1006e1ad
cmp byte [esp + 0x13], 0
jne 0x1006e143
fild dword [esp + 0x48]
fdiv st(1)
fstp dword [esp + 0x28]
fild dword [esp + 0x4c]
fdiv st(1)
fstp dword [esp + 0x2c]
fild dword [esp + 0x50]
fdiv st(1)
fstp dword [esp + 0x30]
fidivr dword [esp + 0x54]
fstp dword [esp + 0x34]
jmp 0x1006e145
fstp st(0)
cmp dword [esp + 0x70], 0
je 0x1006e17d
fld dword [esp + 0x30]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.1003e600
add esp, 0x18
mov bl, byte [esp + 0x11]
test bl, bl
mov edi, dword [esp + 0x44]
je 0x1006e1b7
cmp byte [esp + 0x12], 0
fld dword [esp + 0x28]
fstp dword [edi]
fld dword [esp + 0x2c]
fstp dword [edi + 4]
fld dword [esp + 0x30]
fstp dword [edi + 8]
je 0x1006e1b7
fld dword [esp + 0x34]
fstp dword [edi + 0xc]
jmp 0x1006e1b7
mov bl, byte [esp + 0x11]
fstp st(0)
mov edi, dword [esp + 0x44]
call fcn.10046b60
call fcn.1004b940
mov ebp, dword [esp + 0x78]
test byte [ebp + 0x110], 1
je 0x1006e23d
test dword [esp + 0x108], 0x200
jne 0x1006e23d
call fcn.100485f0
test al, al
je 0x1006e23d
push 0
push str._COL3F
call fcn.10041eb0
add esp, 8
test eax, eax
je 0x1006e20b
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov bl, 1
push 0
push 0x101a7b98
call fcn.10041eb0
add esp, 8
test eax, eax
je 0x1006e238
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
lea edx, [ecx*4]
push edx
push eax
push edi
call fcn.10118d70
add esp, 0xc
mov bl, 1
call fcn.100420f0
test esi, esi
je 0x1006e25d
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x19b4]
test eax, eax
je 0x1006e25d
cmp dword [ecx + 0x19d8], esi
jne 0x1006e25d
mov dword [ebp + 0x10c], eax
test bl, bl
je 0x1006e270
mov ecx, dword [ebp + 0x10c]
push ecx
call fcn.1003f220
add esp, 4
mov ecx, dword [esp + 0xf8]
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.101172a0
add esp, 0xec
ret