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

Disassembly:
sub esp, 0xec
mov eax, dword [0x101e61ac]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [0x101eab30]
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 0x1006f194
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.10118ca0
add esp, 0xec
ret
push ebx
push edi
mov edi, dword [0x101eab30]
mov dword [esp + 0x24], edi
call fcn.10042790
fstp dword [esp + 0x6c]
mov ebx, dword [esp + 0x108]
test bl, 0x10
je 0x1006f1b9
fldz
jmp 0x1006f1c3
fld dword [edi + 0x155c]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x14]
call fcn.10052aa0
fsub dword [esp + 0x14]
push 0
push esi
fstp dword [esp + 0x24]
call fcn.10040330
mov dword [esp + 0x70], eax
call fcn.1004d210
push esi
call fcn.1004d050
add esp, 0xc
test bl, 0x20
mov dword [esp + 0x84], ebx
je 0x1006f20d
and ebx, 0xff9fffff
or ebx, 0x100008
mov dword [esp + 0x108], ebx
test bl, 8
jne 0x1006f21c
push ebx
push ebp
call fcn.100641e0
add esp, 8
test ebx, 0x700000
jne 0x1006f239
mov edx, dword [edi + 0x2bd8]
and edx, 0x700000
or ebx, edx
mov dword [esp + 0x108], ebx
test ebx, 0x1800000
jne 0x1006f255
mov eax, dword [edi + 0x2bd8]
and eax, 0x1800000
or ebx, eax
mov dword [esp + 0x108], ebx
test ebx, 0x6000000
jne 0x1006f272
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 0x1006f2ce
fld dword [ebp + 0xc]
jmp 0x1006f2d0
fld1
and edi, 0x200000
fstp dword [esp + 0x34]
mov dword [esp + 0x70], edi
je 0x1006f311
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.10046050
add esp, 0x18
fldz
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fld dword [0x101a8b24]
test ah, 1
fld dword [0x101a5334]
jne 0x1006f332
fst dword [esp + 0x14]
jmp 0x1006f33a
fxch st(1)
fst dword [esp + 0x14]
fxch st(1)
fld qword [0x101a3f70]
fmul st(3), st(0)
fld dword [esp + 0x14]
faddp st(4)
fxch st(3)
call fcn.10119fe0
fld dword [esp + 0x2c]
fcom st(4)
mov ebp, eax
mov dword [esp + 0x48], ebp
fnstsw ax
test ah, 1
jne 0x1006f36a
fxch st(1)
fst dword [esp + 0x14]
jmp 0x1006f374
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.10119fe0
fld dword [esp + 0x30]
fcom st(4)
mov esi, eax
mov dword [esp + 0x4c], esi
fnstsw ax
test ah, 1
jne 0x1006f39c
fxch st(1)
fst dword [esp + 0x14]
jmp 0x1006f3a6
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.10119fe0
fld dword [esp + 0x34]
fcom st(4)
mov edi, eax
mov dword [esp + 0x50], edi
fnstsw ax
test ah, 1
jne 0x1006f3ca
fstp st(2)
jmp 0x1006f3ce
fstp st(1)
fxch st(1)
fstp dword [esp + 0x14]
fmul st(1)
fadd dword [esp + 0x14]
call fcn.10119fe0
fld1
test dword [esp + 0x108], 0x300000
mov dword [esp + 0x54], eax
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
je 0x1006f730
test byte [esp + 0x108], 0x20
jne 0x1006f730
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.10119fe0
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 0x1006f459
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.10119fe0
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 0x1006f48f
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 0x1006f4af
mov eax, str.M:000
fld dword [0x101a3f3c]
push ecx
fstp dword [esp]
push 0
push 0
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.10041050
fld dword [eax]
fcomp qword [esp + 0x4c]
add esp, 0x14
fnstsw ax
test ah, 1
jne 0x1006f4dc
mov cl, 1
jmp 0x1006f4de
xor cl, cl
test cl, cl
mov eax, 0x101a8e24
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], 0x101a8e08
mov dword [esp + 0x5c], 0x101a8e04
mov dword [esp + 0x60], 0x101a8e00
mov dword [esp + 0x64], 0x101a8dfc
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], 0x101a8d9c
mov dword [esp + 0xb4], eax
je 0x1006f5f2
xor edi, edi
jmp 0x1006f600
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.1004cb70
add esp, 4
xor esi, esi
test ebp, ebp
jle 0x1006f726
mov eax, dword [esp + 0x108]
and eax, 8
mov dword [esp + 0x38], eax
shl edi, 4
jmp 0x1006f630
test esi, esi
jle 0x1006f652
mov eax, dword [esp + 0x24]
fld dword [eax + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.10042dd0
add esp, 8
lea ebp, [esi + 1]
cmp ebp, dword [esp + 0x40]
jne 0x1006f66b
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.1004cb70
add esp, 4
cmp dword [esp + 0x7c], 0
je 0x1006f6c8
test bl, bl
je 0x1006f67a
fldz
jmp 0x1006f67c
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 [0x101a8d98]
fstp dword [esp]
push edx
push eax
call fcn.1006dc60
add esp, 0x1c
or al, byte [esp + 0x11]
mov byte [esp + 0x13], al
mov byte [esp + 0x11], al
jmp 0x1006f701
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.1006df40
add esp, 0x18
or byte [esp + 0x11], al
cmp dword [esp + 0x38], 0
jne 0x1006f717
push 1
push str.context
call fcn.1004d690
add esp, 8
mov esi, ebp
add edi, 4
cmp esi, dword [esp + 0x40]
jl 0x1006f630
call fcn.10048020
jmp 0x1006f8e9
mov ecx, dword [esp + 0x108]
fstp st(0)
test ecx, 0x400000
je 0x1006f8f8
test cl, 0x20
jne 0x1006f8f8
xor ebx, ebx
fstp st(0)
cmp byte [esp + 0x12], bl
fstp st(0)
je 0x1006f7d0
cmp eax, ebx
jge 0x1006f762
xor edx, edx
jmp 0x1006f770
cmp eax, 0xff
mov edx, 0xff
jg 0x1006f770
mov edx, eax
cmp edi, ebx
jge 0x1006f778
xor edi, edi
jmp 0x1006f785
cmp edi, 0xff
jle 0x1006f785
mov edi, 0xff
cmp esi, ebx
jge 0x1006f78d
xor ecx, ecx
jmp 0x1006f79c
cmp esi, 0xff
mov ecx, 0xff
jg 0x1006f79c
mov ecx, esi
cmp ebp, ebx
jge 0x1006f7a4
xor eax, eax
jmp 0x1006f7b3
cmp ebp, 0xff
mov eax, 0xff
jg 0x1006f7b3
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.1003f7d0
add esp, 0x1c
jmp 0x1006f82d
cmp edi, ebx
jge 0x1006f7d8
xor edi, edi
jmp 0x1006f7e5
cmp edi, 0xff
jle 0x1006f7e5
mov edi, 0xff
cmp esi, ebx
jge 0x1006f7ed
xor ecx, ecx
jmp 0x1006f7fc
cmp esi, 0xff
mov ecx, 0xff
jg 0x1006f7fc
mov ecx, esi
cmp ebp, ebx
jge 0x1006f804
xor eax, eax
jmp 0x1006f813
cmp ebp, 0xff
mov eax, 0xff
jg 0x1006f813
mov eax, ebp
push edi
push ecx
push eax
push str._02X_02X_02X
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.1003f7d0
add esp, 0x18
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.1004cb70
push ebx
push ebx
push 6
push 0x40
lea ecx, [esp + 0xcc]
push ecx
push str.Text
call fcn.1006d410
add esp, 0x1c
test al, al
je 0x1006f8d0
mov byte [esp + 0x11], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1006f873
cmp al, 0x20
je 0x1006f873
cmp al, 9
jne 0x1006f878
add ecx, 1
jmp 0x1006f865
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 0x1006f8b3
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 0x101a8d58
push ecx
call fcn.1011c542
add esp, 0x18
jmp 0x1006f8d0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x50]
push edx
push 0x101a8d48
push ecx
call fcn.1011c542
add esp, 0x14
test byte [esp + 0x108], 8
jne 0x1006f8e9
push 1
push str.context
call fcn.1004d690
add esp, 8
call fcn.10048020
fld qword [0x101a3f70]
fldz
fxch st(1)
xor esi, esi
test byte [esp + 0x108], 0x10
jne 0x1006fae7
test byte [esp + 0x108], 0x20
fstp st(0)
jne 0x1006f932
mov eax, dword [esp + 0x24]
fld dword [eax + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10042dd0
fldz
add esp, 8
cmp byte [esp + 0x12], 0
je 0x1006f942
mov ecx, dword [esp + 0x44]
fld dword [ecx + 0xc]
jmp 0x1006f944
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.1006bd70
add esp, 0x14
test al, al
je 0x1006fa41
test bl, 4
jne 0x1006fa41
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 0x101a8d30
mov dword [edi + 0x2be8], edx
call fcn.10052bd0
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 [0x101a6320]
push 0
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x30]
call fcn.10042560
add esp, 0x10
jmp 0x1006fa45
mov edi, dword [esp + 0x24]
test bl, 8
jne 0x1006fa59
push 1
push str.context
call fcn.1004d690
add esp, 8
push 0
push 0x101a8d30
call fcn.100548a0
add esp, 8
test al, al
je 0x1006fadd
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
cmp ecx, eax
mov esi, dword [edi + 0x1994]
je 0x1006fa8d
push eax
push ecx
call fcn.1005b3f0
add esp, 8
call fcn.10058f50
fld dword [esp + 0x6c]
push ecx
fmul qword [0x101a8d28]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.1004cb70
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.1006fcb0
or byte [esp + 0x25], al
add esp, 0x14
call fcn.10048020
call fcn.10052c90
fld qword [0x101a3f70]
fldz
fxch st(1)
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
cmp ebx, edi
je 0x1006fb2a
test byte [esp + 0x108], 0x80
jne 0x1006fb2a
mov edx, dword [esp + 0x24]
fstp st(0)
fld dword [edx + 0x155c]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10042dd0
push edi
push ebx
call fcn.1005b3f0
fld qword [0x101a3f70]
add esp, 0x10
jmp 0x1006fb2c
fstp st(1)
test esi, esi
jne 0x1006fbcd
cmp byte [esp + 0x13], 0
jne 0x1006fb63
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 0x1006fb65
fstp st(0)
cmp dword [esp + 0x70], 0
je 0x1006fb9d
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.10040020
add esp, 0x18
mov bl, byte [esp + 0x11]
test bl, bl
mov edi, dword [esp + 0x44]
je 0x1006fbd7
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 0x1006fbd7
fld dword [esp + 0x34]
fstp dword [edi + 0xc]
jmp 0x1006fbd7
mov bl, byte [esp + 0x11]
fstp st(0)
mov edi, dword [esp + 0x44]
call fcn.10048580
call fcn.1004d360
mov ebp, dword [esp + 0x78]
test byte [ebp + 0x110], 1
je 0x1006fc5d
test dword [esp + 0x108], 0x200
jne 0x1006fc5d
call fcn.1004a010
test al, al
je 0x1006fc5d
push 0
push str._COL3F
call fcn.100438d0
add esp, 8
test eax, eax
je 0x1006fc2b
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 0x101a8ca8
call fcn.100438d0
add esp, 8
test eax, eax
je 0x1006fc58
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
lea edx, [ecx*4]
push edx
push eax
push edi
call fcn.1011a770
add esp, 0xc
mov bl, 1
call fcn.10043b10
test esi, esi
je 0x1006fc7d
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x19b4]
test eax, eax
je 0x1006fc7d
cmp dword [ecx + 0x19d8], esi
jne 0x1006fc7d
mov dword [ebp + 0x10c], eax
test bl, bl
je 0x1006fc90
mov ecx, dword [ebp + 0x10c]
push ecx
call fcn.10040c40
add esp, 4
mov ecx, dword [esp + 0xf8]
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.10118ca0
add esp, 0xec
ret