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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
mov esi, dword [0x100c6d88]
mov dword [esp + 0x14], edx
mov edx, ecx
push edi
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x28], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x7f], 0
je 0x100433d4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 8], 0x10
movss xmm0, dword [esi + 0x1538]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18bc]
movss dword [esp + 0x88], xmm0
je 0x100433fc
xorps xmm3, xmm3
jmp 0x10043407
movaps xmm3, xmm0
addss xmm3, dword [esi + 0x154c]
mov edi, eax
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x16c]
comiss xmm0, xmm2
jbe 0x1004348e
movss xmm4, dword [edi + 0xc8]
movss xmm1, dword [edi + 0x214]
mov ecx, dword [edi + 0x1bc]
subss xmm4, dword [edi + 0xc]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x1004347a
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x3c]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x100b9a58]
maxss xmm2, xmm1
mov dword [esp + 0x68], edx
mov edi, edx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
subss xmm0, dword [0x100b9b14]
movss dword [esp + 0x1c], xmm0
cmp edx, 0xffffffff
jae 0x100434cf
mov al, byte [edi]
test al, al
je 0x100434cb
cmp al, 0x23
jne 0x100434c5
cmp byte [edi + 1], al
je 0x100434cb
inc edi
cmp edi, 0xffffffff
jb 0x100434b6
mov dword [esp + 0x68], edi
call fcn.10025250
mov ecx, dword [esp + 0x3c]
call fcn.10025120
mov ecx, dword [ebp + 8]
mov dword [esp + 0x8c], ecx
test cl, 0x20
je 0x100434fb
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x1004350e
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.100473b0
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x2c00]
test ecx, 0x700000
jne 0x10043525
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10043536
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10043547
mov eax, edx
and eax, 0x6000000
or ecx, eax
and edx, 0xf80fffff
or ecx, edx
mov edx, ecx
mov dword [ebp + 8], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x64], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax]
movss xmm5, dword [eax + 4]
movss xmm1, dword [eax + 8]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x34], xmm1
test dl, dl
je 0x100435af
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x38], xmm0
jmp 0x100435b7
mov dword [esp + 0x38], 0x3f800000
mov eax, ecx
and eax, 0x200000
mov dword [esp + 0x6c], eax
je 0x10043653
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x100435e1
movss xmm4, dword [0x100b9bdc]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x100435fe
movss xmm0, dword [0x100b9bc8]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x34], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100b9adc]
addss xmm0, dword [0x100b9984]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100b9984]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x100b9d10]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm2
movss xmm0, dword [esp + 0x2c]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm2, dword [0x100b9bcc]
movss xmm1, dword [0x100b9a18]
jb 0x10043676
movaps xmm5, xmm1
jmp 0x10043679
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm3, dword [0x100b9b5c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm4
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
jb 0x100436ab
movaps xmm5, xmm1
jmp 0x100436ae
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm4
mov dword [esp + 0x50], esi
jb 0x100436d4
movaps xmm5, xmm1
jmp 0x100436d7
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm4
mov dword [esp + 0x54], edx
jae 0x100436fb
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm3
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
test ecx, 0x300000
je 0x10043b45
test cl, 0x20
jne 0x10043b45
mov edx, dword [esp + 0x40]
movss xmm4, dword [esp + 0x1c]
movaps xmm1, xmm4
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm3, xmm3
movss xmm2, dword [eax + 0x154c]
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100b9a58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x100b9a58]
mulss xmm2, xmm3
movss xmm3, dword [0x100b9bb8]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x84], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100c6d88]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x2c]
push ecx
movss xmm2, dword [ecx + 0x18bc]
mov ecx, dword [ecx + 0x18b8]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x94], xmm1
call fcn.10038530
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x100b9a54]
mov dword [esp + 0x70], 0x100b8c98
mov dword [esp + 0x74], 0x100b8c9c
mov dword [esp + 0x78], 0x100b8ca0
mov dword [esp + 0x7c], 0x100b8ca4
cvttss2si eax, xmm0
mov dword [esp + 0xc0], 0x100b8ca8
mov dword [esp + 0xc4], 0x100b8ca8
mov dword [esp + 0xc8], 0x100b8ca8
mov dword [esp + 0xcc], 0x100b8ca8
mov dword [esp + 0xd0], str.R:_3d
mov dword [esp + 0xd4], str.G:_3d
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
mov dword [esp + 0xd8], str.B:_3d
mov dword [esp + 0xdc], str.A:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xe0], str.H:_3d
mov dword [esp + 0xe4], str.S:_3d
mov dword [esp + 0xe8], str.V:_3d
mov dword [esp + 0xec], str.A:_3d
mov dword [esp + 0x90], str._0.3f
mov dword [esp + 0x94], str._0.3f
mov dword [esp + 0x98], str._0.3f
mov dword [esp + 0x9c], str._0.3f
mov dword [esp + 0xa0], str.R:_0.3f
mov dword [esp + 0xa4], str.G:_0.3f
mov dword [esp + 0xa8], str.B:_0.3f
mov dword [esp + 0xac], str.A:_0.3f
mov dword [esp + 0xb0], str.H:_0.3f
mov dword [esp + 0xb4], str.S:_0.3f
mov dword [esp + 0xb8], str.V:_0.3f
movss xmm0, dword [esp + 0x1c]
xor eax, eax
comiss xmm1, xmm0
mov dword [esp + 0xbc], str.A:_0.3f
jae 0x10043965
cmp dword [esp + 0x6c], eax
setne al
inc eax
mov dword [esp + 0x14], eax
call fcn.10024ab0
xor esi, esi
cmp dword [esp + 0x40], esi
jbe 0x10043ab1
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x28]
and eax, 8
shl dword [esp + 0x14], 4
mov dword [esp + 0x60], eax
nop dword [eax]
test esi, esi
je 0x100439a4
movss xmm1, dword [edi + 0x154c]
xorps xmm0, xmm0
call fcn.10025510
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x40]
jne 0x100439bf
movss xmm0, dword [esp + 0x80]
call fcn.10024ab0
cmp dword [esp + 0x84], 0
je 0x10043a39
cmp byte [esp + 0x64], 0
mov eax, dword [esp + 0x14]
je 0x100439d9
xorps xmm0, xmm0
jmp 0x100439e1
movss xmm0, dword [0x100b9a58]
movss xmm3, dword [0x100b99b8]
mov edx, 4
push ecx
mov ecx, dword [esp + esi*4 + 0x74]
mov dword [esp], 0x3f800000
push dword [esp + eax + 0x94]
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0x3c]
lea eax, [eax + esi*4]
push eax
call fcn.1003d910
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
jmp 0x10043a8e
movss xmm3, dword [0x100b9a58]
xor ecx, ecx
cmp byte [esp + 0x64], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
mov dword [esp + 0x60], eax
xor edx, edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + esi*4 + 0x74]
push dword [esp + eax + 0xc4]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
lea eax, [eax + esi*4]
push eax
call fcn.1003d910
add esp, 0x14
or byte [esp + 0x12], al
cmp dword [esp + 0x60], 0
jne 0x10043a9a
call fcn.100259a0
mov esi, dword [esp + 0x20]
add dword [esp + 0x14], 4
cmp esi, dword [esp + 0x40]
jl 0x10043990
mov edi, dword [esp + 0x68]
mov edx, dword [0x100c6d88]
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x199c]
mov esi, dword [ecx + 0x180]
sub esi, 1
mov dword [ecx + 0x180], esi
jne 0x10043ae2
movss xmm0, dword [ecx + 0x220]
jmp 0x10043aee
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x199c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10043b2c
movss xmm0, dword [ecx + 0x220]
movss dword [ecx + 0x16c], xmm0
jmp 0x10043ceb
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
jmp 0x10043ceb
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x10043cee
cmp byte [esp + 0x44], 0
je 0x10043bc5
mov ecx, dword [esp + 0x20]
mov eax, 0xff
mov dword [esp + 0x60], eax
test ecx, ecx
jns 0x10043b73
xor ecx, ecx
jmp 0x10043b78
cmp ecx, eax
cmovg ecx, eax
test edx, edx
jns 0x10043b80
xor edx, edx
jmp 0x10043b85
cmp edx, eax
cmovg edx, eax
test esi, esi
jns 0x10043b8d
xor esi, esi
jmp 0x10043b92
cmp esi, eax
cmovg esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x10043b9e
xor eax, eax
jmp 0x10043ba8
cmp eax, 0xff
cmovg eax, dword [esp + 0x60]
push ecx
push edx
push esi
push eax
push 0x100b8d2c
lea eax, [esp + 0xd4]
push 0x40
push eax
call fcn.1001a350
add esp, 0x1c
jmp 0x10043c12
mov ecx, 0xff
test edx, edx
jns 0x10043bd2
xor edx, edx
jmp 0x10043bd7
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10043bdf
xor esi, esi
jmp 0x10043be4
cmp esi, ecx
cmovg esi, ecx
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x10043bf0
xor eax, eax
jmp 0x10043bf8
cmp eax, 0xff
cmovg eax, ecx
push edx
push esi
push eax
push 0x100b8d40
lea eax, [esp + 0xd0]
push 0x40
push eax
call fcn.1001a350
add esp, 0x18
movss xmm0, dword [esp + 0x1c]
call fcn.10024ab0
push 0
push 0
push 6
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0x40
lea edx, [esp + 0xd4]
mov dword [esp + 0x38], 0
mov ecx, str.Text
call fcn.1003ff30
add esp, 0x14
test al, al
je 0x10043cdb
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xc0]
mov al, byte [ecx]
cmp al, 0x23
je 0x10043c70
cmp al, 0x20
je 0x10043c70
cmp al, 9
jne 0x10043c73
inc ecx
jmp 0x10043c62
cmp byte [esp + 0x44], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
je 0x10043cbe
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10018a00
add esp, 0x18
jmp 0x10043cdb
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
push eax
push str._02X_02X_02X
push ecx
call fcn.10018a00
add esp, 0x14
test byte [ebp + 8], 8
jne 0x10043ce6
call fcn.100259a0
call fcn.10024b30
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], esi
test cl, 0x10
jne 0x10043e94
mov esi, dword [esp + 0x28]
test cl, 0x20
jne 0x10043d19
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.10025510
mov ecx, dword [ebp + 8]
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x18]
je 0x10043d2b
movss xmm1, dword [eax + 0xc]
jmp 0x10043d33
movss xmm1, dword [0x100b9a58]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm1
call fcn.10046ac0
add esp, 0xc
test al, al
mov eax, dword [ebp + 8]
je 0x10043e04
test al, 4
jne 0x10043e04
movups xmm0, xmmword [esp + 0x70]
mov ecx, 0x100b8d8c
movups xmmword [esi + 0x2c04], xmm0
call fcn.100257e0
mov eax, dword [esp + 0x48]
movss xmm0, dword [esi + 0x1548]
movss xmm1, dword [eax + 0x114]
addss xmm0, dword [eax + 0x120]
mov eax, dword [0x100c6d88]
subss xmm1, dword [0x100b9a58]
movss dword [eax + 0x1a60], xmm0
mov dword [eax + 0x1a64], 0
movss dword [eax + 0x1a5c], xmm1
mov dword [eax + 0x1a68], 0
mov dword [eax + 0x1a40], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x10043e0d
call fcn.100259a0
mov ecx, 0x100b8d8c
call fcn.10025cb0
test al, al
je 0x10043e8f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x199c]
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x10043e3b
mov edx, edi
mov ecx, eax
call fcn.10039c70
call fcn.1003c6a0
movss xmm0, dword [esp + 0x88]
mulss xmm0, dword [0x100b9aec]
call fcn.10024ab0
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x2c04]
push eax
mov eax, dword [esp + 0x90]
mov ecx, str.picker
and eax, 0x7890002
or eax, 0x740080
push eax
call fcn.10044650
or byte [esp + 0x1a], al
add esp, 8
call fcn.10024b30
call fcn.10025d60
mov esi, dword [esp + 0x14]
jmp 0x10043e91
xor esi, esi
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x3c], edi
je 0x10043ebd
test cl, cl
js 0x10043ebd
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.10025510
mov ecx, dword [esp + 0x3c]
mov edx, edi
call fcn.10039c70
test esi, esi
jne 0x10043f4b
cmp byte [esp + 0x13], 0
jne 0x10043ee0
movups xmm0, xmmword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100b9ce0]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esp + 0x6c], 0
je 0x10043f0e
movss xmm2, dword [esp + 0x34]
lea eax, [esp + 0x34]
movss xmm1, dword [esp + 0x30]
lea edx, [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push eax
call fcn.1001ae60
add esp, 4
cmp byte [esp + 0x12], 0
je 0x10043f4b
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x2c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 8], xmm0
je 0x10043f4b
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x100c6d88]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1c0]
call fcn.10025380
mov edi, dword [esp + 0x48]
test byte [edi + 0x110], 1
je 0x100440b0
test dword [ebp + 8], 0x200
jne 0x100440b0
mov esi, dword [0x100c6d88]
cmp byte [esi + 0x1c78], 0
je 0x1004406a
mov ecx, dword [esi + 0x199c]
test byte [ecx + 0x110], 1
je 0x1004406a
mov edx, dword [esi + 0x19a0]
test edx, edx
je 0x1004406a
mov eax, dword [ecx + 0x2f0]
cmp eax, dword [edx + 0x2f0]
jne 0x1004406a
test byte [ecx + 0x110], 2
mov eax, 0x114
mov edi, 0x124
cmove edi, eax
mov eax, dword [ecx + 0x10c]
add edi, ecx
test eax, eax
jne 0x10043feb
push edi
call fcn.1001c820
cmp dword [esi + 0x1c90], eax
je 0x10044066
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1cd0], eax
mov byte [esi + 0x1c79], 1
movups xmmword [esi + 0x1cc0], xmm0
call fcn.1002a420
mov esi, dword [esp + 0x18]
test eax, eax
je 0x10044031
mov eax, dword [eax]
mov byte [esp + 0x12], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.1002a420
mov ecx, eax
test ecx, ecx
je 0x10044059
mov eax, dword [esp + 0x40]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.10056e20
add esp, 0xc
mov byte [esp + 0x12], 1
mov esi, dword [0x100c6d88]
mov byte [esi + 0x1c79], 0
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1004408e
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x19bc]
test edx, edx
je 0x1004408e
cmp dword [eax + 0x19e4], ecx
jne 0x1004408e
mov dword [edi + 0x10c], edx
mov al, byte [esp + 0x12]
test al, al
je 0x100440aa
mov ecx, dword [esi + 0x199c]
mov byte [esi + 0x19cf], 1
or dword [ecx + 0x110], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100c6d88]
jmp 0x1004406a